
For you guys who want to see the code I put it up on my site for you to download. (EDIT: Forgot to mention you need to have the SDL and SDL-development libraries installed to compile and run this code.)
http://expert.ics.purdue.edu/~olsent/al ... lacrost.cc
(the following 4 files should go in a directory called "img" that is a sub directory of the directory allacrost.cc is placed)
http://expert.ics.purdue.edu/~olsent/al ... 12_800.jpg
http://expert.ics.purdue.edu/~olsent/al ... 2_1024.jpg
http://expert.ics.purdue.edu/~olsent/al ... ect800.jpg
http://expert.ics.purdue.edu/~olsent/al ... ct1024.jpg
(EDIT; crap completely forgot to give you guys the command to compile it! The ` are backticks. Look at your tilde key.)
Code: Select all
g++ allacrost.cc -o allacrost `sdl-config --cflags --libs` -lSDL_image
Code: Select all
screen = SDL_SetVideoMode(800, 600, 24, SDL_ANYFORMAT);
// change this line (which occurs multiple times) to:
screen = SDL_SetVideoMode(800, 600, 24, SDL_ANYFORMAT | SDL_FULLSCREEN);
- New Game
Load Game (this is the default command highlighted)
Options (for changing screen resolution and key commands)
Credits (for us ^^)
Full Screen (hides the menu so the user can see the beautiful splash screen completely)
