projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed compiler warnings (after adding "-Wstrict-prototypes")
[rocksndiamonds.git]
/
src
/
game_sp
/
MainForm.c
diff --git
a/src/game_sp/MainForm.c
b/src/game_sp/MainForm.c
index b6d7952cc14d99a515a17ccfcd2d521156caf3ef..85f7a12988e2efc6a13d945c175b845b2b68279d 100644
(file)
--- a/
src/game_sp/MainForm.c
+++ b/
src/game_sp/MainForm.c
@@
-6,13
+6,13
@@
static void DrawFrame(int Delta);
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 DrawField(int X, int Y);
void DrawFieldAnimated(int X, int Y);
void DrawFieldNoAnimated(int X, int Y);
-void DrawFrameIfNeeded()
+void DrawFrameIfNeeded(
void
)
{
DrawFrame(0);
{
DrawFrame(0);
@@
-21,7
+21,7
@@
void DrawFrameIfNeeded()
DrawFrame(1);
}
DrawFrame(1);
}
-void DisplayLevel()
+void DisplayLevel(
void
)
{
int X, Y;
{
int X, Y;
@@
-53,7
+53,7
@@
void DisplayLevel()
}
}
}
}
-void Form_Load()
+void Form_Load(
void
)
{
InitGlobals();
{
InitGlobals();
@@
-93,7
+93,7
@@
static void DrawFrame(int Delta)
}
}
}
}
-static void RestoreFrame()
+static void RestoreFrame(
void
)
{
int i, LX, tY, RX, BY;
{
int i, LX, tY, RX, BY;
@@
-115,7
+115,7
@@
static void RestoreFrame()
}
}
}
}
-void SetDisplayRegion()
+void SetDisplayRegion(
void
)
{
if (! menBorder)
{
{
if (! menBorder)
{
@@
-139,7
+139,7
@@
void SetDisplayRegion()
}
}
}
}
-void menPlay_Click()
+void menPlay_Click(
void
)
{
bPlaying = True;
{
bPlaying = True;
@@
-150,7
+150,7
@@
void menPlay_Click()
subMainGameLoop_Init();
}
subMainGameLoop_Init();
}
-static void ReStretch()
+static void ReStretch(
void
)
{
if (LevelLoaded)
{
{
if (LevelLoaded)
{
@@
-168,7
+168,7
@@
static void ReStretch()
ScrollTo(ScreenScrollXPos, ScreenScrollYPos);
}
ScrollTo(ScreenScrollXPos, ScreenScrollYPos);
}
-void SetScrollEdges()
+void SetScrollEdges(
void
)
{
int border1_offset = (menBorder ? 1 : 2);
int border2_offset = (menBorder ? 0 : TILESIZE / 2);
{
int border1_offset = (menBorder ? 1 : 2);
int border2_offset = (menBorder ? 0 : TILESIZE / 2);