Civ 4 is written with Hungarian notation. This is a system of prefixing variables with their types. Here are some of the ones I've seen in the files:
i = integer, or perhaps an enumeration
b = boolean, true/false
a = array (always used with something else)
p = pointer (to something)
For example, apaiStuff is an array of pointers to arrays of integers, which represent Stuff.
i = integer, or perhaps an enumeration
b = boolean, true/false
a = array (always used with something else)
p = pointer (to something)
For example, apaiStuff is an array of pointers to arrays of integers, which represent Stuff.
Comment