Commit graph

51 commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen
33b9417a25 Improve asteroids keyboard input handling. 2014-03-31 19:40:09 +02:00
Jonas 'Sortie' Termansen
c12c429c3e Use libm in asteroids. 2013-12-17 14:30:39 +01:00
Jonas 'Sortie' Termansen
a15ffa955b Obsolete uptime(2). 2013-12-17 14:30:34 +01:00
Jonas 'Sortie' Termansen
90036ca6a8 Update copyright headers of old files to the current format. 2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
eb5be61d20 Fix trailing blank lines. 2013-12-17 14:30:23 +01:00
Jonas 'Sortie' Termansen
7eb9e3c33f Refactor Sortix build system and de-autoconf mxmpp. 2013-12-17 14:30:22 +01:00
Jonas 'Sortie' Termansen
6daa7ee8fe Port conway to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
872954b364 Port snake to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
b99fd83d9a Port pong to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
53a254384e Port asteroids to dispd. 2013-09-24 17:09:48 +02:00
Jonas 'Sortie' Termansen
ed6d4f82bb Fix games compile warnings. 2013-07-09 20:28:55 +02:00
Jonas 'Sortie' Termansen
7e05129023 Seek to 0 before writing to /dev/vga. 2012-12-14 14:13:37 +01:00
Jonas 'Sortie' Termansen
fd256bbb51 Remove ReadParamString implementation from asteroids. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
6ce762aac4 Replace Maxsi::String::Seek with strchr. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
2206412e14 Replace Maxsi::String::Reject with strcspn. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
02a711befb Replace Maxsi::String::Accept with strspn. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
e5cf6c18f7 Replace Maxsi::String::Compare with strcmp. 2012-12-14 14:13:35 +01:00
Jonas 'Sortie' Termansen
6529af1f57 Remove <libmaxsi/sortix-vga.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
5d082b3bbb Replace Maxsi::Error:: with <errno.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
42754f1728 Replace ASSERT with assert of <assert.h>. 2012-12-14 14:13:34 +01:00
Jonas 'Sortie' Termansen
9cf092d32e Use cross compiler in build system. 2012-12-14 14:13:33 +01:00
Jonas 'Sortie' Termansen
27b865e6c2 Remove pong dependencies on libmaxsi. 2012-09-12 12:20:21 +02:00
Jonas 'Sortie' Termansen
068e855d15 Fix trailing whitespace in asteroids.
Required by release procedure.
2012-09-10 12:29:30 +02:00
Jonas 'Sortie' Termansen
5209258de0 Fix asteroids compile warnings. 2012-09-09 13:34:48 +02:00
Jonas 'Sortie' Termansen
0b1c515790 Made smarter bots. 2012-09-09 13:34:48 +02:00
Jonas 'Sortie' Termansen
45f8bb1fa1 Pressing B spawns a stupid AI controlled spaceship. 2012-09-09 13:34:48 +02:00
Jonas 'Sortie' Termansen
e1ddf82ba7 TMP asteroids stuff 2012-09-09 13:34:48 +02:00
Steve Dougherty
043ceed621 Add firework weapon fired on left control. 2012-09-09 13:34:48 +02:00
Steve Dougherty
46efe8923f Missiles add spaceship vel; point in direction fired.
This issue was visible as crooked missiles when firing in a direction other
than that of travel, and being able to keep pace with fired missiles.
2012-09-09 13:34:48 +02:00
Jonas 'Sortie' Termansen
a1c106ce1c Early prototype of an asteroids game.
asteroids(1) now uses chvideomode(1) if no driver is active.

Made the asteroids game object oriented.

Added asteroids to ateroids(1).

uptime(2) in asteroids.
2012-09-09 13:34:48 +02:00
Jonas 'Sortie' Termansen
8595ec83da Print error if running VGA game in graphics mode. 2012-09-08 22:46:20 +02:00
Jonas 'Sortie' Termansen
46d02b784b Fix compile warnings in userspace programs. 2012-09-08 20:55:43 +02:00
Jonas 'Sortie' Termansen
d855c6cec7 Add warnings to userspace compile flags. 2012-09-08 20:33:52 +02:00
Jonas 'Sortie' Termansen
9ab0bc5474 Added {,p}{read,write}{all,least}(3). 2012-03-24 15:34:30 +01:00
Jonas 'Sortie' Termansen
db79994e64 Refactored all the sortix headers into a include directory.
Also got rid of trailing white space. That corrupted .git/.

Big ass-commit because of recovered .git directory.
2012-03-22 00:52:29 +01:00
Jonas 'Sortie' Termansen
dc0f78f6b7 Added copyright headers to benchmarks, games and utilities.
It's all GPLv3 or later.
2012-03-11 15:57:13 +01:00
Jonas 'Sortie' Termansen
c4264d9c2a Ported the user-space programs to use stdin for keyboard access.
The old keyboard API is hereby deprecated and unused.
2012-02-10 13:46:26 +01:00
Jonas 'Sortie' Termansen
8be3624ca3 Added auto-completion to snake for debugging purposes. 2011-12-06 14:18:15 +01:00
Jonas 'Sortie' Termansen
d9205a59df The games now use the error(3) function. 2011-12-04 15:04:06 +01:00
Jonas 'Sortie' Termansen
965f3e3dbf Pong no longer shakes as much the first few frames. 2011-11-28 11:48:02 +01:00
Jonas 'Sortie' Termansen
b6a0fd0374 Removed deprecated VGA API and moved it to /dev/vga. 2011-11-25 13:38:31 +01:00
Jonas 'Sortie' Termansen
5bde040295 Fixed randomness-related crash in snake. 2011-11-17 13:11:09 +01:00
Jonas 'Sortie' Termansen
c5605b6693 Pong and snake now use rand(3). 2011-11-10 12:28:35 +01:00
Jonas 'Sortie' Termansen
29a1b68933 Added --speed <ms>, --help, and --usage to conway. 2011-11-09 23:54:35 +01:00
Jonas 'Sortie' Termansen
c705bf39ff Ported kernel to new syscall API and started cleaning up the old one. 2011-10-27 00:20:28 +02:00
Jonas 'Sortie' Termansen
cc61176e5b Restored support for JSSortix using very ugly hacks. :( 2011-09-08 11:10:41 +02:00
Jonas 'Sortie' Termansen
8a085f6fa0 Added the game snake. 2011-09-07 12:20:28 +02:00
Jonas 'Sortie' Termansen
ebedeeae89 Pong now shows the score on its UI. 2011-09-06 16:16:44 +02:00
Jonas 'Sortie' Termansen
7037b2f002 Userspace program's makefiles now properly delete from initrd/. 2011-09-06 15:55:56 +02:00
Jonas 'Sortie' Termansen
0b373050f2 Added conway's game of life. 2011-08-29 00:09:37 +02:00