Jonas 'Sortie' Termansen
322c8317d6
Fix non-throwing operator new failure checks being optimized away.
2022-04-26 01:08:19 +02:00
Jonas 'Sortie' Termansen
2b72262b4f
Relicense Sortix to the ISC license.
...
I hereby relicense all my work on Sortix under the ISC license as below.
All Sortix contributions by other people are already under this license,
are not substantial enough to be copyrightable, or have been removed.
All imported code from other projects is compatible with this license.
All GPL licensed code from other projects had previously been removed.
Copyright 2011-2016 Jonas 'Sortie' Termansen and contributors.
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2016-03-05 22:21:50 +01:00
Jonas 'Sortie' Termansen
f0470869a9
Convert aquatinspitz to C.
2016-03-03 23:02:23 +01:00
Jonas 'Sortie' Termansen
c8bbd6e0aa
Restore terminal when games quit.
2016-01-25 16:30:43 +01:00
Jonas 'Sortie' Termansen
8e86952abf
Add aquatinspitz(1).
2016-01-07 17:22:35 +01:00
Jonas 'Sortie' Termansen
211bc0c5f2
Clean up asteroids.
2015-08-26 18:10:24 +02:00
Jonas 'Sortie' Termansen
2586685061
Ongoing build system maintainance.
2014-12-02 17:09:28 +01:00
Jonas 'Sortie' Termansen
c56daca682
Use arc4random(3) in asteroids(1).
2014-11-28 13:35:52 +01:00
Jonas 'Sortie' Termansen
0e577950c0
Remove conway, pong and snake games.
...
These games were poorly written and didn't work in graphics mode as they
required a vga text mode backend. It's less of a maintenance burden to just
remove them as that means the dispd vga text mode support can be deleted.
2014-11-26 23:34:14 +01:00
Jonas 'Sortie' Termansen
87be32b948
Remove obsolete uninstall Makefile target from projects.
2014-11-24 21:32:24 +01:00
Jonas 'Sortie' Termansen
9e6148f6ff
Refactor default compiler options logic.
2014-11-24 17:10:50 +01:00
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