Free and Open Source real time strategy game with a new take on micro-management

Difference between revisions of "Source Understanding Guide"

From Globulation2

Jump to: navigation, search
Line 3: Line 3:


You can start understanding the code by:
You can start understanding the code by:
* To have an idea of the main loop : [http://hg.globulation2.org/glob2/?f=983c6bea60a3;file=doc/main%20engine%20loop.txt;style=raw doc/main engine loop.txt]
* To have an idea of the main loop : [http://hg.globulation2.org/glob2-new/?f=983c6bea60a3;file=doc/main%20engine%20loop.txt;style=raw doc/main engine loop.txt]
* To have an overview of the glob2's '''class structure''', you can begin by reading the [http://hg.globulation2.org/glob2/?f=e6e6e7d3cc19;file=doc/sourceCodeUnderstanding.txt doc/sourceCodeUnderstanding.txt] file in glob2's [[Mercurial]]
* To have an overview of the glob2's '''class structure''', you can begin by reading the [http://hg.globulation2.org/glob2-new/?f=e6e6e7d3cc19;file=doc/sourceCodeUnderstanding.txt doc/sourceCodeUnderstanding.txt] file in glob2's [[Mercurial]]
* To have an idea of '''unit allocation''' [http://hg.globulation2.org/glob2/?f=e6e6e7d3cc19;file=doc/sourceCodeUnderstanding.txt;style=raw doc/unitAllocationUnderstanding.txt]
* To have an idea of '''unit allocation''' [http://hg.globulation2.org/glob2-new/?f=e6e6e7d3cc19;file=doc/sourceCodeUnderstanding.txt;style=raw doc/unitAllocationUnderstanding.txt]
* To have a list of all '''capitals quick comments''' , read [http://hg.globulation2.org/glob2/?f=5054da85c369;file=doc/sourceCodeTagging.txt;style=raw doc/sourceCodeTagging.txt]
* To have a list of all '''capitals quick comments''' , read [http://hg.globulation2.org/glob2-new/?f=5054da85c369;file=doc/sourceCodeTagging.txt;style=raw doc/sourceCodeTagging.txt]
* To have an overview of the `BuildingType system, read [http://hg.globulation2.org/glob2/?f=c9ae4c08c20d;file=doc/BuildingType.txt;style=raw doc/BuildingType.txt]
* To have an overview of the `BuildingType system, read [http://hg.globulation2.org/glob2-new/?f=c9ae4c08c20d;file=doc/BuildingType.txt;style=raw doc/BuildingType.txt]
* For a listing of all the BuildingType INT's read [[BuildingSourceInts]]
* For a listing of all the BuildingType INT's read [[BuildingSourceInts]]
* To have an insight on how the actual YOG system works, and to understand the complexity of FW/NAT passing, read [http://hg.globulation2.org/glob2/?f=b867c6aa80f1;file=doc/YogUnderstanding.txt;style=raw doc/YOGUnderstanding.txt]
* To have an insight on how the actual YOG system works, and to understand the complexity of FW/NAT passing, read [http://hg.globulation2.org/glob2-new/?f=b867c6aa80f1;file=doc/YogUnderstanding.txt;style=raw doc/YOGUnderstanding.txt]
* To have a '''quick summary of the unit''', read [http://hg.globulation2.org/glob2/?f=1038e802c715;file=doc/unit.txt;style=raw doc/unit.txt]
* To have a '''quick summary of the unit''', read [http://hg.globulation2.org/glob2-new/?f=1038e802c715;file=doc/unit.txt;style=raw doc/unit.txt]
* To understand how '''building with connecting capabilities (like walls) are ordered''', read [http://hg.globulation2.org/glob2/?f=3c9b252d2437;file=doc/wall.txt;style=raw doc/wall.txt]
* To understand how '''building with connecting capabilities (like walls) are ordered''', read [http://hg.globulation2.org/glob2-new/?f=3c9b252d2437;file=doc/wall.txt;style=raw doc/wall.txt]
* The [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00042.html scripting language] thread on the mailing list threw up a few interesting points about SGSL. Noteably, [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00063.html these] [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00085.html two] posts by nct.
* The [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00042.html scripting language] thread on the mailing list threw up a few interesting points about SGSL. Noteably, [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00063.html these] [http://lists.nongnu.org/archive/html/glob2-devel/2005-05/msg00085.html two] posts by nct.
* [http://lists.gnu.org/archive/html/glob2-devel/2005-07/msg00014.html This thread] on the mailing list has some discussion of map-related functions.
* [http://lists.gnu.org/archive/html/glob2-devel/2005-07/msg00014.html This thread] on the mailing list has some discussion of map-related functions.

Revision as of 16:59, 2 January 2009

Right now only a copy pasted of old wiki, we have to improve this. Eventually this page will disappear as all documentation will be included in the doxygen autogenerated doc. --Nct 03:49, 18 December 2005 (PST)

You can start understanding the code by:

Misc