New SMAC quizzes available.Test your Alpha Centauri knowledge! Chess is back.Challenge someone!
0 Members and 1 Guest are viewing this topic.
Speaking of the patch documentation, the other thing that left me wondering was the "SELECT PLANETARY ORBIT" "80..100 million miles" option when generating a new map. It's the first thing the map generator asks yet I can't see if it affects anything? Another thread suggested it affects eco damage but not sure how to verify it. At least it should be explained in the readme or worded differently. The map in this game doesn't represent temperature per se, there's only humidity which already has its own setting.
SMACX global variable offset: 0x94A2B0valid values: 0,1,2The only function that references this global, outside of map configuration, is world_temperature(). This in turn is called by world_build() or world_climate(). The key one is world_climate() that gets called during terraforming, random events, planet busting, ecology functions and many others. It seems to get called on average between 10-20 turns.
IDA Pro 6.8.150423 with hexrays works. I think other 6.8 versions will work too.idc files attached (database and separate typeinfo).They're from my own database and have a handful more annotations than scient's database.
[Alpha Centauri]Multi Debug=1
MAP* mapsq(int x, int y) { int i = x/2 + (*tx_map_half_x) * y; if (i >= 0 && i < *tx_map_half_x * *tx_map_axis_y) return &((*tx_map_ptr)[i]); else return NULL;}