MG/Project Structure

From MegaGlest
Revision as of 20:55, 11 February 2011 by Hofmic (talk) (Removed fixed width so it displas correctly)
Jump to: navigation, search

The following is a description of the next level of folders under trunk (which is usually the same for each release or branch):

Folder Description
data Contains game data content like models, textures, xml files, etc which the game loads as required. This is where modders would play most of the time.
data/glest_game/data/core Core game data such as menu textures and sounds
data/glest_game/data/lang Language files translated into your native tongue (feel free to contribute)
data/glest_game/maps Map files (these are the world definition to play the game in)
data/glest_game/scenarios Scenario files (LUA scripting for story mode)
data/glest_game/screens This is the folder where screenshots are saved when users press the E hotkey in game
data/glest_game/techs Tech Trees which contains selected faction definitions (XML, G3D, OGG, etc)
data/glest_game/tilesets Tileset files (this defines how the terrain should look, grassy, sandy, forest, etc)
data/glest_game/tutorials Tutorial files (this is where beginners should start to learn how to play)
docs Contains various readme files, license agreements, etc. This is a good place to start reading for developers.
mk This is where platform specific project files are kept. Currently there are folders for linux and windoze (spelling mistake on purpose )
mk/linux Linux project files (using perforce JAM)
mk/windoze Windows project files (using Visual Studio 2008 Express)
source All source code for the project lives inside here.
source/configurator A deprecated tool used to modify game settings
source/g3d_viewer A tool for G3D model and particle file viewing
source/glest_map_editor A tool for editing *.gbm (Glest) and *.mgm (Mega-Glest) map files
source/masterserver PHP source code for our hosted masterserver
source/shared_lib C / C++ shared library code used in Mega-Glest and some of the tools above
source/glest_game C / C++ Mega-Glest game code
source/win32_deps C / C++ dependencies for Windows Compilation