 |
|  |
 |
|
Fromafar
|
|
Revision 384 Corrected barbarian tribe name appearance, improved mod compatibility, linux synchronisation
modified ctp2_code/gs/database/profileDB.cpp - linux synchronisation
modified ctp2_code/gs/database/profileDB.h - linux synchronisation, centralised world shape handling
modified ctp2_code/ui/interface/loadsavescreen.cpp - linux synchronisation, tribe index check
modified ctp2_code/ui/interface/loadsavewindow.h - linux synchronisation
modified ctp2_code/ui/interface/spnewgamemapshapescreen.cpp - restored compatibility
modified ctp2_code/ui/interface/spnewgamemapshapescreen.h - linux synchronisation
modified ctp2_code/ui/interface/spnewgameplayersscreen.cpp - improved mod compatibility
modified ctp2_code/ui/interface/spnewgameplayersscreen.h - linux synchronisation
modified ctp2_code/ui/interface/spnewgametribescreen.cpp - Tribe index handling corrected
modified ctp2_code/ui/interface/spnewgametribescreen.h - Tribe index handling corrected
modified ctp2_code/ui/interface/spnewgamescreen.cpp - tribe index check
modified ctp2_code/ui/interface/spnewgamewindow.cpp - Tribe index handling corrected
modified ctp2_code/ui/interface/spnewgamewindow.h - restored compatibility, linux synchronisation
modified ctp2_data/english/gamedata/ldl_str.txt - typo corrected
modified ctp2_data/english/uidata/layouts/spnewgame.ldl - restored compatibility
modified ctp2_data/english/uidata/layouts/spnewgamepopups.ldl - restored compatibility
|
|
|  |
 |
|  |
 |
|
ctplinuxfan
|
|
Revision 385
M branches/linux
r1577@linux3: holger | 2005-06-11 10:03:48 +0200
- merge from trunk to branches/linux: r381 - r383
r1581@linux3: holger | 2005-06-12 12:18:55 +0200
- trunk revisions r383 - r384 -> branches/linux
r1582@linux3: holger | 2005-06-12 16:09:40 +0200
- changed _LDADD to unique _LDFLAGS prefix
- added Makefile.common for common compiler/linker options
Sorry for the local revision decrease, i upgraded to subversion 1.2.0 + svk 1.0 and during repository recovery empty revisions were discarded.
|
|
|  |
 |
|  |
 |
|
Fromafar
|
|
What I want to do, is update the trunk with changes from the linux branch.
In most cases, the last trunk revision is at something like 362, and ctplinuxfan has made some perfectly valid improvements (e.g. guarding #pragma once, inserting comment-// when #endif is followed by text) in revision 374. When I merge this revision into the trunk and commit without making any changes, the file gets assigned a new revision number 380-something and has me as author.
I would like to have the trunk file revision being identified as revision 374 by ctplinuxfan, because it actually is his revision.
|
|
|  |
 |
|
ctplinuxfan
|
|
quote: Originally posted by J Bytheway
Well, if you svn move the file from the linux branch to the trunk
|
Please do not move away changes files of a branch, the file is also needed in that branch.
quote: Originally posted by Fromafar
What I want to do, is update the trunk with changes from the linux branch.
|
The only thing you can do is running svn merge to merge changes.
quote:
I would like to have the trunk file revision being identified as revision 374 by ctplinuxfan, because it actually is his revision. |
Well, the revision increase is logical: By merging the changes to a specific branch, you modify that branch, so the revision gets increased.
If anybody had commited a change to /trunk/foo.cpp in revision 377, inserting r374 from /branches/bar/foo.cpp before r377 of trunk would break the path of /trunk, so the branches must be independent because that's their purpose (change and test something which shouldn't break /trunk).
I share your opinion that the author gets lost during a conflict-less merge; the subversion book has the assumption that the author who merges the changes is somehow responsable for them to work.
If you resolve conflicts due to merges, it makes sense to keep you as the author, because you must make some modifications for the code to work again.
Somebody authorized could modify the revision property svn:author on merges without conflicts (revision properties may not be changed by default, because you could screw up the log, author, commit-date, etc.), but i don't mind if in a merged revision i'm not mentioned as the author for the changed lines.
During merges i commit source and destination branch and the revisions merged into the destination branch (log, author and changes are stored in repository). If we don't use the revision logs, we could try to agree on a common format for indicating the source of merges.
|
|
|  |
 |
