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: CTP2 Source Code Cafe
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 (17): [ <<   9   10   11   12   13   14   15     >> ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
centrifuge is offline centrifuge
Prince
USA
Apr 2002
time: 22:32
  Old Post 14-04-2004 19:58
Edit/Delete Message Reply w/Quote
#331 Report this post to a moderator
Put an end to popups!

Happy B-day, Tamerlin

Gilgamensch is offline Gilgamensch
King
France
Jun 2002
time: 06:32
  Old Post 14-04-2004 19:59
Edit/Delete Message Reply w/Quote
#332 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Just in case people haven't seen it:

(Thanks for Locutus to inform me)

=http://apolyton.net/forums/showthr...eeting/planning

The Big Mc is offline The Big Mc
King
Of the universe / England
Oct 2001
time: 05:32
  Old Post 14-04-2004 20:09 Visit The Big Mc's homepage!
Edit/Delete Message Reply w/Quote
#333 Report this post to a moderator
Full PM-box? Change here!

I think you link is broken

Flinx is offline Flinx
Prince
Toronto, ON CANADA
Nov 2001
time: 00:32
  Old Post 14-04-2004 20:21 Visit Flinx's homepage!
Edit/Delete Message Reply w/Quote
#334 Report this post to a moderator
Support Apolyton buy from Amazon

Eurocom Poly Meet

...because it took me a few tries to fix the link...

Maquiladora is offline Maquiladora
Emperor

Jun 2001
time: 05:32
  Old Post 14-04-2004 20:59 Visit Maquiladora's homepage!
Edit/Delete Message Reply w/Quote
#335 Report this post to a moderator
Tired of ads?

Sounds interesting. If only i wasnt (hopefully) going to Portugal this summer

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 14-04-2004 21:18
Edit/Delete Message Reply w/Quote
#336 Report this post to a moderator
Support Apolyton or Terrorists Win

quote:
Originally posted by child of Thor
Bon Aniverser! something like that


Not far away... Bon anniversaire.

Thanks again!

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 14-04-2004 21:26
Edit/Delete Message Reply w/Quote
#337 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

If someone has not voted for CtP2 in the 4th Official Top Games Poll it is time too as Civilization 3 is ahead of CtP2 by three point.

... relegating Civ3 behind CtP2 would be a nice birthday present.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:32
Post  Old Post 14-04-2004 22:44 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#338 Report this post to a moderator
Support Apolyton, buy Civilization 2

Happy Birthday Tamerlin.







quote:
Originally posted by Tamerlin
... relegating Civ3 behind CtP2 would be a nice birthday present.


Unfortuantyl I already have voted in the poll.

-Martin

Immortal Wombat is offline Immortal Wombat
Prince
in perpetuity
Dec 2000
time: 05:32
  Old Post 14-04-2004 23:37 Visit Immortal Wombat's homepage!
Edit/Delete Message Reply w/Quote
#339 Report this post to a moderator
Support Apolyton buy from Amazon

Happy birthday Tamerlin

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 15-04-2004 00:04 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#340 Report this post to a moderator
Full PM-box? Change here!

Happy birthday Tamerlin .

Keygen is offline Keygen
Emperor
Athens, Hellas
Jan 2000
time: 07:32
  Old Post 15-04-2004 01:31 Visit Keygen's homepage!
Edit/Delete Message Reply w/Quote
#341 Report this post to a moderator
Increase Your PM Length

Happy birthday Tamerlin

How old?

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 15-04-2004 04:02
Edit/Delete Message Reply w/Quote
#342 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Keygen
Happy birthday Tamerlin

How old?


Thanks again everybody...

I am 37... at least physically, mentally is another matter.

One or two more votes for CtP2 and I will have my birthday present.

Last edited by Tamerlin on 15-04-2004 at 04:23

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:32
  Old Post 15-04-2004 16:24 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#343 Report this post to a moderator
Tired of ads?

Happy birthday . Alas, I too have already voted.

Keygen is offline Keygen
Emperor
Athens, Hellas
Jan 2000
time: 07:32
  Old Post 15-04-2004 16:52 Visit Keygen's homepage!
Edit/Delete Message Reply w/Quote
#344 Report this post to a moderator
Suffering from ads?

quote:
Originally posted by Tamerlin

mentally is another matter.




quote:
Originally posted by Tamerlin

One or two more votes for CtP2 and I will have my birthday present.


I've voted for it too but perhaps you could get some satisfaction from the fact that CtP1 is ahead of Civ1 & 3

Tamerlin is offline Tamerlin
King
Toulouse (South-western France)
Apr 2002
time: 06:32
  Old Post 15-04-2004 17:07
Edit/Delete Message Reply w/Quote
#345 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Keygen




quote:
I've voted for it too but perhaps you could get some satisfaction from the fact that CtP1 is ahead of Civ1 & 3


I am already happy about it but my darling is CtP2.

OnePresent is offline OnePresent
Chieftain
NC USA
Jan 2001
time: 00:32
  Old Post 17-04-2004 22:11
Edit/Delete Message Reply w/Quote
#346 Report this post to a moderator
Help yourself to an AD-FREE life

I have virtually no programming experience and have been curious about a couple of points with how this source code process works. And finally have enough nerve to bother you guys and ask.

When someone makes a "fix" to the code how do the new lines of code get into the master file?

Who is in charge of the master file?

Is anyone doing code that the majority don't want done?

And finally, a really lame question that you may not want to tackle. What does compile mean?

Thanks in advance.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:16 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#347 Report this post to a moderator
Put an end to popups!

quote:
When someone makes a "fix" to the code how do the new lines of code get into the master file?


The source code consists of thousands of files. When a fix is done, a few files are modified, maybe just one. For instance, the latest bug fix modified, IIRC, 5 files. They are all then all zipped and posted in the altered source files thread.

Periodically, Martin Guehmann puts together a zip with all updated files. Also periodically, someone compiles the game with the latest changes.


quote:
What does compile mean?

It's the process of turning the source coce files, which contain just text, into a new executable of the game, which can then be put up for download and used by anyone who has the game, regardless of having the source code.

quote:
Is anyone doing code that the majority don't want done?


If you mean if anyone's doing controversial additions, no, currently all additions are fixes to known bugs.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:32
  Old Post 17-04-2004 22:20 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#348 Report this post to a moderator
Support Apolyton or Terrorists Win

Hmm, Solver just beat me to most of the questions, but he left one:

quote:
Originally posted by OnePresent
Who is in charge of the master file?


Noone really, so far we've pretty much worked on basis of common sense (in case of obvious bug fixes) or consensus (in case of design choices). If anyone, whoever compiles the playtest versions (used to be Martin, but now J Bytheway does it) is in charge of what changes are included and what's left out.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:22 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#349 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

quote:
If anyone, whoever compiles the playtest versions (used to be Martin, but now J Bytheway does it) is in charge of what changes are included and what's left out.


Were there any actually left out?

Gilgamensch is offline Gilgamensch
King
France
Jun 2002
time: 06:32
  Old Post 17-04-2004 22:22
Edit/Delete Message Reply w/Quote
#350 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

quote:
Originally posted by OnePresent

And finally, a really lame question that you may not want to tackle. What does compile mean?



That is the more or less easiest question:

On computers there are different kind of languages:

Interpreters, compiler and good old assembler.

Interpreter are programs like good old basic, those are just interpreting your input and are required to be loaded before you can start your program. So without this interpreter you can't run your program.

Compiler is a program in which you write your program, but when you are finished and compile your program it will save all necessary information to run your program stand alone. And compile just means, that it is translated to machine readable instructions. (and telling the programer: You stupid idiot, you forgotten another bracket there and there :doitnow: ) It will make sure, that the program will not crash the computer, but only to certain limits, it is just checking for logical mistakes in itself, so for the syntax, what you do with your program the compiler doesn't and can't check.

Assembler: Won't loose to many words, but that is 'next' to the core. Most efficient, but also most intensive. Hardly ever used nowadays. Cheaper to upgrade PC's than to program efficiently

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:25 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#351 Report this post to a moderator
Support Apolyton

quote:
Compiler is a program in which you write your program, but when you are finished and compile your program it will save all necessary information to run your program stand alone.


Technically, that's not precise. You write your program in just any text editor. Compiler just takes the text and makes into an executable (object files for the linker first, to be precise). Now, there are mostly development environments, like MS Visual Studio, that combine compilers, linkers and text editors for the source, but in fact, all can be separate.

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:30 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#352 Report this post to a moderator
Support Apolyton, buy Civilization 2

Whoah, just noticed two things - the previous post of mine was the post 6000 in this forum, and that at this time of the day, this forum is so amazingly active!

Gilgamensch is offline Gilgamensch
King
France
Jun 2002
time: 06:32
  Old Post 17-04-2004 22:31
Edit/Delete Message Reply w/Quote
#353 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

quote:
Originally posted by Solver
quote:
Compiler is a program in which you write your program, but when you are finished and compile your program it will save all necessary information to run your program stand alone.


Technically, that's not precise. You write your program in just any text editor. Compiler just takes the text and makes into an executable (object files for the linker first, to be precise). Now, there are mostly development environments, like MS Visual Studio, that combine compilers, linkers and text editors for the source, but in fact, all can be separate.


Actually that was and is again correct. It is just as people are changing programs are being adopted. In the good oooooooold times, you had to use the compiler editor to write your text, then it was changed that you can use whatever and now it is being changing to the old status again.......

Jesus........can't users not decide what they want

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:32 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#354 Report this post to a moderator
Get a bigger avatar today!

Gilg, compiler has no function to write in it or whatever. MS Visual C++ environment in which you write is not a compiler - the compiler is a separate part of it, completely.

Like in Linux now, you'll likely use vim or emacs to type up your sources, and then gcc to compile...

Gilgamensch is offline Gilgamensch
King
France
Jun 2002
time: 06:32
  Old Post 17-04-2004 22:36
Edit/Delete Message Reply w/Quote
#355 Report this post to a moderator
Support Apolyton buy from Amazon

OK, if we wan't to split hairs:

The compiler will actually just take any file as input, run it through it's algorythms and produce an executable out of the input file in the form for it's native operation system (also this can be different as well).

But again it is nowadays quite often again a bundle, you might end up using the deplayed editors by the developer to write your input files.

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

quote:
Originally posted by Solver
Were there any actually left out?


Changes that weren't posted in the altered source files thread in file format and those that required to alter the file itsself to make it compartible with the rest, had to wait. For instance the japanese modifications aren't working by just unzipping them over the source, I had to put the files into the directories myself and had to modify, because they weren't working as expected. However the Japanese stuff is not compartible with the rest so you have to define a Makro to get a more japanese friendly version but in fact it is in the source. However that japanese pack indeed contained a piece of code I rejected, that was a no CD crack. For the other code I had to insert it myself into the files, that is some additional work, that should be done by the creator of the new source himself and also Peter's slic implementations, because he didn't post it there, because he wasn't content with them, but I finally decided they are too important not to have even if there might be not finished.

-Martin

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:39 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#357 Report this post to a moderator
Support Apolyton buy from Amazon

Well, with that I would agree . Of course, most text editors that are used for making source files now come packed with all other tools, and do highlighting of keywords and other stuff for you.

A minor nitpick might be that a compiler doesn't produce an executable. It produces object files, which are in binary format, therefore are not code, but can't yet be executed - a linker creates an executable from object files. The difference is small for a small program, but in CtP2, the compiler would just generate an object file for each source file, while linker would take its time putting it all together.

If the source files contain no syntax errors, they will compile. However, if they're calling functions implemented in a non-existient third-party library, for instance, they won't link. Like what happens to CtP2 source if you try to build the game without the DirectX/Media SDKs from MS.

Gilgamensch is offline Gilgamensch
King
France
Jun 2002
time: 06:32
  Old Post 17-04-2004 22:45
Edit/Delete Message Reply w/Quote
#358 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

quote:
Originally posted by Solver
Well, with that I would agree . Of course, most text editors that are used for making source files now come packed with all other tools, and do highlighting of keywords and other stuff for you.

A minor nitpick might be that a compiler doesn't produce an executable. It produces object files, which are in binary format, therefore are not code, but can't yet be executed - a linker creates an executable from object files. The difference is small for a small program, but in CtP2, the compiler would just generate an object file for each source file, while linker would take its time putting it all together.

If the source files contain no syntax errors, they will compile. However, if they're calling functions implemented in a non-existient third-party library, for instance, they won't link. Like what happens to CtP2 source if you try to build the game without the DirectX/Media SDKs from MS.


Actuallz a minor correction from my side:

No, it depends on the compiler: Old compilers just produced an executable, only nowadays it works the way you described Always those youngsters sweet old times Remembers me of the good old times, when you even had problems creating some 'bigger' programs, good old limit off 500k..........There must have been ever more limits before I started, but what I remember are 500k............unless you would have had the 'deluxe' version...........

Solver is offline Solver
Apolyton Duke Of Something
Latvia, Riga
Sep 2000
time: 07:32
  Old Post 17-04-2004 22:48 Visit Solver<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#359 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Oh true, the days when 512 kb (not 500 ) was a limit were either beatiful, or a major pain, depends on how you look at it. At least, well, you couldn't have problems with 3000 source lines because you wouldn't fit that much code anyway . I will though admit that I haven't written programs with those limits, although I did run some shameless experiements on compiling 16-bit COM exeuctables just recently.

Locutus is offline Locutus
ACS CTP1/2 Manager & Civ4 Co-Manager
Hengelo, The Netherlands
Nov 1999
time: 06:32
  Old Post 17-04-2004 22:49 Visit Locutus<br><img src=/forums/images/staff-icon.gif>'s homepage!
Edit/Delete Message Reply w/Quote
#360 Report this post to a moderator
Support Apolyton buy from Amazon

It seems Gilg is one of those technical gurus who couldn't explain something in terms mortal beings can understand if he wanted to I see a lot of those people around me so I can always spot them right away

Solver is not quite that far gone yet

 
Pages (17): [ <<   9   10   11   12   13   14   15     >> ]
< 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.0610 seconds (88.65% PHP - 11.35% 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