2004.04.21
..\ctp2_data\gs\gameobj\CityData.h
..\ctp2_data\gs\gameobj\CityData.cpp
..\ctp2_data\ai\CityManagement\Governor.cpp
AI improvement by Fromafar: Make the governor take the CTP2 style partial worker utilisation into account when placing tile improvements around a city.
2004.04.22
..\ctp2_data\gs\slic\SlicFrame.cpp
..\ctp2_data\gs\gameobj\UnitData.cpp
Bug fixes by Fromafar:
SlicFrame.cpp: Changed reporting of modulo 0 errors to match division by 0 error reporting.
UnitData.cpp: (Activision 1.1 patch reimplementation) Corrected active defense movement type check.
2004.04.27
..\ctp2_code\gs\gameobj\gaiacontroller.cpp
Bug Fix by Martin Gühmann: Neutral pillage tile improvement bug, the game doesn't crash anymore when a tile improvement is pillaged that noone owns.
2004.04.30
..\ctp2_code\gs\slic\SlicFrame.cpp
..\ctp2_code\gs\slic\slicif.cpp
Games that uses slic database access can now be reloaded without the need to /reloadslic to prevent a crash, unfortunatly this applies only to games that are saved with this version of the slic database access, games saved with Activision's patch v.1.1 and with slic code that uses database access may not be continued without a /reloadslic.
2004.04.30
..\ctp2_code\ctp\civapp.cpp
Bug fix by Martin Gühmann: A memory leak that occured in the Great Libary when a saved game was loaded, only regular saves with the ranking and world map *.rim, not the quicksave.
2004.05.08
..\ctp2_code\ui\interface\GreatLibrary.cpp
..\ctp2_code\gs\database\ProfileDB.cpp
..\ctp2_code\gs\database\ProfileDB.h
..\ctp2_code\ctp\civapp.cpp
User profile option and repaired memory leaks by Fromafar.
Repaired more memory leaks that were caused by reloading the great library data.
Added a "ColorSet" option to userprofile.txt, to make variation between the colors##.txt files easier.
Note: Some previous changes by Martin Gühmann in civapp.cpp were undone. Those are no longer needed now that the great library memory leaks have been repaired at the root.
2004.05.09
..\ctp2_code\gs\newdb\terrimprove.cdb
..\ctp2_code\gs\world\cell.cpp
Bug fix by Fromafar: tile improvements without Freight cost modification no longer have 0 Freight cost for the trade route computation. This should prevent funny paths from being computed.
2004.05.15
..\ctp2_code\gs\newdb\CTPDatabase.cpp
..\ctp2_code\gs\newdb\CTPDatabase.h
Bug fixes
Repaired memory leaks and cleaned up the government modification code somewhat.
2004.05.09
..\ctp2_code\ui\interface\sci_advancescreen.cpp
Activision patch 1.1 reimplementation by Fromafar: Start the "change research" screen with the current research selected.
2004.05.16
..\ctp2_code\gs\gamedata\ArmyData.cpp
Activision patch 1.1 reimplementation by Fromafar: Corrected a check that prevented sueing of franchises.
2004.05.18
..\ctp2_code\gs\gameobj\GameSettings.cpp
Activision patch 1.1 reimplementation by Fromafar: Use the difficulty and barbarian risk level as selected by the user when starting a new (scenario) game.
2004.05.22
..\ctp2_code\gs\gameobj\CityEvent.cpp
..\ctp2_data\default\gamedata\script.slc
..\ctp2_data\XXXXXX\gamedata\info_str.txt
Where XXXXXX is english, german and french, the needed strings for the English and German version are added to the according info_str.txt, there are also strings added to the French version of the info_str.txt unfortunatly in English in the lack of a French translation. The Italian, Japanese and Spanish version of the info_str.txt are missing. And therefore even English text for these versions of CTP2 are missing.
CTP1 reimplementation by Martin Gühmann: During conquest there is now a chanche of 0.5 accoriding to our const.txt that the attacker takes an advance, given the victim has any advances that the attacker does not have. Both the attacker and the victim get a message about the stolen advance.
2004.05.23
..\ctp2_code\gs\dbgen\RecordDescription.cpp
..\ctp2_code\gs\newdb\*Record.cpp
..\ctp2_code\gs\newdb\*Record.h
..\ctp2_code\gs\newdb\*Record.stamp
The * stands as usual for very combination of letters, meaning every in that directory with Record in its name is included so that no one has to build a debug version before the release version.
The pupose of this is to stop .NET to complain about the fact that all these Init functions in these files don't have a reurn type, the return type void was added to that function. Odd that dbgen did not generated all of the new Record files, well some hand editing solved that problem.
2004.05.24
..\ctp2_code\gs\gameobj\PlayerEvent.cpp
Bug fix by Fromafar: Corrected the index of the 'cause' argument in the GrantAdvanceEvent handler.
2004.05.24
..\ctp2_code\gs\slic\SlicFunc.cpp
Bug fixes by Fromafar:
Added input checks and an optional 'cause' argument to the GrantAdvance SLIC handler.
Added reading of the 'army' argument of the ArmyIsValid SLIC handler, instead of returning 0 always - even when the army would have been valid.
2004.05.24
..\ctp2_code\gs\slic\SlicStack.cpp
Bug fix by Fromafar: Prevented crashes that may occur when SLIC argument values are invalid.
2004.05.27
..\ctp2_code\gs\slic\SlicBuiltIn.cpp
Modifications by Fromafar: AddMember changed to AddAccessor for g.last_player, g.max_player, g.num_of_players, and player[].government. This file is part of the 2004.05.19 playtest release, and has not been changed.
2004.05.27
..\ctp2_code\gs\slic\SlicStruct.h
..\ctp2_code\gs\slic\SlicStruct.cpp
Implementation of accessor functionality by Fromafar. These files have been modified to correct problems with the player[].government access as reported by BureauBert.
2004.05.31
..\ctp2_code\ui\interface\diplomacywindow.cpp
..\ctp2_code\ui\interface\intelligencewindow.cpp
Activision patch reimplementation by Fromafar: Keep the embargo and declare war buttons enabled when the user cancels the action.
2004.05.31
..\ctp2_code\gs\slic\SlicFunc.cpp
Bug fix by Fromafar: Corrected the ArmyIsValid function once more.
2004.06.01
..\ctp2_data\default\uidata\credits.txt
The credits from June the first, by Locutus.
..\ctp2_data\gfx\spritesys\BattleViewActor.cpp
..\ctp2_data\gfx\spritesys\TradeActor.cpp
..\ctp2_data\gfx\spritesys\UnitActor.cpp
Prevented some possible crashes by Fromafar. He is not sure that these are really useful. He got one of these - after clicking away a GC000.spr not found in asset tree message - when loading a CTC save file with the original game setup selected in the ModManager.
..\ctp2_data\gs\gameobj\CityEvent.cpp
Prevented a possible crash by Fromafar. Untested, but might solve the Solaris project bug.
..\ctp2_data\ui\interface\wondermoviewindow.cpp
Repaired a memory leak with the wonder movie pop-up window by Fromfar.
2004.06.04
..\ctp2_code\gs\gameobj\Score.cpp
..\ctp2_data\XXXXXX\gamedata\exp_str.txt
Where XXXXXX is english, german, spanish, italian and french. The Japanese version of the exp_str.txt i had not changed but needs a change probably also.
Bug fix by Lui2: City sizes for the score calculation are now in the current setup can now be reached.
New limits for score calculation are:
300.000 to 30.000
1.000.000 to 100.000
5.000.000 to 500.000
All numbers represent number of city inhabitants.
2004.06.05
..\ctp2_code\ui\aui_common\tech_wllist.h
Fix by Martin Gühmann to make sure that tech_wllist.h copiles on copilers which do not support implecit typenames.
Here is the latest source file pack:
[EDIT]Link removed see my next big post in this thread.[/EDIT]
-Martin
..\ctp2_data\gs\gameobj\CityData.h
..\ctp2_data\gs\gameobj\CityData.cpp
..\ctp2_data\ai\CityManagement\Governor.cpp
AI improvement by Fromafar: Make the governor take the CTP2 style partial worker utilisation into account when placing tile improvements around a city.
2004.04.22
..\ctp2_data\gs\slic\SlicFrame.cpp
..\ctp2_data\gs\gameobj\UnitData.cpp
Bug fixes by Fromafar:
SlicFrame.cpp: Changed reporting of modulo 0 errors to match division by 0 error reporting.
UnitData.cpp: (Activision 1.1 patch reimplementation) Corrected active defense movement type check.
2004.04.27
..\ctp2_code\gs\gameobj\gaiacontroller.cpp
Bug Fix by Martin Gühmann: Neutral pillage tile improvement bug, the game doesn't crash anymore when a tile improvement is pillaged that noone owns.
2004.04.30
..\ctp2_code\gs\slic\SlicFrame.cpp
..\ctp2_code\gs\slic\slicif.cpp
Games that uses slic database access can now be reloaded without the need to /reloadslic to prevent a crash, unfortunatly this applies only to games that are saved with this version of the slic database access, games saved with Activision's patch v.1.1 and with slic code that uses database access may not be continued without a /reloadslic.
2004.04.30
..\ctp2_code\ctp\civapp.cpp
Bug fix by Martin Gühmann: A memory leak that occured in the Great Libary when a saved game was loaded, only regular saves with the ranking and world map *.rim, not the quicksave.
2004.05.08
..\ctp2_code\ui\interface\GreatLibrary.cpp
..\ctp2_code\gs\database\ProfileDB.cpp
..\ctp2_code\gs\database\ProfileDB.h
..\ctp2_code\ctp\civapp.cpp
User profile option and repaired memory leaks by Fromafar.
Repaired more memory leaks that were caused by reloading the great library data.
Added a "ColorSet" option to userprofile.txt, to make variation between the colors##.txt files easier.
Note: Some previous changes by Martin Gühmann in civapp.cpp were undone. Those are no longer needed now that the great library memory leaks have been repaired at the root.
2004.05.09
..\ctp2_code\gs\newdb\terrimprove.cdb
..\ctp2_code\gs\world\cell.cpp
Bug fix by Fromafar: tile improvements without Freight cost modification no longer have 0 Freight cost for the trade route computation. This should prevent funny paths from being computed.
2004.05.15
..\ctp2_code\gs\newdb\CTPDatabase.cpp
..\ctp2_code\gs\newdb\CTPDatabase.h
Bug fixes
Repaired memory leaks and cleaned up the government modification code somewhat.
2004.05.09
..\ctp2_code\ui\interface\sci_advancescreen.cpp
Activision patch 1.1 reimplementation by Fromafar: Start the "change research" screen with the current research selected.
2004.05.16
..\ctp2_code\gs\gamedata\ArmyData.cpp
Activision patch 1.1 reimplementation by Fromafar: Corrected a check that prevented sueing of franchises.
2004.05.18
..\ctp2_code\gs\gameobj\GameSettings.cpp
Activision patch 1.1 reimplementation by Fromafar: Use the difficulty and barbarian risk level as selected by the user when starting a new (scenario) game.
2004.05.22
..\ctp2_code\gs\gameobj\CityEvent.cpp
..\ctp2_data\default\gamedata\script.slc
..\ctp2_data\XXXXXX\gamedata\info_str.txt
Where XXXXXX is english, german and french, the needed strings for the English and German version are added to the according info_str.txt, there are also strings added to the French version of the info_str.txt unfortunatly in English in the lack of a French translation. The Italian, Japanese and Spanish version of the info_str.txt are missing. And therefore even English text for these versions of CTP2 are missing.
CTP1 reimplementation by Martin Gühmann: During conquest there is now a chanche of 0.5 accoriding to our const.txt that the attacker takes an advance, given the victim has any advances that the attacker does not have. Both the attacker and the victim get a message about the stolen advance.
2004.05.23
..\ctp2_code\gs\dbgen\RecordDescription.cpp
..\ctp2_code\gs\newdb\*Record.cpp
..\ctp2_code\gs\newdb\*Record.h
..\ctp2_code\gs\newdb\*Record.stamp
The * stands as usual for very combination of letters, meaning every in that directory with Record in its name is included so that no one has to build a debug version before the release version.
The pupose of this is to stop .NET to complain about the fact that all these Init functions in these files don't have a reurn type, the return type void was added to that function. Odd that dbgen did not generated all of the new Record files, well some hand editing solved that problem.
2004.05.24
..\ctp2_code\gs\gameobj\PlayerEvent.cpp
Bug fix by Fromafar: Corrected the index of the 'cause' argument in the GrantAdvanceEvent handler.
2004.05.24
..\ctp2_code\gs\slic\SlicFunc.cpp
Bug fixes by Fromafar:
Added input checks and an optional 'cause' argument to the GrantAdvance SLIC handler.
Added reading of the 'army' argument of the ArmyIsValid SLIC handler, instead of returning 0 always - even when the army would have been valid.
2004.05.24
..\ctp2_code\gs\slic\SlicStack.cpp
Bug fix by Fromafar: Prevented crashes that may occur when SLIC argument values are invalid.
2004.05.27
..\ctp2_code\gs\slic\SlicBuiltIn.cpp
Modifications by Fromafar: AddMember changed to AddAccessor for g.last_player, g.max_player, g.num_of_players, and player[].government. This file is part of the 2004.05.19 playtest release, and has not been changed.
2004.05.27
..\ctp2_code\gs\slic\SlicStruct.h
..\ctp2_code\gs\slic\SlicStruct.cpp
Implementation of accessor functionality by Fromafar. These files have been modified to correct problems with the player[].government access as reported by BureauBert.
2004.05.31
..\ctp2_code\ui\interface\diplomacywindow.cpp
..\ctp2_code\ui\interface\intelligencewindow.cpp
Activision patch reimplementation by Fromafar: Keep the embargo and declare war buttons enabled when the user cancels the action.
2004.05.31
..\ctp2_code\gs\slic\SlicFunc.cpp
Bug fix by Fromafar: Corrected the ArmyIsValid function once more.
2004.06.01
..\ctp2_data\default\uidata\credits.txt
The credits from June the first, by Locutus.
..\ctp2_data\gfx\spritesys\BattleViewActor.cpp
..\ctp2_data\gfx\spritesys\TradeActor.cpp
..\ctp2_data\gfx\spritesys\UnitActor.cpp
Prevented some possible crashes by Fromafar. He is not sure that these are really useful. He got one of these - after clicking away a GC000.spr not found in asset tree message - when loading a CTC save file with the original game setup selected in the ModManager.
..\ctp2_data\gs\gameobj\CityEvent.cpp
Prevented a possible crash by Fromafar. Untested, but might solve the Solaris project bug.
..\ctp2_data\ui\interface\wondermoviewindow.cpp
Repaired a memory leak with the wonder movie pop-up window by Fromfar.
2004.06.04
..\ctp2_code\gs\gameobj\Score.cpp
..\ctp2_data\XXXXXX\gamedata\exp_str.txt
Where XXXXXX is english, german, spanish, italian and french. The Japanese version of the exp_str.txt i had not changed but needs a change probably also.
Bug fix by Lui2: City sizes for the score calculation are now in the current setup can now be reached.
New limits for score calculation are:
300.000 to 30.000
1.000.000 to 100.000
5.000.000 to 500.000
All numbers represent number of city inhabitants.
2004.06.05
..\ctp2_code\ui\aui_common\tech_wllist.h
Fix by Martin Gühmann to make sure that tech_wllist.h copiles on copilers which do not support implecit typenames.
Here is the latest source file pack:
[EDIT]Link removed see my next big post in this thread.[/EDIT]
-Martin
Comment