Revision 800: Simplified code and made the source code compile again under all configurations
Simplified code:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/ai/ctpai.cpp
modified trunk/ctp2_code/ai/diplomacy/diplomattypes.h
modified trunk/ctp2_code/ai/mapanalysis/mapanalysis.cpp
modified trunk/ctp2_code/ai/diplomacy/nproposalevent.cpp
modified trunk/ctp2_code/ai/diplomacy/proposalresponseevent.cpp
modified trunk/ctp2_code/ai/diplomacy/ReactEvent.cpp
modified trunk/ctp2_code/gfx/spritesys/director.cpp
modified trunk/ctp2_code/gfx/tilesys/tiledmap.cpp
modified trunk/ctp2_code/gs/gameobj/Advances.cpp
modified trunk/ctp2_code/gs/gameobj/ArmyData.cpp
modified trunk/ctp2_code/gs/gameobj/bldque.cpp
modified trunk/ctp2_code/gs/gameobj/CityEvent.cpp
modified trunk/ctp2_code/gs/gameobj/CTP2Combat.cpp
modified trunk/ctp2_code/gs/gameobj/Happy.cpp
modified trunk/ctp2_code/gs/gameobj/PlayerEvent.cpp
modified trunk/ctp2_code/gs/gameobj/PlayHap.cpp
modified trunk/ctp2_code/gs/gameobj/Readiness.cpp
modified trunk/ctp2_code/gs/gameobj/UnitData.cpp
modified trunk/ctp2_code/gs/slic/slicfunc.cpp
modified trunk/ctp2_code/gs/utility/gameinit.cpp
modified trunk/ctp2_code/gs/world/WrldPoll.cpp
modified trunk/ctp2_code/gs/world/WrlUnit.cpp
modified trunk/ctp2_code/net/general/net_chat.cpp
modified trunk/ctp2_code/net/general/net_info.cpp
modified trunk/ctp2_code/net/general/network.cpp
modified trunk/ctp2_code/net/general/networkevent.cpp
modified trunk/ctp2_code/ui/aui_ctp2/keypress.cpp
modified trunk/ctp2_code/ui/aui_ctp2/SelItem.cpp
modified trunk/ctp2_code/ui/interface/loadsavescreen.cpp
modified trunk/ctp2_code/ui/interface/spnewgametribescreen.cpp
modified trunk/ctp2_code/ui/interface/victorywin.cpp
Made sure that the game builds the database files under all configurations:
modified trunk/ctp2_code/ctp/civctp.dsp
Simplified code:
modified trunk/ctp2_code/ai/CityManagement/governor.cpp
modified trunk/ctp2_code/ai/ctpai.cpp
modified trunk/ctp2_code/ai/diplomacy/diplomattypes.h
modified trunk/ctp2_code/ai/mapanalysis/mapanalysis.cpp
modified trunk/ctp2_code/ai/diplomacy/nproposalevent.cpp
modified trunk/ctp2_code/ai/diplomacy/proposalresponseevent.cpp
modified trunk/ctp2_code/ai/diplomacy/ReactEvent.cpp
modified trunk/ctp2_code/gfx/spritesys/director.cpp
modified trunk/ctp2_code/gfx/tilesys/tiledmap.cpp
modified trunk/ctp2_code/gs/gameobj/Advances.cpp
modified trunk/ctp2_code/gs/gameobj/ArmyData.cpp
modified trunk/ctp2_code/gs/gameobj/bldque.cpp
modified trunk/ctp2_code/gs/gameobj/CityEvent.cpp
modified trunk/ctp2_code/gs/gameobj/CTP2Combat.cpp
modified trunk/ctp2_code/gs/gameobj/Happy.cpp
modified trunk/ctp2_code/gs/gameobj/PlayerEvent.cpp
modified trunk/ctp2_code/gs/gameobj/PlayHap.cpp
modified trunk/ctp2_code/gs/gameobj/Readiness.cpp
modified trunk/ctp2_code/gs/gameobj/UnitData.cpp
modified trunk/ctp2_code/gs/slic/slicfunc.cpp
modified trunk/ctp2_code/gs/utility/gameinit.cpp
modified trunk/ctp2_code/gs/world/WrldPoll.cpp
modified trunk/ctp2_code/gs/world/WrlUnit.cpp
modified trunk/ctp2_code/net/general/net_chat.cpp
modified trunk/ctp2_code/net/general/net_info.cpp
modified trunk/ctp2_code/net/general/network.cpp
modified trunk/ctp2_code/net/general/networkevent.cpp
modified trunk/ctp2_code/ui/aui_ctp2/keypress.cpp
modified trunk/ctp2_code/ui/aui_ctp2/SelItem.cpp
modified trunk/ctp2_code/ui/interface/loadsavescreen.cpp
modified trunk/ctp2_code/ui/interface/spnewgametribescreen.cpp
modified trunk/ctp2_code/ui/interface/victorywin.cpp
Made sure that the game builds the database files under all configurations:
modified trunk/ctp2_code/ctp/civctp.dsp
Comment