[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stratagus-CVS] stratagus/src/game loadgame.c
From: |
Jimmy Salmon |
Subject: |
[Stratagus-CVS] stratagus/src/game loadgame.c |
Date: |
Fri, 26 Sep 2003 22:05:36 -0400 |
CVSROOT: /cvsroot/stratagus
Module name: stratagus
Branch:
Changes by: Jimmy Salmon <address@hidden> 03/09/26 22:05:36
Modified files:
src/game : loadgame.c
Log message:
Cleanup
Patches:
Index: stratagus/src/game/loadgame.c
diff -u stratagus/src/game/loadgame.c:1.62 stratagus/src/game/loadgame.c:1.63
--- stratagus/src/game/loadgame.c:1.62 Wed Sep 17 05:59:05 2003
+++ stratagus/src/game/loadgame.c Fri Sep 26 22:05:35 2003
@@ -26,7 +26,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.
//
-// $Id: loadgame.c,v 1.62 2003/09/17 09:59:05 mr-russ Exp $
+// $Id: loadgame.c,v 1.63 2003/09/27 02:05:35 jsalmon3 Exp $
//@{
@@ -113,8 +113,8 @@
//
// Free our protected objects, AI scripts, unit-type properties.
//
- var=gh_symbol2scm("*ccl-protect*");
- setvar(var,NIL,NIL);
+ var = gh_symbol2scm("*ccl-protect*");
+ setvar(var, NIL, NIL);
}
/**
@@ -165,7 +165,7 @@
*/
global void LoadModules(void)
{
- char *s;
+ char* s;
LoadIcons();
LoadCursors(ThisPlayer->RaceName);
@@ -193,13 +193,13 @@
#endif
LoadRGB(GlobalPalette,
- s=strdcat3(StratagusLibPath,"/graphics/",
+ s = strdcat3(StratagusLibPath, "/graphics/",
TheMap.Tileset->PaletteFile));
free(s);
VideoCreatePalette(GlobalPalette);
CreateMinimap();
- SetDefaultTextColors(TheUI.NormalFontColor,TheUI.ReverseFontColor);
+ SetDefaultTextColors(TheUI.NormalFontColor, TheUI.ReverseFontColor);
// LoadButtons();
}
@@ -218,24 +218,24 @@
CleanModules();
- old_siod_verbose_level=siod_verbose_level;
- siod_verbose_level=4;
+ old_siod_verbose_level = siod_verbose_level;
+ siod_verbose_level = 4;
user_gc(SCM_BOOL_F);
- siod_verbose_level=old_siod_verbose_level;
+ siod_verbose_level = old_siod_verbose_level;
InitVisionTable();
gh_load(filename);
user_gc(SCM_BOOL_F);
- game_cycle=GameCycle;
+ game_cycle = GameCycle;
// FIXME: log should be loaded from the save game
CommandLogDisabled = 1;
InitModules();
LoadModules();
- GameCycle=game_cycle;
+ GameCycle = game_cycle;
SelectionChanged();
- MustRedraw=RedrawEverything;
+ MustRedraw = RedrawEverything;
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Stratagus-CVS] stratagus/src/game loadgame.c,
Jimmy Salmon <=