Glest Game

From MegaGlest
Revision as of 05:51, 22 June 2007 by Hailstone3 (talk) (New page: This information relates to the source in the glest_main directory. The code is then organised into different folders; ai, game etc. Execution begins in the main/main.cpp file, specified ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This information relates to the source in the glest_main directory. The code is then organised into different folders; ai, game etc.

Execution begins in the main/main.cpp file, specified by MAIN_FUNCTION(Glest::Game::glestMain); This tells the compiler that Glest::Game::glestMain function is the main function.

You have 2 design patterns at the beginning, singleton and [state http://en.wikipedia.org/wiki/State_pattern].