|  |
 |
|
kaan
|
|
Aarhus
Mar 2001 time: 05:16
|
|
I wasnt aware of any problems connecting to the svn server, ill look into it right away.
|
|
|  |
 |
|
kaan
|
|
Aarhus
Mar 2001 time: 05:16
|
|
hmmm, the process had ended for some unknown reason, it should be up and running again.
|
|
|  |
 |
|
Fromafar
|
|
Thanks Klaus, for making the server work again.
Revision 386 Layout updates
ctp2_data\<language>\uidata\layouts\spnewgame.ldl
ctp2_data\<language>\uidata\layouts\spnewgamepopups.ldl
ctp2_data\<language>\uidata\layouts\citystatus.ldl
When placing these in the default section, I don't think we should swap the priorities. I would prefer to have any language specific version override the default version - as it is now. Actually, my suggestion would be to move all Apolyton ctp2_data modifications to a new directory (thus not overwriting the original Activision ctp2_data). We can use the RuleSets option (in userprofile.txt, or some new in-game interface) to include the Apolyton data before the original Activision data.
|
|
|  |
 |
|
Fromafar
|
|
Revision 387 Radius computation changes for non-wrapping worlds, linux branch synchronisation
Changed radius computation
Modified: ctp2_code\ai\mapanalysis\settlemap.cpp
Modified: ctp2_code\gfx\tilesys\tiledmap.cpp
Modified: ctp2_code\gs\gameobj\CityInfluenceIterator.cpp
Modified: ctp2_code\gs\gameobj\CityInfluenceIterator.h
Modified: ctp2_code\gs\world\MapPoint.cpp
Modified: ctp2_code\gs\world\MapPoint.h
Modified: ctp2_code\gs\world\wldgen.cpp
Modified: ctp2_code\robot\pathing\unitastar.cpp
linux branch synchronisation
Modified: ctp2_code\ai\mapanalysis\boundingrect.h
Modified: ctp2_code\ai\mapanalysis\mapanalysis.h
Modified: ctp2_code\ai\mapanalysis\mapgrid.h
Modified: ctp2_code\gs\world\Cell.cpp
Modified: ctp2_code\gs\world\Cell.h
Modified: ctp2_code\gs\world\UnseenCell.h
Modified: ctp2_code\gs\world\World.h
Modified: ctp2_code\gs\world\WrlEnv.cpp
Modified: ctp2_code\gs\world\WrlImprove.cpp
Modified: ctp2_code\gs\world\WrldCity.cpp
Modified: ctp2_code\gs\world\WrldPoll.cpp
Modified: ctp2_code\gs\world\worldevent.cpp
Modified: ctp2_code\robot\pathing\Astar.h
Modified: ctp2_code\robot\pathing\BFS.h
Modified: ctp2_code\robot\pathing\CityAstar.h
Modified: ctp2_code\robot\pathing\UnitAstar.h
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:16
|
|
quote: Originally posted by Fromafar
When placing these in the default section, I don't think we should swap the priorities. I would prefer to have any language specific version override the default version - as it is now. |
Well for some reason I prefer also the way it is, but I don't know really why.
quote: Originally posted by Fromafar
Actually, my suggestion would be to move all Apolyton ctp2_data modifications to a new directory (thus not overwriting the original Activision ctp2_data). We can use the RuleSets option (in userprofile.txt, or some new in-game interface) to include the Apolyton data before the original Activision data. |
One way would be to modify civpath.txt, but that wouldn't work for zip files, because it is different in the various localized versions, so this would require an installer, erasing the original versions isn't a good idea either, as it needs again an installer and maybe someone did it so that he has the original version and our version sharing these files.
So the RuleSet is left. So far I don't know how it exactly works. Therefore I don't know whether we should use this or something else that is similar. Maybe a small readme would be helpful explaining how this feature work. By the way this is a pretty good idea for modders anyway. 
Revision 388
Standardized trade route cost calculation to fix number of caravans needed for trade routes, and to make sure that everywhere this is used the same code is used.
modified ctp2_code/gs/gameobj/TradeRouteData.cpp
modified ctp2_code/gs/gameobj/tradeutil.cpp
modified ctp2_code/gs/gameobj/tradeutil.h
Made the code to compile on VC++ 6 to compile again:
modified ctp2_code/gs/gameobj/player.h - Added missing includes
modified ctp2_code/gs/gameobj/PlayerAI.cpp - Removed GetAllTileValue method
modified ctp2_code/gs/gameobj/TradeBids.cpp - Made the Unit argments of AddBit method const
modified ctp2_code/gs/gameobj/TradeBids.h - Made the Unit argments of AddBit method const
Added copy constructor as the default one generated by the compiler caused some problems with my debug version. However this rather looks like a bloody workaround, but now I don't want to go too deep into the details.
modified ctp2_code/ai/CityManagement/governor.cpp
modified ctp2_code/ai/CityManagement/governor.h
Some cosmetic changes since I was modifying these files anyway for some reason. Comments correction, standart casts, spellings, white space.
modified ctp2_code/gs/dbgen/ctpdb.cpp
modified ctp2_code/gs/gameobj/Player.cpp
modified ctp2_code/gs/world/Cell.h
modified bin/Readme.txt
|
|
|  |
 |
