X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.h;h=d640e3875caa90e71503cbc54e98720004e954f7;hb=855700d73bbef8bb1248fe0ac735738478d6044b;hp=6d8ab11710d6de7a79ed139c7750221036b432bc;hpb=9f688962eb90591205c511c1ae9bf752d276d1f5;p=rocksndiamonds.git diff --git a/src/game_sp/MainForm.h b/src/game_sp/MainForm.h index 6d8ab117..d640e387 100644 --- a/src/game_sp/MainForm.h +++ b/src/game_sp/MainForm.h @@ -5,35 +5,23 @@ #ifndef MAINFORM_H #define MAINFORM_H -#include "vb_types.h" -#include "vb_defs.h" -#include "vb_vars.h" -#include "vb_lib.h" - #include "global.h" -extern void DrawFrameIfNeeded(); - -extern void DisplayLevel(); -extern void DrawField(int X, int Y); -extern void DrawFieldAnimated(int X, int Y); -extern void DrawFieldNoAnimated(int X, int Y); -extern void DrawSprite(int X, int Y, int SpritePos); -#if 0 -extern void InvalidateRect(long XMin, long YMin, long XMax, long YMax); -#endif -extern void Let_PanelVisible(boolean NewVal); -extern void ReLoadStretchSprites(); -extern void SaveSnapshot(currency Number); -extern void SetDisplayRegion(); -extern void SetScrollEdges(); -extern void ShowKey(int KeyVar); -extern void menDemoSpeed_Click(int Index); -extern void menEdit_Click(); -extern void menPlaySpeed_Click(int Index); -extern void menStop_Click(); -extern void menPlay_Click(); -extern void menPlayDemo_Click(); -extern void Form_Load(); + +void DrawFrameIfNeeded(void); + +void DisplayLevel(void); +void DrawField(int X, int Y); +void DrawFieldAnimated(int X, int Y); +void DrawFieldNoAnimated(int X, int Y); +void DrawSprite(int X, int Y, int SpritePos); +void DrawImage(int X, int Y, int graphic); + +void SetDisplayRegion(void); +void SetScrollEdges(void); + +void menPlay_Click(void); + +void Form_Load(void); #endif /* MAINFORM_H */