Revision 1070: The scenario editor now genartes goods even if only a preexisting savegame was loaded, and no new game was created during the session.
Some cleanings:
modified trunk/ctp2_code/gs/world/wldgen.cpp
Reduce the memory need for the AI element objects, this should speed up the game a little bit:
modified trunk/ctp2_code/ai/strategy/agents/agent.cpp
modified trunk/ctp2_code/ai/strategy/agents/agent.h
modified trunk/ctp2_code/ai/strategy/goals/Goal.cpp
modified trunk/ctp2_code/ai/strategy/goals/Goal.h
modified trunk/ctp2_code/ai/strategy/scheduler/Plan.cpp
modified trunk/ctp2_code/ai/strategy/scheduler/Plan.h
modified trunk/ctp2_code/ai/strategy/scheduler/scheduler.cpp
modified trunk/ctp2_code/ai/strategy/squads/squad_Strength.h
Fixed some 64 bit porting problems:
modified trunk/ctp2_code/gs/gameobj/CityData.cpp
modified trunk/ctp2_code/gs/gameobj/Happy.cpp
modified trunk/ctp2_code/ui/netshell/ns_accessor.h
Good richness is now saved in the profile.txt so that the Scenario editor regenerates goods when a game was freshly loaded:
modified trunk/ctp2_code/gs/database/profileDB.cpp
Some cleanings:
modified trunk/ctp2_code/gs/world/wldgen.cpp
Reduce the memory need for the AI element objects, this should speed up the game a little bit:
modified trunk/ctp2_code/ai/strategy/agents/agent.cpp
modified trunk/ctp2_code/ai/strategy/agents/agent.h
modified trunk/ctp2_code/ai/strategy/goals/Goal.cpp
modified trunk/ctp2_code/ai/strategy/goals/Goal.h
modified trunk/ctp2_code/ai/strategy/scheduler/Plan.cpp
modified trunk/ctp2_code/ai/strategy/scheduler/Plan.h
modified trunk/ctp2_code/ai/strategy/scheduler/scheduler.cpp
modified trunk/ctp2_code/ai/strategy/squads/squad_Strength.h
Fixed some 64 bit porting problems:
modified trunk/ctp2_code/gs/gameobj/CityData.cpp
modified trunk/ctp2_code/gs/gameobj/Happy.cpp
modified trunk/ctp2_code/ui/netshell/ns_accessor.h
Good richness is now saved in the profile.txt so that the Scenario editor regenerates goods when a game was freshly loaded:
modified trunk/ctp2_code/gs/database/profileDB.cpp
Comment