|
Fromafar
|
|
Revision 389 Army corrections + linux branch synchronisation
Modified: ctp2_code\gs\gameobj\ArmyData.cpp - Fixed some missing message objects
Modified: ctp2_code\gs\gameobj\armyevent.cpp - relaxed assert, prevented memory leak reports
Linux branch synchronisation
Modified: ctp2_code\gs\gameobj\Army.cpp
Modified: ctp2_code\gs\gameobj\Army.h
Modified: ctp2_code\gs\gameobj\ArmyData.h
Modified: ctp2_code\gs\gameobj\ArmyEvent.h
Modified: ctp2_code\gs\gameobj\ArmyPool.cpp
Modified: ctp2_code\gs\gameobj\ArmyPool.h
Modified: ctp2_code\gs\slic\SlicObject.h - also removed some unused pool functionality
Modified: ctp2_code\gs\slic\slicobject.cpp
|
|
|  |
 |
|
Fromafar
|
|
Revision 390 Added AOM support, errors corrected, linux branch synchronisation
AOM support
Modified: ctp2_code/gs/slic/SlicBuiltin.cpp
Modified: ctp2_code/gs/slic/SlicEyePoint.cpp
Modified: ctp2_code/gs/slic/slicfunc.cpp
Crashes, memory leaks, and other errors
Modified: ctp2_code/gs/slic/SlicFrame.cpp
Modified: ctp2_code/gs/slic/slicif.cpp
Modified: ctp2_code/gs/slic/SlicStruct.cpp
Modified: ctp2_code/gs/slic/SlicSymbol.cpp
Modified: ctp2_code/gs/slic/slic.y
linux branch synchronisation
Modified: ctp2_code/gs/slic/SlicArray.h
Modified: ctp2_code/gs/slic/SlicBuiltin.h
Modified: ctp2_code/gs/slic/SlicBuiltinEnum.h
Modified: ctp2_code/gs/slic/SlicButton.h
Modified: ctp2_code/gs/slic/SlicConditional.h
Modified: ctp2_code/gs/slic/SlicConst.h
Modified: ctp2_code/gs/slic/SlicContext.cpp
Modified: ctp2_code/gs/slic/SlicDBConduit.h
Modified: ctp2_code/gs/slic/SlicEyePoint.h
Modified: ctp2_code/gs/slic/SlicFunc.h
Modified: ctp2_code/gs/slic/SlicNamedSymbol.h
Modified: ctp2_code/gs/slic/SlicRecord.h
Modified: ctp2_code/gs/slic/SlicStruct.h
Modified: ctp2_code/gs/slic/SlicSymbol.h
Modified: ctp2_code/gs/slic/SlicTriggerLists.h
Modified: ctp2_code/gs/slic/slicfuncai.h
Modified: ctp2_code/gs/slic/slicif_sym.h
The RuleSets behave more or less like an MSVC "include files directory"-list, except that each directory is actually a tree, and is searched as the usual ..\..\ctp2_data tree. So, language specific before default, and subdirectory dependent on what kind of file (e.g. picture, LDL-layout) you are looking for.
There is no in-game interface for it yet. You have to edit userprofile.txt manually. You may enter relative (to the executable) directory names, separated by semi-colons. The directories (trees) are searched from left to right, and the default ..\..\ctp2_data tree is automatically added at the end. So, leaving the list empty, will give you the usual tree (only). Example:
code: RuleSets=..\..\..\ctp2test.aom;..\..\..\ctp2.aom\ctp2_data;..\..\..\ctp2.orig\ctp2_data
This searches my own modifications first, next the AOM files, next the original Activision files, and finally the playtest files.
Note that ..\..\ctp2test.aom\default is searched before ..\..\ctp2.aom\ctp2_data\language.
|
|
|  |
 |
