This is some stuff I put together to try & teach myself C++. It uses Shawn Hargreaves' Allegro Game library
for the DJGPP version of the GNU cpp compiler. If you follow the link on the home page to Shawn's site, there is
a link there to D J Delorie's site and djgpp. Note that if you want to download either or both of these, try ftp from
your nearest SimTel mirror site - this will be MUCH quicker.
The source code ain't pretty, but it isn't meant to be. There is also an insidious bug somewhere, probably due to the
aforementioned ugly source - I hope to eliminate it one of these days when I learn some more (ie I'll rewrite it from the ground up if I could be bothered). If you look at the source code you will note the really bad collision detection stuff
based on a sorted list (actually I reckon the concept is pretty good, but the implementation of the sorted list ain't real
flash - I wrote that part long before I learnt about inheritance or templates).
22 August - I cleaned up the list iteration stuff a bit and got A HUGE improvement in speed. It's a bit of a kludge because of having a pointer to current and not checking or updating this on delete or add, but for running through a list it works fine.
Because fortunecity won't accept files 1Mb I split it into two. (How's that for lateral thinking?).
#1 - The executable ge.exe (ge.zip)
#2 - Data files for picture, sounds & music, & the source code (GameEdit.zip)
#3 - not really related - I wrote these little utilities years ago in Mix Power C. MSDos's Find is an
absolutely shitful utility, so I wrote MFIND.EXE to find a string in a source file or files
then I wrote MFR.EXE to find & replace. They are pretty crude, but they work.
A lot of the graphics I got from Ari Feldman's Sprite Library (thanx, Ari).
Here are some screen shots
#1 - Game Mode - Diagnostics on
#2 Edit Mode - Zoomed out
#3 Slightly different view - Edit mode - Zoomed out