Initial setup of a CVS repository for writing PS2 Linux games in


git-svn-id: svn://svn.tartarus.org/sgt@1789 cda61777-01e9-0310-a592-d414129be87e
Improve the SDL-access module and add a header file for it.


git-svn-id: svn://svn.tartarus.org/sgt@1790 cda61777-01e9-0310-a592-d414129be87e
Module containing the BBC MODE 0/1/2 font, for porting my old Beeb
games with :-)


git-svn-id: svn://svn.tartarus.org/sgt@1791 cda61777-01e9-0310-a592-d414129be87e
Nort is now capable of playing what appears to be a fully working
game with accelerate, brake and rifle. Bomb is implemented though
not currently accessible. Controller button mappings will need some
work!


git-svn-id: svn://svn.tartarus.org/sgt@1792 cda61777-01e9-0310-a592-d414129be87e
All game features from the original Tron.S are now implemented. Now
all we need is a front end for game setup, weapons selection and
score-keeping.


git-svn-id: svn://svn.tartarus.org/sgt@1793 cda61777-01e9-0310-a592-d414129be87e
Added a front end. Nort is now believed working and ready for
play-testing.


git-svn-id: svn://svn.tartarus.org/sgt@1794 cda61777-01e9-0310-a592-d414129be87e
Ben's feature request: we can now configure whether the _enemy_
trail is fatal as well as the player's own. So you can play with
only your own trail fatal, or even with no trails fatal at all to
make it a weapons-only game. Bye-bye the last vestige of Tronhood!
:-)


git-svn-id: svn://svn.tartarus.org/sgt@1865 cda61777-01e9-0310-a592-d414129be87e
Add the `-n' command line switch to remove the `Exit Nort' option
from the game main menu. Intended for running standalone on non-HD-
enabled PS2s. When testing on a full-featured Linux system, hitting
ESC still quits.


git-svn-id: svn://svn.tartarus.org/sgt@1866 cda61777-01e9-0310-a592-d414129be87e
Improve ergonomics of game start/end sequence, to prevent initial
acceleration and also prevent accidental starting of games.


git-svn-id: svn://svn.tartarus.org/sgt@1867 cda61777-01e9-0310-a592-d414129be87e
Two independently movable selections on main menu to prevent race
conditions. Also fixed a subtle bug in game start protocol (if a
player has Start pressed _before_ entering the game start screen,
their button-up and button-down can be counted in the wrong order,
which is the Wrong Thing).


git-svn-id: svn://svn.tartarus.org/sgt@1868 cda61777-01e9-0310-a592-d414129be87e
Useful Makefile mods: use $(CC) instead of gcc (so I can experiment
with `diet gcc' and suchlike), and introduce a `make clean' target.


git-svn-id: svn://svn.tartarus.org/sgt@1869 cda61777-01e9-0310-a592-d414129be87e
Fix the bug whereby pressing Start or Select during weapons
selection caused an array overrun and game memory corruption.


git-svn-id: svn://svn.tartarus.org/sgt@1870 cda61777-01e9-0310-a592-d414129be87e
Introduce support for setting dy as well as dx; also introduce the
ability to geEt hold of an fd on /dev/ps2gs even when it's already
been opened by SDL (so the exclusion semantics prevent re-opening).
Method is hideous, involving trawling /proc/self/fd and reading
symlinks to find an existing fd that points at the right device.


git-svn-id: svn://svn.tartarus.org/sgt@1871 cda61777-01e9-0310-a592-d414129be87e
Introduce a `screen adjust' option on the game main menu, to deal
with weird display offsets on people's TVs. Irritating, since `real'
PS2 games seem able to Just Work on this score. I wonder if there's
a better way to handle it which I don't know about. (If there is,
chances are the PS2 Linux developers didn't know it either...)


git-svn-id: svn://svn.tartarus.org/sgt@1872 cda61777-01e9-0310-a592-d414129be87e
MIT licence, of course


git-svn-id: svn://svn.tartarus.org/sgt@1875 cda61777-01e9-0310-a592-d414129be87e
Make all of Nort's internal symbols static, leaving only main()
declared externally. When I write another game to go with Nort, I
will arrange that all games can be linked into one binary (to save
on copies of libc when linked statically to go on a PS2 memory
card), so I need to take drastic measures now to prevent symbol
clash in the future.


git-svn-id: svn://svn.tartarus.org/sgt@1876 cda61777-01e9-0310-a592-d414129be87e
Initial checkin of Sumo, pretty much translated line by line from
the original Borland Pascal source (except that I've rebased all the
arrays from 1 to 0 in accordance with C idiom :-). Seems to run
basically all right, though it needs some PS2 niceties adding.


git-svn-id: svn://svn.tartarus.org/sgt@1877 cda61777-01e9-0310-a592-d414129be87e
Administrivia: add a .cvsignore and a todo list.


git-svn-id: svn://svn.tartarus.org/sgt@1878 cda61777-01e9-0310-a592-d414129be87e
Excessively painful timing hack to work around the lack of double
buffering. I wish I knew how to get SDL to provide real DB; it works
so much better.


git-svn-id: svn://svn.tartarus.org/sgt@1879 cda61777-01e9-0310-a592-d414129be87e
Excessively over-engineered code to automate the rendering of the
irregular swash font used in Sumo. Mmmm, magic global optimisers.


git-svn-id: svn://svn.tartarus.org/sgt@1883 cda61777-01e9-0310-a592-d414129be87e