From NEAT Portal Wiki
(overview of development process) |
(→Code Structure) |
||
Line 17: | Line 17: | ||
# Email patch to one of the main developers. | # Email patch to one of the main developers. | ||
− | == | + | == Code Structure == |
+ | |-- media --/ mp3 files for alerts, warnings, etc | ||
+ | | | ||
+ | |-- fonts --/ portable non-system fonts | ||
+ | | | ||
+ | |-- html-templates/ ??? | ||
+ | | | ||
+ | |-- libs --/ libraries needed to compile | ||
+ | | | ||
+ | |-+-+- src --/ | ||
+ | | |-- AutoEvony.mxml -- what you modify to enhance the "command" window | ||
+ | | \-- config.xml -- You might need to modify this for a new project | ||
+ | | | ||
+ | |-- images --/ | ||
+ | | | ||
+ | |-- com --/ communication routines and template response objects | ||
+ | | | ||
+ | |-+ autoevony --/ | ||
+ | | | ||
+ | |-- common --/ utility classes and constants | ||
+ | | | ||
+ | |-- event --/ | ||
+ | | | ||
+ | |-- gui --/ | ||
+ | | | ||
+ | |-- net --/ | ||
+ | | | ||
+ | |-- player --/ | ||
+ | | | ||
+ | |-- scripts --/ | ||
+ | | \--- CityState.as -- what you modify to enhance scripting | ||
+ | | | ||
+ | |-- management --/ | ||
+ | \--- CityManager.as -- What you modify to enhance the goal-operations | ||
== TBD == | == TBD == |
Revision as of 16:09, 3 June 2011
What you Need
- Mercurial ("hg") version control system.
- Flash Compiler (ie, FlexBuilder 4.5)
- Future: Zinc
Accessing the Code
- Send a PM (private message) to StayDawg
- "Pull" the source to your computer or online hg respository
- hg clone repositoryURL
- Do an "update" if it's been a while since the last clone:
- hg update
- Make changes
- Test your code
- Document your code why it does it, how it does it, and how you have tested it, and how you know it won't break any existing functionality.
- Create a "diff" from your "working set"
- hg diff >my_descriptive_patch.patch
- Email patch to one of the main developers.
Code Structure
|-- media --/ mp3 files for alerts, warnings, etc | |-- fonts --/ portable non-system fonts | |-- html-templates/ ??? | |-- libs --/ libraries needed to compile | |-+-+- src --/ | |-- AutoEvony.mxml -- what you modify to enhance the "command" window | \-- config.xml -- You might need to modify this for a new project | |-- images --/ | |-- com --/ communication routines and template response objects | |-+ autoevony --/ | |-- common --/ utility classes and constants | |-- event --/ | |-- gui --/ | |-- net --/ | |-- player --/ | |-- scripts --/ | \--- CityState.as -- what you modify to enhance scripting | |-- management --/ \--- CityManager.as -- What you modify to enhance the goal-operations