X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.h;h=d640e3875caa90e71503cbc54e98720004e954f7;hp=ae913f8e2732e1e1fc2aa640f9006f4a91e9bc90;hb=855700d73bbef8bb1248fe0ac735738478d6044b;hpb=fe656a41b406b06d9dc5b93d01191d52b1da3b4d diff --git a/src/game_sp/MainForm.h b/src/game_sp/MainForm.h index ae913f8e..d640e387 100644 --- a/src/game_sp/MainForm.h +++ b/src/game_sp/MainForm.h @@ -5,29 +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 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); -extern void InvalidateRect(long XMin, long YMin, long XMax, long YMax); -extern void Let_PanelVisible(boolean NewVal); -extern void ReLoadStretchSprites(); -extern void SaveSnapshot(currency Number); -extern void SetDisplayRegion(); -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 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 */