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 > Alternative Civs > Guns, Germs & Steel > Programming: Architectural Design
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Leland is offline Leland
Prince

Jan 2000
time: 07:14
Question  Old Post 01-01-2001 08:28
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Programming: Architectural Design Inflate your Upload Space

Hello all programmers!

Just wondering if you have any main architectural styles or guidelines thought out at this point? I read the plans on the website, but I can't claim having any revelation on *why* certain structure is used. Furthermore, there was no division between client side and server side components, though as an inexperienced programmer I wouldn't know if this is important.

My layman's vision for the architecture would be some sort of publisher-subscriber system where the components would subscribe to receive the events they're interested in and themselves publish events. This would allow the best upgradeablity for the game, since you could start out with a relatively simple prototype and add complex entities like religions, companies, characters and whatever the designers might come up with in the future with minimal or no changes to the existing components. Any sense in this?

(The current model, if I have understood correctly, is that you have an Event Manager object where all the events of a turn are stored; then other objects query events from EM. The way I see it, this leads to massive polling by other components and needless to say, in a game of this complexity there would be a stunning number of events each turn.)

I'm interested in this topic since I someday would like to contribute to the programming of the game, and since I'm definitely not a hack I'd like the general architecture to be as easily modifiable as possible. Please don't hesitate to bash my ideas; that's the best way to learn!

[This message has been edited by Leland (edited December 31, 2000).]

ElmoTheElk is offline ElmoTheElk
Prince
Leiden, The Netherlands
Jul 2000
time: 06:14
Post  Old Post 02-01-2001 05:54 Visit ElmoTheElk's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Suffering from ads?

Well Leland, I'm not a programmer too, but if you want some more insight into the structure used to program GGS I would recommand that you subscripe to our newsletter. It's where all the 'quick messages and news updates' are send that are not important or not to be seen by public

Leland is offline Leland
Prince

Jan 2000
time: 07:14
Question  Old Post 02-01-2001 06:23
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, pre-order Civilization IV

How do I subscribe??

amjayee is offline amjayee
Prince
Jyväskylä, Finland
Oct 1999
time: 07:14
Post  Old Post 03-01-2001 10:38 Visit amjayee's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Support Apolyton, buy Galactic Civilizations: Deluxe Edition

Hi Leland! You can subsribe to the list at http://sourceforge.net/projects/civ3/ in the lists section. I don't remember do you need to subscribe to sourceforge first, but possibly not. Refine your questions there, and we will try to answer them there so that designers don't need to get confused by programming things; the mailing list is the main forum for programming things.

But about your question, we will indeed use an Event Manager, but as you proposed, we will have a system where all components ask the manager to send a note on certain events; then when that event occurs, the component is notified. But enough of this, let's continue on the list! Hope you can get subsribed ok! If problems, ask here for assistance.

Leland is offline Leland
Prince

Jan 2000
time: 07:14
Talking  Old Post 02-01-2001 23:11
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Support Apolyton buy from Amazon

Thanks. I just subscribed. Ignore the email I sent you.

VetLegion is offline VetLegion
Prince

Sep 1999
time: 06:14
Post  Old Post 03-01-2001 02:29
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Inflate your Upload Space

Hello Leland!

I must say I am a fan of your comments and questions, since they seem to me much like mine at the time

I dont even remember what was the stuff about Event Manager all about ... it was six months ago!

But I am glad someone actually read the thing
I am quite proud of the time we invested to form a good architecture at the begining of the project - and I think there are some good results of it too.

The thing is - multiplayer coding is a little universe for itself and I dont have enough knowledge or expirience to do it. Coding was started by DanW, and since he left the project work on that left with him.

The policy we have now is to concentrate on things we can do, and do them good.


Damn, now I have to read all that again

ElmoTheElk is offline ElmoTheElk
Prince
Leiden, The Netherlands
Jul 2000
time: 06:14
Post  Old Post 03-01-2001 02:38 Visit ElmoTheElk's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Full PM-box? Change here!

quote:

Originally posted by VetLegion on 01-02-2001 04:29 PM
I must say I am a fan of your comments and questions,
**zip**


Yeah! You're posts are great, keep up the good work.


  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:14.
Apolyton Time is 00:14.
    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.0419 seconds (87.58% PHP - 12.42% MySQL) with 30 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