Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Call To Power II > CtP2-Source Code Project > PROJECT: Revision Reports
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
CivGroups
CTP2 Source Code Project (59): Not a Member - Join

bottom of page
  
Author
Thread   
Pages (4): [ 1   2   3   4   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 15-05-2005 21:12 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
PROJECT: Revision Reports Support Apolyton, buy Alpha Centauri

The PROJECT: Altered source files has hit the 500 post limit and actual its name doesn't really reflect its content, instead of altered source files it now contains revision reports.
Here is the start of the PROJECT: Altered source files thread.

And here is the end of the PROJECT: Altered source files thread.

For the first post of this thread I thought I add a small tutorial for TortoiseSVN:

It just contains the basics:

0. Getting TortoiseSVN
1. Checking out the repository
2. Updating your local copy
3. Commiting your changes
4. The log message window


0. Getting TortoiseSVN

You can get TortoiseSVN here for free.


1. Checking out the repository

First before you can check out the repository you need to ask Klaus for an account on the server, he needs a username and a password from you and you have to state that you agree to comply with the Activision license. You can use PM or email: klaus (the_odd_a_with_the_cycle_around) kaan (the_dot) dk

Note that I don't write email addresses into forums, otherwise we have to start to fight spam. So you have to know what (the_odd_a_with_the_cycle_around) and (the_dot) are.

To obtain a working copy you need to do a checkout from a repository.

Select a directory in windows explorer where you want to place your working copy. Right click to pop up the context menu and select the command Checkout...

That brings up a dialog box, there you have to fill in two things:

I. The URL of the repository, which in our case is:
svn://ctp2.kaan.dk/ctp2/trunk

Of course you can also checkout svn://ctp2.kaan.dk/ctp2/ but this gives you a copy of all branches and tags and gives you a lot of 100 MB more than you actual need.

II. The checkout directory on your harddrive, note that this directory must be empty if it exists, if it doesn't exists it is created.


2. Updating your local copy

Occasionally you may want changes done by others to get incorporated in your local working copy. The process of getting changes from the server to your local copy is known as updating. Updating may be done on single files, a set of selected files, or recursively on entire directory hierarchies. To update, select the files and/or directories you want, right click and select Update in the explorer context menu. A window will pop up displaying the progress of the update as it runs. Changes done by others will be merged into your files, keeping any changes you may have done to the same files. The repository is not affected by an update.

The progress dialog uses colour coding to highlight different update actions

Blue
New item added to your WC.

Dark red
Redundant item deleted from your WC.

Green
Changes from repository successfully merged with your local changes.

Bright red
Changes from repository merged with local changes, resulting in conflicts which you need to resolve.

Black
All other items.

If you get any conflicts during an update (this can happen if others changed the same lines in the same file as you did and those changes don't match) then the dialog shows those conflicts in red. You can double click on these lines to start the external merge tool to resolve the conflicts.


3. Commiting your changes

Sending the changes you made to your working copy is known as committing the changes. But before you commit you have to make sure that your working copy is up to date. You can either make an Update directly. Or you can Check for Modifications first, to see which files have changed locally or on the server.

If your working copy is up to date and there are no conflicts, you are ready to commit your changes. Select any file and/or folders you want to commit and select Commit... from the context menu.

The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file. If you want to include an unversioned file, just check that file to add it to the commit.

The commit dialog has two fields one text field at the top for the Revision comment. And a file list in the middle for the files you have added/modified/deleted.

To fill the revision message you can use the button Paste Changed file names first. This pastes the changed file names into the revision message. Now you can add your descriptions to into that box. Make sure that the first line of your message contains something descriptive as a title of your whole revision or at least the description of your first modification you mention there.

Never leave this first line empty or fill it with a file path, because TortoiseSVN uses the first line of the message as title in the log messages window.

Once this is done you can press the OK button to commit your changes.

If you copy your log message before you press OK you can post it here easily. If you forget this you can still copy it from the Log Messages window.


4. The log message window

You can access it for instance from the TortoiseSVN subcontext menu. You just have to right click on a directory under version controll and you have the three TortoiseSVN options there: SVN: Update, SVN Commit... and TortoiseSVN, use the last option to access the subcontext menu the option Show Log the option Show Log is at the top of the subcontext menu.

The Log Dialog retrieves all those log messages you have to write for each revision and shows them to you. The display is divided into 3 panes.

The top pane shows a list of revisions where changes to the file/folder have been committed. This summary includes the date and time, the person who committed the revision and the start of the log message.

Lines shown in blue indicate that something has been copied to this development line (perhaps from a branch).

The middle pane shows the full log message for the selected revision.

The bottom pane shows a list of all files and folders that were changed as part of the selected revision.

But it does much more than that - it provides context menu commands which you can use to get even more information about the project history.

To shorten this here one important feature of the bottom pane is that you can compare a file with the version of the previous revision, so you can spot all the changes very easily. To do this just right click the file you want to compare and use the Show Differences.


Well this above is only the most important part of the TortoiseSVN help I ripped off and filled with some specific details. If you want to know more then please read the TortoiseSVN help.

-Martin

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 16-05-2005 04:03 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Remove this text

Revision 351

Reinserted comments from DirectX 9.0b versions of vidplay.h and vidplay.cpp into CTP2 versions of these files
modified ctp2_code/ui/aui_utils/vidplay.cpp
modified ctp2_code/ui/aui_utils/vidplay.h

Fromafar is offline Fromafar
Prince

May 2003
time: 06:16
  Old Post 17-05-2005 03:36
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Get a bigger avatar today!

Revision 352 Small corrections

modified ctp2_code/ai/ctpai.cpp - moved variable inside #ifdef where it is used
modified ctp2_code/ctp/civ3_main.cpp - repaired log output containing negative memory sizes
modified ctp2_code/gs/dbgen/ctpdb.cpp - corrected misplaced #else
modified ctp2_code/gs/gameobj/ArmyData.cpp - prevented crash, removed a funny comma operator in a condition
modified ctp2_code/gs/slic/SlicFunc.h - corrected return type of CreateUnit
modified ctp2_code/ui/interface/EditQueue.cpp - repaired memory leaks

Note for ctplinuxfan: _MSC_VER for MSVC 6 is 1200. This version does support #pragma once.

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 18-05-2005 01:39 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Put an end to popups!

Revision 353

Changed paths:
M /trunk/Makefile
M /trunk/doc/user
A /trunk/doc/user/Apolyton_README.txt
M /trunk/doc/user/Makefile

doc/user
- Added playtest readme (without changelog)
- Added Makefile target to create ChangeLog.txt

Makefile
- Added commands to put readme and changelog in playtest version

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 18-05-2005 05:23 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Revision 354
Changed paths:
M /trunk/Makefile
D /trunk/ctp2_program
M /trunk/doc/user/Apolyton_README.txt

ctp2_program
- Removed the (now empty) ctp2_program directory

doc/user/Apolyton_README.txt
- Put the brief changelog back into the readme and updated it to reflect recent
changes

Makefile
- Changed to stop appstr.txt being added to the playtest version

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 18-05-2005 23:03 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Revision 355

Corrected food, productiona and gold boni assignement from terrain goods.
modified ctp2_code/gs/world/Cell.cpp
modified ctp2_code/gs/world/UnseenCell.cpp
modified ctp2_code/gs/world/World.h
modified ctp2_code/gs/world/WrlEnv.cpp

Fromafar is offline Fromafar
Prince

May 2003
time: 06:16
  Old Post 19-05-2005 03:24
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Full PM-box? Change here!

Revision 356 Crashes and Asserts

modified ctp2_code/gfx/spritesys/SpriteGroupList.cpp - prevented crash when loading a file
modified ctp2_code/gfx/spritesys/UnitSpriteGroup.cpp - Assert for battlefield removed
modified ctp2_code/gs/gameobj/Happy.cpp - try to prevent smoking crack Asserts
modified ctp2_code/gs/gameobj/Happy.h
modified ctp2_code/net/general/net_happy.cpp
modified ctp2_code/gs/newdb/CTPDatabase.cpp - removed unnecessary heap access
modified ctp2_code/ui/aui_common/aui_region.cpp - prevented crash
modified ctp2_code/ui/aui_ctp2/c3imageformats.cpp - report load failures

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 20-05-2005 03:12
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Suffering from ads?

Revision 357
- fixed cases of included headers for cased filesystems
- changed: #include <SDL_endian.h>

---
Merged from local repository:
r358@linux3: holger | 2005-05-19 12:50:59 +0200

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 20-05-2005 03:15
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Inflate your Upload Space

Revision 358
- Fixed quite some headers to get c3errors.cpp to compile on linux
- Big include filename case fix (part2)
- circular dependency fix for non-windows systems in gameobj/Civilisation*
- Moved CalculateHash() from aui_UI to aui_Base to unroll dependencies for
non-windows systems
- fixed size_type in tech_memory.h, added STL-delete[] for non-MSVC

Further changes:
Autotools:
- Disabled COM-Replacement on WIN32
- added libs/ includes
- added some more sources to ctp/Makefile.am (still far from complete)
- fixed wrong fileseperator definitions for win32
- added stub directx/dxmedia macros

Data:
- Added Johannes Sixt to credits.txt

Changes by Johannes Sixt:
- added windows stub definitions for non-windows systems
---
Merged from local repository:
r359@linux3: holger | 2005-05-19 23:49:49 +0200

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 22-05-2005 07:00 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Put an end to popups!

Revision 359
Changed paths:
M /trunk/Makefile
M /trunk/doc/README.txt
A /trunk/doc/common
A /trunk/doc/common/images (from /trunk/doc/dev/images:358)
M /trunk/doc/dev/Makefile
M /trunk/doc/dev/ctp2_dev.tex
D /trunk/doc/dev/images
M /trunk/doc/user
D /trunk/doc/user/Apolyton_README.txt
D /trunk/doc/user/Makefile
A /trunk/doc/user/manual
A /trunk/doc/user/manual/Makefile
A /trunk/doc/user/manual/include
A /trunk/doc/user/manual/include/*.tex
A /trunk/doc/user/manual/user_manual.tex
A /trunk/doc/user/playtest
A /trunk/doc/user/playtest/Apolyton_README.txt (from /trunk/doc/user/Apolyton_README.txt:358)
A /trunk/doc/user/playtest/Makefile (from /trunk/doc/user/Makefile:358)

- Added initial version of user manual
- Moved playtest documentation into its own directory
- Moved common documentation files out of doc/dev into doc/common
- Updated doc/README.txt
- Changed various Makefiles appropriately

Last edited by J Bytheway on 17-07-2005 at 19:20

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 23-05-2005 02:27
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton

Revision 360
r457@linux3: holger | 2005-05-22 20:14:31 +0200
- added anet 0.10 sources from http://www.kegel.com/anet/

Revision 361
r458@linux3: holger | 2005-05-22 20:56:49 +0200
- Fixed AC/AM command order
- Fixed Makefile use in GNUMakefile.am for VPATH configuration
- added stub gs/newdb/Makefile.am to make sure
gs/newdb will be created in VPATH configuration
- #pragma once guarded in #ifdef HAVE_PRAGMA_ONCE
- added rules for .cdb files to ctp/Makefile.am
- added ctp2_enums.h for gcc (lack of support for forward decls of enums)
- further header filecase fixes
- commented out ctpregistry.{h,cpp} for non-win32 systems
- commented out ddhelp.{h,cpp} for non-SDL ui builds

Changes merged by Johannes Sixt:
- added definitions of loop variables in front of loops
(according to c++ standard, names are valid within loop only)

Revision 362
Changed paths:
M /trunk
M /trunk/ctp2_code/os/linux

r459@linux3: holger | 2005-05-22 21:03:52 +0200
- Corrected svn:ignore properties

Revision 363
------------------------------------------------------------------------
r363 | ctplinuxfan | 2005-05-22 22:43:18 +0200 (Sun, 22 May 2005) | 2 lines
Changed paths:
A /branches/linux (from /trunk:362)

- created branch linux (in branches/linux)

Revision 364
Changed paths:
M /branches/linux
M /branches/linux/ctp2_code/ctp/ctp2_utils/c3files.cpp
M /branches/linux/ctp2_code/ctp/ctp2_utils/c3files.h
M /branches/linux/ctp2_code/ctp/ctp2_utils/netconsole.cpp
M /branches/linux/ctp2_code/ctp/ctp2_utils/tracklen.cpp
M /branches/linux/ctp2_code/ctp/ctp2_utils/tracklen.h
M /branches/linux/ctp2_code/ctp/debugtools/debugcallstack.cpp
M /branches/linux/ctp2_code/gs/dbgen/Datum.cpp
M /branches/linux/ctp2_code/gs/gameobj/message.h
M /branches/linux/ctp2_code/gs/gameobj/player.h

r465@linux3: holger | 2005-05-22 23:00:04 +0200
- Added linux code for c3files.cpp, changed drive letter to drive number
- Fixed code generated by ctpdb
- Added linux code for tracklen.cpp, changed drive letter to drive number
- commented out debugging code in debugcallstack.cpp (this should be done
by a debugger and is to platform specific to generalize)

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 23-05-2005 02:43
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Lose 30 kilos (of popups)

Due to hardware upgrade to AMD64 my XP doesn't boot anymore, so I created a linux branch which contains further changes on the linux port which haven't been tested on windows.

It would be great if someone can checkout svn://ctp2.kaan.dk/branches/linux from time to time and test if the code still compiles/works under windows.
If a checked out revision works, the changes of that revision can be merged to /trunk.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 23-05-2005 03:37
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Support Apolyton buy from Amazon

Revision 365
Changed paths:
M /branches/linux/configure.in
M /branches/linux/ctp2_code/ctp/Makefile.am

r467@linux3: holger | 2005-05-23 00:23:28 +0200
- Added executable-detection for future autotools based Makefiles for doc
- Added missing dependency for gs/newdb/EndGameObjectRecord.cpp

Revision 366
Changed paths:
MM /trunk/ctp2_code/ctp/Makefile.am

r468: holger | 2005-05-23 00:26:25 +0200
- Added missing dependency for gs/newdb/EndGameObjectRecord.cpp

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 23-05-2005 06:54 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Increase the size of your Attachments

A somewhat assorted revision of the things I came up against while trying to make the source compile under linux this evening.

Revision 367
Changed paths:
M /branches/linux/configure.in
M /branches/linux/ctp2_code/ctp/ctp2_enums.h
M /branches/linux/ctp2_code/gfx/spritesys/UnitActor.h
M /branches/linux/ctp2_code/gs/gameobj/AgreementTypes.h
M /branches/linux/ctp2_code/gs/gameobj/Army.h
M /branches/linux/ctp2_code/gs/gameobj/Readiness.h
M /branches/linux/ctp2_code/gs/gameobj/Regard.h
M /branches/linux/ctp2_code/gs/gameobj/Strengths.h
M /branches/linux/ctp2_code/gs/gameobj/TradeRoute.h
M /branches/linux/ctp2_code/gs/gameobj/TradeRouteData.h
M /branches/linux/ctp2_code/gs/gameobj/Unit.h
M /branches/linux/ctp2_code/gs/gameobj/UnitData.h
M /branches/linux/ctp2_code/gs/gameobj/citydata.h
M /branches/linux/ctp2_code/gs/gameobj/player.h
M /branches/linux/ctp2_code/robotcom/Agent/CityAgent.h
M /branches/linux/ctp2_code/robotcom/Top/AiMap.h
M /branches/linux/ctp2_code/ui/aui_common/aui_button.h
M /branches/linux/ctp2_code/ui/aui_common/aui_tabgroup.h
M /branches/linux/ctp2_code/ui/aui_ctp2/c3blitter.h
M /branches/linux/ctp2_code/ui/aui_ctp2/keymap.h
M /branches/linux/ctp2_code/ui/aui_utils/primitives.h
M /branches/linux/ctp2_code/ui/interface/greatlibrary.h

- Moved many enums to deal with enum forward declaration errors
- Include some Unit, Army and TradeRoute constructors only under WIN32
- Fixed some includes
- Put C3Blitter under #ifdef __AUI_USE_DIRECTX__ since base class is
- Corrected error handling in configure script when byacc missing
- Added gpdf as an alternative PDF viewer to acroread

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 23-05-2005 20:48 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Enter the AD-FREE zone

Revision 368
Changed paths:
M /trunk/GNUmakefile.am
M /trunk/Makefile
M /trunk/ctp2_code/ctp/civctp.dsp
M /trunk/ctp2_code/mapgen/Crater.dsp
M /trunk/ctp2_code/mapgen/Plasma2.dsp
M /trunk/ctp2_code/mapgen/fault.dsp
M /trunk/ctp2_code/mapgen/geometric.dsp
A /trunk/doc/user/Makefile
M /trunk/doc/user/playtest/Apolyton_README.txt
M /trunk/doc/user/playtest/Makefile

- Added include paths to projects to fix missing header errors
- Updated playtest readme
- Fixed various Makefile problems
- Added commands to copy user manual to playtest

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 26-05-2005 18:28
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Revision 369
r1566@linux3: holger | 2005-05-26 15:22:02 +0200
- fixed further #pragma once warnings
- added memory detection for linux in civ3_main.cpp
- fixed fontpaths for linux
- added initialization of SDL-Objects
- disable WIN32 specific code on !WIN32
- merged changes of ctp2_enums.h
- copied some aui_directx files as templates for sdl implementations

Changes by Johannes Sixt:
- Merged SDL Main-loop/Event handling from his civ_main.cpp
(further changes have to merged here)

r1567@linux3: holger | 2005-05-26 15:24:15 +0200
- added kdevelop session file to svn:ignore

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 27-05-2005 05:39 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Lose 30 kilos (of popups)

Revision 370
Changed paths:
M /branches/linux
M /branches/linux/ctp2_code/ctp/Makefile.am
M /branches/linux/ctp2_code/ctp/civ3_main.cpp
M /branches/linux/ctp2_code/ctp/civapp.cpp
M /branches/linux/ctp2_code/ctp/display.cpp
M /branches/linux/ctp2_code/ctp/display.h
M /branches/linux/ctp2_code/gs/events/GameEventDescription.h
M /branches/linux/ctp2_code/gs/fileio/prjfile.h
M /branches/linux/ctp2_code/gs/gameobj/message.h
M /branches/linux/ctp2_code/gs/slic/SlicBuiltinEnum.h
M /branches/linux/ctp2_code/gs/slic/SlicEngine.h
M /branches/linux/ctp2_code/net/io/net_io.h
M /branches/linux/ctp2_code/os/nowin32/windows.h
M /branches/linux/ctp2_code/ui/aui_ctp2/radarmap.h

.
- Added config.cache to svn:ignore

os/nowin32/windows.h
- Added some display-related types

ctp/display.{h,cpp}
- Renamed GUID field on DisplayDevice struct to stop compiler choking

ctp/civapp.cpp
- Guarded some COM calls under #ifndef USE_COM_REPLACEMENT
- Added several alternative SDL calls to DirectX GetTickCount()
- Added linux alternative nanosleep to Sleep

ctp/civ3_main.cpp
- Changed two NULLs to 0s to suppress warnings

ctp/Makefile.am
- Added touch commands to ctp/Makefile.am to ensure modification dates on
targets are updated and so prevent make becoming confused
- Interchanged last two include directories because for some reason .../ai
wasn't being included for me (an automake bug?)

gs/gameobj/message.h
- Changed an MSC_VER to a WIN32 for consistency

gs/fileio/prjfile.h
- Added a (presumed) missing #else

gs/slic/SlicBuiltinEnum.h
- Guarded another #pragma

gs/slic/SlicEngine.h, ui/aui_ctp2/radarmap.h
- Fixed some enum references

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 28-05-2005 01:00 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Avatar Enlargement: We've got the solution

Changes necessary to make the linux version compile under Windows again:

Revision 372
Changed paths:
M /branches/linux/ctp2_code/ctp/ctp2_enums.h
M /branches/linux/ctp2_code/ctp/ctp2_utils/c3files.cpp
M /branches/linux/ctp2_code/ctp/ctp2_utils/tracklen.cpp
M /branches/linux/ctp2_code/ctp/display.h
M /branches/linux/ctp2_code/gs/gameobj/Regard.h

tracklen.cpp
- Moved duplicate variable declaration

c3files.cpp
- Reverted change which had broken the CD checker

display.h
- Added standard header to describe changes in last revision

ctp2_enums.h
- Replaced inaccurate header
- Removed #includes to remove the need for more include paths in the subsiduary
projects

Regard.h
- Added missing #if

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 28-05-2005 01:50 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Support Apolyton buy from Amazon

...and now to fix the things I just broke under linux

Revision 373
Changed paths:
M /branches/linux/ctp2_code/ctp/ctp2_utils/c3files.cpp
M /branches/linux/ctp2_code/gs/database/CivilisationDB.h
M /branches/linux/ctp2_code/gs/gameobj/player.h

c3files.cpp
- Applied a different fix to the problem of the CD volume names

CivilisationDB.h, player.h
- Added #includes to make up for the removals in ctp2_enums.h in the last
revision

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 28-05-2005 02:57
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Get a bigger avatar today!

Again too long to include files modified...
Revision 374
r1574@linux3: holger | 2005-05-27 23:53:23 +0200
- Merged in changes from /trunk
- added warnings to C{,XX}FLAGS
- added double uintnn definitions by libtiff headers
- some VC++ pragmas guarded in #ifdef _MSC_VER
- guarded some #pragma once in #ifdef HAVE_PRAGMA_ONCE
- further include case fixes
- added std:: namespace prefix for STL-code in headers
- missing // added for comments after #endif
- COM initialization turned on again for WIN32 (due to movies)
- typename aui_DirectSurface -> aui_Surface in parameters
(increase portability, DD() is also in c3_UI)
- added aui_Factory::new_Surface for implementation independent
generation of aui_Surface instances (caller must care of delete)
- fixed invalid initializations of non-pointer types with NULL
- started adding extra size attributes and getters due to missing _msize()
under other operating systems than windows
- moved loop variable definitions out of loops to get iso c++ compliant code
- changed some parameters to const type & to prevent errors when passing
objects
- added aui_Surface::Blank(const uint32 &color) to fill a surface with color
- improved portability of pathnames
- replaced _stricoll with stricmp calls (one implementation is enough)
- added missing enum symbols to switches (just to reduce compiler warnings)
- fixed lazy handling of some non-const c cbr-datatypes passed to
const parameters
- added missing enumerations in GameOver.h:
GAME_OVER_LOST_OVERRUN_BY_SMURFS, GAME_OVER_WON_WORMHOLE
- template typename fixes
- resolved and removed some forward declarations
- renamed IUnknown to ICTP2Unknown
- added missing IC3CivArchive::IsStoring() for COM_REPLACEMENT
- made some destructors of virtual classes virtual
- changed some variables and attributes storing sizes to datatype size_t

Changes merged in by Johannes Sixt sources:
- inline _asm code translated to C++ code
- Event system fixes (type punned pointers unsupported on gcc)
i.e. especially GameEventManager, GameEventArgument and others
- added functions and prototype definitions to windows.h

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 28-05-2005 03:00
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Remark on branch
/branches/linux:

Note, that aui_stuff should not compile under windows. The aui_direct* classes need to be reimplemented to exchange directx instances themselves, but not with the remainder of the code.

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 28-05-2005 03:12
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Increase Your PM Length

Revision 375
Changed paths:
M /branches/linux
M /branches/linux/ctp2_code/gfx/spritesys/directoractions.h

r1576@linux3: holger | 2005-05-28 00:11:08 +0200
- GAME_OVER enum fix

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 29-05-2005 01:44
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Small patch of another 100 files, here we go...

Revision 376
Changed paths:
M /branches/linux

r1578@linux3: holger | 2005-05-28 20:19:17 +0200
- deleted Makefile for non-gnu $(MAKE) portability
- deleted GNUmakefile.am for non-gnu $(MAKE) portability
- further filename fixes
- new target: libgsnewdb.la, so Makefile.am can be autogenerated by
ctpdb in future
- added hopefully all needed .cpp sources to ctp/Makefile.am
- further porting of win32 related code
- fixed still some const instances for const return types
- fixed some references where const references should be used
- further pathnames portability fixes
- wrong argument datatypes fixed

Changes merged by Johannes Sixt sources:
- GameEvent system non-POD arg fixes
- stub prototype for _fullpath

r1579@linux3: holger | 2005-05-28 22:34:57 +0200
- moved Makefile.am to GNUmakefile.am again
- pragma once fixes in 2 headers
- #include in windows.h
- svn:ignore properties fixed

[Edit]: Makefile and GNUmakefile.am reverted in my local r1579, so effectively nothing has changed

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 29-05-2005 03:39 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Increase Your PM Length

Revision 377

Corrected using the wrong global variablesm, if you use the preprocessor to replace symbol names you should replace at least all the non global ones. Global variables have external linkage that is a problem if you do it like here. Hopefully it fixes also unautorisized memory usage.
modified trunk/ctp2_code/gs/slic/scyaccdefs.h
modified trunk/ctp2_code/ui/ldl/ldlyaccdefs.h

Some cosmetic changes, while I was searching for the cause of the unauthorised memory usage. Like whitespace usage and comments.
modified trunk/ctp2_code/gs/gameobj/player.h
modified trunk/ctp2_code/gs/gameobj/UnitData.cpp
modified trunk/ctp2_code/gs/slic/slicif.cpp
modified trunk/ctp2_code/gs/utility/stringutils.cpp
modified trunk/ctp2_code/gs/utility/TurnCnt.cpp
modified trunk/ctp2_code/ui/interface/greatlibrary_util.cpp

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:16
  Old Post 29-05-2005 23:51 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

Revision 378
Changed paths:
M /branches/linux/*

- Guarded many #pragma once directives
- Added svn:executable property on autogen.sh

ctplinuxfan is offline ctplinuxfan
Warlord

Jan 2004
time: 06:16
  Old Post 30-05-2005 23:58
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Full PM-box? Change here!

Revision 379
Changed paths:
M /branches/linux

r1582@linux3: holger | 2005-05-29 16:10:45 +0200
- Merging changes by Martin Gühmann: r377@ctp2.kaan.dk/ctp2/trunk

r1585@linux3: holger | 2005-05-30 20:55:39 +0200
- Guarded some VC++ related pragmas
- fixed datatype of arguments to uLong for zlib calls
- added SDL_thread code
- interface methods in IC3CivArchive fixed to public
- fixed some temporary instance problems by creating a new object instance
in these blocks
- fixed datatype of size arguments to size_t
- added DBL_MAX define
- Fixed filecases in ctp/Makefile.am
- simplified gs/newdb/Makefile.am
- removed L postfix of arguments to std::max/std::min template, so
no compiler errors occur when u* datatype isn't long
- moved further loop variable declarations out of loop body
- added code in aui_Mouse
- commented out code in aui_Movie for !SDL
- commented out code in aui_Redbook for !SDL, need to revert changes
in ctp2_utils first
- commented out 8bit palette code in aui_Pixel (we use 16 bit)

Changes merged from Johannes Sixt sources:
- LOWORD and HIWORD macros
- prototype additions in windows.h
- SetFocus() replacement: Global windows instance g_winFocus
(definition must be added somewhere, later)
- use memcpy in aui_Blitter instead of asm code
- commented out aui_Font code completly for !SDL

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:16
Post  Old Post 05-06-2005 20:38 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Revision 380

Savegames can now be reloaded if they were saved with a version of the game with less goods in the database4 than the current version, even if the extra goods were inserted in the middle. Trade routes are also fixed. So loading the Activision scenarios should work again. Note that these old savegames don't contain any extra goods.
modified trunk/ctp2_code/gs/gameobj/CityData.cpp
modified trunk/ctp2_code/gs/gameobj/Player.cpp
modified trunk/ctp2_code/gs/gameobj/Resources.cpp
modified trunk/ctp2_code/gs/gameobj/Resources.h
modified trunk/ctp2_code/gs/gameobj/TradeRouteData.h
modified trunk/ctp2_code/gs/utility/gameinit.cpp
modified trunk/ctp2_code/gs/world/wldgen.cpp

Disabled some experimental changes in the slider algorithm that slipped though last time.
modified trunk/ctp2_code/ai/CityManagement/governor.cpp

Fromafar is offline Fromafar
Prince

May 2003
time: 06:16
  Old Post 06-06-2005 22:12
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Support Apolyton buy from Amazon

Revision 381 Crash preventions + linux branch synchronisation

All files are from ctp2_code\gfx\tilesys:

modified BaseTile.h - revision 374 from linux branch
modified maputils.h - revision 374 from linux branch
modified tiledmap.cpp - crash preventions on game startup and exit, linux branch changes
modified tiledmap.h - partial application of linux branch changes
modified tiledraw.cpp - partial application of linux branch changes
modified TileDrawRoad.h - revision 374 from linux branch
modified TileInfo.h - revision 374 from linux branch
modified tileset.cpp - revision 374 from linux branch
modified tileset.h - revision 374 from linux branch
modified tileutils.cpp - linux changes
modified workmap.h - linux changes

Fromafar is offline Fromafar
Prince

May 2003
time: 06:16
  Old Post 07-06-2005 00:55
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Support Apolyton, buy Call to Power 2

Revision 382 Crash prevention, more linux branch synchronisation

modified ctp2_code/ai/strategy/scheduler/Goal_And_Squad_Types.h - linux branch synchronisation
modified ctp2_code/ai/strategy/scheduler/Plan.cpp - crash prevention, clean up
modified ctp2_code/ai/strategy/scheduler/Plan.h - clean up
modified ctp2_code/ai/strategy/scheduler/scheduler_types.h - linux branch synchronisation
modified ctp2_code/ai/strategy/squads/Squad.h - linux branch synchronisation
modified ctp2_code/ai/strategy/squads/squad_Strength.h - linux branch synchronisation
modified ctp2_code/gfx/tilesys/resourcemap.h - corrected compiler complaint

Fromafar is offline Fromafar
Prince

May 2003
time: 06:16
  Old Post 10-06-2005 22:51
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Revision 383 Memory cleanup + linux branch synchronisation

modified ctp2_code/ai/CityManagement/governor.cpp - added cleanup function
modified ctp2_code/ai/CityManagement/governor.h - added cleanup function, structure
modified ctp2_code/ai/ctp2/ctp_types.h - linux synchronisation
modified ctp2_code/ai/ctpai.cpp - scheduler and governor cleanup
modified ctp2_code/ai/ctpai.h - linux synchronisation
modified ctp2_code/ai/diplomacy/AgreementMatrix.h - linux synchronisation
modified ctp2_code/ai/diplomacy/Diplomat.h - linux synchronisation
modified ctp2_code/ai/diplomacy/diplomattypes.h - linux synchronisation
modified ctp2_code/ai/diplomacy/Foreigner.h - linux synchronisation
modified ctp2_code/ai/diplomacy/ProposalAnalysis.h - linux synchronisation
modified ctp2_code/ai/strategy/scheduler/scheduler.cpp - added cleanup function
modified ctp2_code/ai/strategy/scheduler/Scheduler.h - added cleanup function
modified ctp2_code/gs/gameobj/Player.cpp - structure, partial linux synchronisation
modified ctp2_code/gs/gameobj/player.h - structure, partial linux synchronisation

 
Pages (4): [ 1   2   3   4   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:16.
Apolyton Time is 00:16.
    top of page
Rate This Thread:
Forum Jump:
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
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0844 seconds (93.87% PHP - 6.13% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net