|
Fromafar
|
|
Revision 391 Speeded up the unit and advance generation from goody huts
Modified: ctp2_code\gs\gameobj\Advances.cpp
Modified: ctp2_code\gs\gameobj\Advances.h
Modified: ctp2_code\gs\gameobj\GoodyHuts.cpp
Modified: ctp2_code\gs\gameobj\GoodyHuts.h
|
|
|  |
 |
|
ctplinuxfan
|
|
Revision 403
Changed paths:
M /branches/linux
r1615@linux3: holger | 2005-06-28 23:27:16 +0200
- temporary Makefile.am for main program to resolve linker issues
- further header case fixes
- fixed loop variable scopes for behaviour of current ISO C++ compilers
- commended further garbage after #endif directives, but still some left
- further compile fixes, hopefully all
- changed NETFunc::Keys::key member name to curkey
(multiple inheritance attribute name conflict with NETFunc::Key::key)
- guarded IPC code (mainly PostMessage() calls)
- guarded some win32 ui code (like e.g. ShowWindow)
libs/anet:
- added libbsd.a target, because e.g. debian names it libbsd-compat.a
- added test program output files in svn:ignore
Changes by Johannes Sixt
- merged in further aui_code
- added nowin32.cpp (original winuser.cpp)
|
|
|  |
 |
|
devoblue
|
|
Revision 404
Modified: ctp2_code\gs\world\wldgen.cpp
Using /importmap to import a text map no longer causes the river mouths to be deleted
|
|
|  |
 |
|
ctplinuxfan
|
|
Revision 405
[edit:] Merge from /trunk to /branches/linux
r1619@linux3: holger | 2005-06-30 17:57:34 +0200
r1611@linux3 (orig r401): Fromafar | 2005-06-27 23:03:31 +0200
Corrected Slic crashes, moved the pool creation out of SlicEngine to reuse it
over multiple instances.
r1613@linux3 (orig r402): john | 2005-06-28 19:46:07 +0200
- Further alteration to allow for fewer than 3 civs
- Removed automatic tutorial advice on low difficulty settings
- Updated playtest readme
r1617@linux3 (orig r404): devoblue | 2005-06-30 16:45:27 +0200
Using /importmap to import a text map no longer causes the river mouths to be
deleted - 2005-07-01 Shaun Dove
Revision 406
r1620@linux3: holger | 2005-06-30 18:21:25 +0200
- added ParseCommandLine prototype,
TBD: implementation
- fixed merged compile errors, added EndGameWindow.cpp to ctp2_code/Makefile.am
Last edited by ctplinuxfan on 30-06-2005 at 23:39
|
|
|  |
 |
|
Fromafar
|
|
Revision 407 (trunk) Repaired crashes, linux synchronisation
Repaired crash when trying to draw a path without having an order selected (probably the DrawLegalMove crash).
Modified: ctp2_code\gfx\tilesys\TileHighlight.cpp
Repaired AOM crashes + memory black hole when using the city screen.
Modified: ctp2_code\gs\gameobj\CityData.cpp
Modified: ctp2_code\ui\interface\controlpanelwindow.cpp
Modified: ctp2_code\ui\interface\controlpanelwindow.h
Repaired crashes with some production finished messages.
Modified: ctp2_code\gs\slic\SlicArray.cpp
Modified: ctp2_code\gs\slic\SlicContext.cpp
Linux synchronisation.
Modified: ctp2_code\gfx\tilesys\tiledmap.cpp
Modified: ctp2_code\gfx\tilesys\tiledmap.h
Modified: ctp2_code\gfx\tilesys\tiledraw.cpp
Modified: ctp2_code\gfx\tilesys\tiledrawroad.cpp
Modified: ctp2_code\gs\slic\SlicEngine.cpp
Modified: ctp2_code\gs\slic\SlicEngine.h
Modified: ctp2_code\gs\slic\SlicFrame.cpp
Modified: ctp2_code\gs\slic\SlicSegment.cpp
Modified: ctp2_code\gs\slic\sliccmd.l
Modified: ctp2_code\gs\slic\slicobject.cpp
|
|
|  |
 |
