X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.c;h=85f7a12988e2efc6a13d945c175b845b2b68279d;hp=b6d7952cc14d99a515a17ccfcd2d521156caf3ef;hb=115ce6f2da1914d68b0fe0e5f9082973190dacdd;hpb=085eaa4c64f1254101fe59747e87aacb009ebe3b diff --git a/src/game_sp/MainForm.c b/src/game_sp/MainForm.c index b6d7952c..85f7a129 100644 --- a/src/game_sp/MainForm.c +++ b/src/game_sp/MainForm.c @@ -6,13 +6,13 @@ static void DrawFrame(int Delta); -static void ReStretch(); +static void ReStretch(void); void DrawField(int X, int Y); void DrawFieldAnimated(int X, int Y); void DrawFieldNoAnimated(int X, int Y); -void DrawFrameIfNeeded() +void DrawFrameIfNeeded(void) { DrawFrame(0); @@ -21,7 +21,7 @@ void DrawFrameIfNeeded() DrawFrame(1); } -void DisplayLevel() +void DisplayLevel(void) { int X, Y; @@ -53,7 +53,7 @@ void DisplayLevel() } } -void Form_Load() +void Form_Load(void) { InitGlobals(); @@ -93,7 +93,7 @@ static void DrawFrame(int Delta) } } -static void RestoreFrame() +static void RestoreFrame(void) { int i, LX, tY, RX, BY; @@ -115,7 +115,7 @@ static void RestoreFrame() } } -void SetDisplayRegion() +void SetDisplayRegion(void) { if (! menBorder) { @@ -139,7 +139,7 @@ void SetDisplayRegion() } } -void menPlay_Click() +void menPlay_Click(void) { bPlaying = True; @@ -150,7 +150,7 @@ void menPlay_Click() subMainGameLoop_Init(); } -static void ReStretch() +static void ReStretch(void) { if (LevelLoaded) { @@ -168,7 +168,7 @@ static void ReStretch() ScrollTo(ScreenScrollXPos, ScreenScrollYPos); } -void SetScrollEdges() +void SetScrollEdges(void) { int border1_offset = (menBorder ? 1 : 2); int border2_offset = (menBorder ? 0 : TILESIZE / 2);