
Here's the source code for Bomber Command, which you should go download and play now if you haven't already. The code's pretty tangled, and its primary worth is just to view the various bits of physics being used in there, most of which can be found in
game.c:fireShot() or comp.c. Note there are a couple compX.c files. These are various different methods of AI I was trying and stuff like that. If you do want to compile it, you're going to need Allegro & DJGPP (links on links page). You're also going to need my flicker free library, the archive & instructions on how to use this can be found in the GWar source.
Download
(27 k)
If you have questions, feel free to ask me.
|