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
(outdated-message)
(https://bitbucket.org/giszmo/glob2 again)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:


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-new/?f=983c6bea60a3;file=doc/main%20engine%20loop.txt;style=raw doc/main engine loop.txt]
* To have an idea of the main loop : [https://bitbucket.org/giszmo/glob2/src/8d2f3a39946a/doc/main%20engine%20loop.txt 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-new/?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 doc/sourceCodeUnderstanding.txt file in glob2's [[Mercurial]]
* 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 an idea of '''unit allocation''' doc/unitAllocationUnderstanding.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 a list of all '''capitals quick comments''' , read doc/sourceCodeTagging.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]
* To have an overview of the `BuildingType system, read 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-new/?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 doc/YOGUnderstanding.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 have a '''quick summary of the unit''', read doc/unit.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]
* To understand how '''building with connecting capabilities (like walls) are ordered''', read 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.


[[Category:en]]

[[Category:Developer Resources]]
[[Category:Developer Resources]]

Latest revision as of 19:38, 4 October 2012

outdated content: most of the following referenced documents are outdated

You can start understanding the code by:

  • To have an idea of the main loop : doc/main engine loop.txt
  • To have an overview of the glob2's class structure, you can begin by reading the doc/sourceCodeUnderstanding.txt file in glob2's Mercurial
  • To have an idea of unit allocation doc/unitAllocationUnderstanding.txt
  • To have a list of all capitals quick comments , read doc/sourceCodeTagging.txt
  • To have an overview of the `BuildingType system, read doc/BuildingType.txt
  • 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 doc/YOGUnderstanding.txt
  • To have a quick summary of the unit, read doc/unit.txt
  • To understand how building with connecting capabilities (like walls) are ordered, read doc/wall.txt
  • The scripting language thread on the mailing list threw up a few interesting points about SGSL. Noteably, these two posts by nct.
  • This thread on the mailing list has some discussion of map-related functions.
Misc