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 > AI : Army Movement
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
J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:34
  Old Post 14-03-2005 20:25 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#91 Report this post to a moderator
Support Apolyton buy from Amazon

For those investigating the changes calvitix made, I attach diffs for each of calvitix's submitted alterations (at least, that's what they should be, assuming the version control worked out properly ). There is one file here for each complete submission, in the relatively readable diff format.

Attachment: calvitix_alterations.rar
This has been downloaded 5 time(s).

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 14-03-2005 21:28 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#92 Report this post to a moderator
Help yourself to an AD-FREE life

John is there an option for the diff creation of ignoring white space changes? Unfortunatly the code files of the first 3 diffs submissions contain heavey white space changes, that makes difficuilt to find the real changes.

-Martin

J Bytheway is offline J Bytheway
Emperor
England
Jul 2001
time: 05:34
  Old Post 15-03-2005 00:23 Visit J Bytheway's homepage!
Edit/Delete Message Reply w/Quote
#93 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

Well, I can do it like the one I attach here, which should ignore changes to the whitespace on any given line, but it can't ignore whole additions or removals of blank lines, because that would change the line numbering. Also, this isn't in such a readable format.

Attachment: caltivix_alterations2.rar
This has been downloaded 2 time(s).

Fromafar is offline Fromafar
Prince

May 2003
time: 06:34
  Old Post 15-03-2005 02:58
Edit/Delete Message Reply w/Quote
#94 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by Martin Gühmann
What about this:
[...]
By the way I didn't understand for what this nb_transport variable is and why Calvitix checks whether m_transport > 0 and transport_nb > 0, the first check should be included in the second one.

I think it is anti-symmetrical now. And also difficult to understand. From what I understand of it, the m_transport value is the number of free transport slots, and the extra guard (both values > 0) is used to prevent using this condition when comparing a transport army against a non-transport army. But I think that mixing 4 different concepts (remaining transport capacity, battle strength, shield cost, #of agents) in a single operator does not work well. It is probably better to define a specific operator for each concept.

Martin Gühmann is offline Martin Gühmann
Emperor
Berlin, Germany
Mar 2001
time: 06:34
Post  Old Post 15-03-2005 04:52 Visit Martin Gühmann's homepage!
Edit/Delete Message Reply w/Quote
#95 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by Fromafar
And also difficult to understand.


That's why I wanted to hear another opinion.

quote:
Originally posted by Fromafar
From what I understand of it, the m_transport value is the number of free transport slots, and the extra guard (both values > 0) is used to prevent using this condition when comparing a transport army against a non-transport army.


OK, then it isn't needed in the current version. As it leaves the function if the transport capacity is unequal.

quote:
Originally posted by Fromafar
But I think that mixing 4 different concepts (remaining transport capacity, battle strength, shield cost, #of agents) in a single operator does not work well. It is probably better to define a specific operator for each concept.


Well the concepts are at least in a hirachy. First the transport capacity and if it is euql in both stacks then the strength is compared and if the strength of both stacks is zero then the sizes are compared.

J just don't see the shield cost part, maybe the m_value but for that I have to take a closer look. And if it is this then we should reconsider it.

- Martin

 
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:34.
Apolyton Time is 00:34.
    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.0427 seconds (81.59% PHP - 18.41% 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