|
Fromafar
|
|
Revision 408 (trunk)
Added some missing statements to the fix of revision 407
Modified: ctp2_code\gs\slic\SlicContext.cpp
|
|
|  |
 |
|
ctplinuxfan
|
|
Revision 409
Merged /trunk changes to /branches/linux
r1623@linux3 (orig r407): Fromafar | 2005-06-30 20:27:15 +0200
Repaired crashes + partial linux synchronisation
Repaired crash when trying to draw a path without having an order selected (pr
obably the DrawLegalMove crash).
Modified: ctp2_code\gfx\tilesys\TileHighlight.cpp
Repaired AOM crashes + memory black hole when using the city screen.
Modified: ctp2_code\gs\gameobj\CityData.cpp
Modified: ctp2_code\ui\interface\controlpanelwindow.cpp
Modified: ctp2_code\ui\interface\controlpanelwindow.h
Repaired crashes with some production finished messages.
Modified: ctp2_code\gs\slic\SlicArray.cpp
Modified: ctp2_code\gs\slic\SlicContext.cpp
Linux synchronisation.
Modified: ctp2_code\gfx\tilesys\tiledmap.cpp
Modified: ctp2_code\gfx\tilesys\tiledmap.h
Modified: ctp2_code\gfx\tilesys\tiledraw.cpp
Modified: ctp2_code\gfx\tilesys\tiledrawroad.cpp
Modified: ctp2_code\gs\slic\SlicEngine.cpp
Modified: ctp2_code\gs\slic\SlicEngine.h
Modified: ctp2_code\gs\slic\SlicFrame.cpp
Modified: ctp2_code\gs\slic\SlicSegment.cpp
Modified: ctp2_code\gs\slic\sliccmd.l
Modified: ctp2_code\gs\slic\slicobject.cpp
Revision 410
Changed paths:
M /branches/linux/ctp2_code/robot/utility/roboinit.cpp
M /branches/linux/ctp2_code/ui/aui_common/aui_hypertextbox.cpp
r1628@linux3: holger | 2005-07-03 18:53:49 +0200
Bugfixes by Johannes Sixt:
- Corrected invalid call to destructor
- corrected wrong sscanf cbr parameter
Revision 411
Changed paths:
M /branches/linux/ctp2_code/ui/interface/controlpanelwindow.h
r1629@linux3: holger | 2005-07-04 18:55:19 +0200
- fixed player.h include to lowercase
Revision 412
M /branches/linux/ctp2_code/libs/Makefile.am
M /branches/linux/ctp2_code/ui/interface/controlpanelwindow.cpp
r1630@linux3: holger | 2005-07-04 19:58:11 +0200
- readded temporary MapPoint to make code compile on linux
- anet now will only be compiled if Makefile changes or linux86.tar.gz does not exist
|
|
|  |
 |
|
Fromafar
|
|
Revision 413 (trunk) Repaired crash when inciting a revolution succeeds.
Modified: ctp2_code\gs\gameobj\ArmyData.cpp
Lots of small changes (prevented memory leak reports + linux branch synchronisation)
Modified: ctp2_code\gs\gameobj\lots of files
Is there any consistent rule for the case of linux #include files? After seeing a lot of "gold.h" -> "Gold.h" conversions, I now noticed some "Player.h" -> "player.h" ones. I don't want to make life difficult for you, but this is very likely to go wrong when I am making changes. MSVC6 does not complain about anything.
|
|
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:16
|
|
Revision 414 (branches/linux)
(Many files changed)
- Whitespace changes
- Removed '#' modifiers on %d formats in printf statements
- Sorted initializations into initialization order
- Changed some deletion of void* into deletion of other pointers
- Added many casts to sign or unsign integers
- Added parentheses around assignments use as truth values
- Altered several places where the address of a temporary value was being taken
- Reimplemented the problematic varargs code
- Added some header includes
- Made casts from floating point to integer types explicit
- Commented tokens after #endif directives
- Removed some spurious extern modifiers
- Replaced NULL by 0 when used as an integer rather than a pointer
- Made some integer constants explicitly unsigned to avoid conflicting
signedness in comparisons
- Commented out SlicEngine::IsKeyPressed since it is never used, makes little
sense, and caused warnings.
- Added newlines at end of files lacking them
- Made WatchList destructor virtual
- Guarded a #pragma warning
- Removed obsolete strstream headers
Last edited by J Bytheway on 08-07-2005 at 07:48
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:16. Apolyton Time is 00:16. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|