[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/stratagus mainloop.c
From: |
address@hidden |
Subject: |
[Stratagus-CVS] stratagus/src/stratagus mainloop.c |
Date: |
23 Dec 2003 11:12:58 +1100 |
CVSROOT: /home/strat
Module name: stratagus
Changes by: <address@hidden> 03/12/23 11:12:57
Modified files:
src/stratagus : mainloop.c
Log message:
Fixed some spaces
Patches:
Index: stratagus/src/stratagus/mainloop.c
diff -u stratagus/src/stratagus/mainloop.c:1.171
stratagus/src/stratagus/mainloop.c:1.172
--- stratagus/src/stratagus/mainloop.c:1.171 Sat Dec 20 16:33:18 2003
+++ stratagus/src/stratagus/mainloop.c Tue Dec 23 11:12:57 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: mainloop.c,v 1.171 2003/12/20 05:33:18 jsalmon3 Exp $
+// $Id: mainloop.c,v 1.172 2003/12/23 00:12:57 jsalmon3 Exp $
//@{
@@ -824,9 +824,9 @@
//
switch (GameCycle % CYCLES_PER_SECOND) {
case 0:
- // At cycle 0 , start all ai players...
- if (GameCycle == 0){
- for (player = 0; player
< NumPlayers; ++player){
+ // At cycle 0, start all ai players...
+ if (GameCycle == 0) {
+ for (player = 0; player <
NumPlayers; ++player) {
PlayersEachSecond(player);
}
}
@@ -852,11 +852,11 @@
RescueUnits();
break;
default:
- // FIXME : assume that NumPlayers <
(CYCLES_PER_SECOND -7)
+ // FIXME: assume that NumPlayers <
(CYCLES_PER_SECOND - 7)
player = (GameCycle %
CYCLES_PER_SECOND) - 7;
DebugCheck(player < 0);
if (player < NumPlayers){
-
PlayersEachSecond(player);
+ PlayersEachSecond(player);
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/stratagus mainloop.c,
address@hidden <=