Post edit history
AI build
Before | After | ||
---|---|---|---|
1 | I don't screw around with scope much. My recollection is that each gadget file is its own scope. I avoid having files reference anything from another file that isn't either a return value or inserted in to a global table (usually Spring. or GG.). | 1 | I don't screw around with scope much. My recollection is that each gadget file is its own scope. I avoid having files reference anything from another file that isn't either a return value or inserted in to a global table (usually Spring. or GG.). |
2 | \n | ||
3 | I mostly wrote CAI in a week or two around mid 2010. As such the code is pretty bad. I don't recall going back to it and being repelled by the structure, so perhaps the structure is ok. I started working on CAI 2, with features such as pathfinding, and the code for it is still hanging around. |