[ctp2-commit] Revision 599 committed by Martin G?\195?\188hmann

ctp2-commit at darkdust.net ctp2-commit at darkdust.net
Sun Jun 25 00:33:35 CEST 2006


Merged another set of modifications into the official code base

Replaced c-style BOOL typedef by c++ builtin type bool:
modified   ctp2_code/gs/gameobj/Army.cpp
modified   ctp2_code/gs/gameobj/Army.h
modified   ctp2_code/gs/gameobj/ArmyData.cpp
modified   ctp2_code/gs/gameobj/ArmyData.h
modified   ctp2_code/ui/aui_ctp2/SelItem.cpp

Fixed CanBombard and CanCloak methods, replaced Get by Has database access functions, standardized government modified unit handling, simplified war detection handling, and fixed Minefield:
modified   ctp2_code/gs/gameobj/ArmyData.cpp

Made government modified work here:
modified   ctp2_code/gs/gameobj/GoodyHuts.cpp
modified   ctp2_code/gs/world/cellunitlist.cpp

Added Player::HasWarWith method:
modified   ctp2_code/gs/gameobj/Player.cpp
modified   ctp2_code/gs/gameobj/player.h
modified   ctp2_code/gs/slic/slicfuncai.cpp

Changed Minefield from Int to Float:
modified   ctp2_code/gs/newdb/terrimprove.cdb

U   trunk/ctp2_code/gs/gameobj/Army.cpp
U   trunk/ctp2_code/gs/gameobj/Army.h
U   trunk/ctp2_code/gs/gameobj/ArmyData.cpp
U   trunk/ctp2_code/gs/gameobj/ArmyData.h
U   trunk/ctp2_code/gs/gameobj/GoodyHuts.cpp
U   trunk/ctp2_code/gs/gameobj/Player.cpp
U   trunk/ctp2_code/gs/gameobj/player.h
U   trunk/ctp2_code/gs/newdb/terrimprove.cdb
U   trunk/ctp2_code/gs/slic/slicfuncai.cpp
U   trunk/ctp2_code/gs/world/cellunitlist.cpp
U   trunk/ctp2_code/ui/aui_ctp2/SelItem.cpp



More information about the ctp2-commit mailing list