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 > GENERAL: Commented files?
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    < Last Thread     Next Thread > Post New Thread     Post A Reply
Keygen is offline Keygen
Emperor
Athens, Hellas
Jan 2000
time: 07:32
  Old Post 13-11-2003 16:34 Visit Keygen's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
GENERAL: Commented files? Support Apolyton, buy Call to Power 2

I have found two files with comments inside:

..\ctp2_code\ai\list-fixed

&

..\ctp2_code\gs\dbgen\lex.yy.c

The first one according to the comments at the bottom of the file is not a property of Activision. The second one is a file generated by flex when dbgen files are compiled.

If you know of any such file post it here.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:32
Post  Old Post 13-11-2003 22:52 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Lose 30 kilos (of popups)

All files with the pattern *Record.* in it. All these database record files are created by the ctpdb.exe. Unfortunatly when I build a ctp2.exe these files aren't generated from the *.cdb files. Also these *.cdb files have comments in it. All these files can be found in the ..\ctp2_code\gs\newdb\ folder.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 15-11-2003 18:41 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

I believe that comments were removed only from *.cpp and *.h files, so all the other file types (*.c, *.cdb, etc.) were missed.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:32
Post  Old Post 15-11-2003 21:51 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Enter the AD-FREE zone

The files in the ..\ctp2_code\gs\newdb\ folder are mostly *.cpp and *.h files with comments, well these files are generated automaticly by ctpdb. As it is stated in a comment in all of these files. As these files are generated automaticly why bother to remove the comments here.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 15-11-2003 22:00 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

I thought that it would have been *impossible* to remove the comments in them, since they didn't exist in the original source distribution, but, looking again, I see that they are in the original distribution, which is slightly strange, but not surprising.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:32
Post  Old Post 15-11-2003 22:04 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations

Without them in the original distribution I would have had another big problem of compiling them, the files on my setup are the ones from the original distribution, that means none of them were build on my system, even if they should have been built.

-Martin

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:32.
Apolyton Time is 00:32.
    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.0379 seconds (84.75% PHP - 15.25% MySQL) with 35 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