Compiling "Crailin's Adventure Game Engine" with Code::Blocks

Crailin's Adventure Game Engine (CAGE) is a 3d adventure game engine written in c. This game engine is mostly source code that when compiled creates a game. It is a template that can be morphed into what you want.

This game engine is just a windows application that doesn't need openGL, directX, or sdl, but you can change windows bitblt to openGL graphics or anything else to make it work on different machines.

Here is a howto on compiling the game engine with code::blocks.

If you have linux:
Setup Code::Blocks to use the Cross Compiler (MingW32)
http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers


To compile something simple first:

Go to [File] -> New -> Project...
Select "Empty Project" and click Go
Project Title:
"07 simpleMeshLoader"
Folder to create the project in:
Locate the game engine and go to "Documentation", "Game Engine Reverse Engineered" 
Click Next
Make sure to select the correct compiler.
You can change the compiler by going to [Project] -> build options

Go to [Project] -> Add files...
Open main.c, mirrorGirl.h and mirrorGirl.c
Select Debug and Release -> OK

Go to [Build] -> Build


To compile the main game:

Go to [File] -> New -> Project...
Select "Empty Project" and click Go
Project Title:
"CAGEv1_06" or what the folder is called
Folder to create the project in:
-where the folder is located-
Click Next
Make sure to select the correct compiler.
You can change the compiler by going to [Project] -> build options

Go to [Project] -> Add files...
Select all the .c, .h, .rc and .ico files (Do Not select scene0.c, scene1.c, scene2.c, or scene3.c)
Select Debug and Release -> OK

Go to [Project] -> Add files...
Select all .c and .h files in the renderer folder
Select Debug and Release -> OK

Go to [Project] -> Add files...
Select all .c and .h files in the meshes folder (No need to select any *Poly.* file)
No need to go into the polyToLine folder
Select Debug and Release -> OK

Go to [Build] -> Build