.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #10  
Old July 17th, 2011, 06:00 PM

thejeff thejeff is offline
General
 
Join Date: Apr 2005
Posts: 3,327
Thanks: 4
Thanked 133 Times in 117 Posts
thejeff is on a distinguished road
Default Re: rules question: turn resolution

Why?
What does it gain you?

It's potentially thousands* of units that have to be put in a random order. And then you have to iterate over them. Which probably requires a new structure to hold the order that has to be created every time. Sure, you could do it. It probably wouldn't even take that much longer. There's a lot going on in each turn. Still, large games already take a long time to process.

Maybe I've just been working with slow, low memory chips too long.

*The way it's set up now, it's probably 10s of thousands since each unit commander or not, has a unit id. If you were going to do this, you'd probably want to treat troops and commanders separately to simplify the sort.
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:48 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.