X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2FMainForm.c;h=9cb124e5e92b3bf434ee5e1d0e9281318ecae64e;hb=e63e92923fa0196ba7d538d4c8f5a16994e3bee8;hp=f2fe86fd80244d2203b14e5fb455699a2302a2cb;hpb=5ba7f2d9a3f07f342afdf215a3307d5487cb6d43;p=rocksndiamonds.git diff --git a/src/game_sp/MainForm.c b/src/game_sp/MainForm.c index f2fe86fd..9cb124e5 100644 --- a/src/game_sp/MainForm.c +++ b/src/game_sp/MainForm.c @@ -661,11 +661,12 @@ void DrawFieldNoAnimated(int X, int Y); // --- End // --- End -static char *VB_Name = "MainForm"; -static boolean VB_GlobalNameSpace = False; -static boolean VB_Creatable = False; -static boolean VB_PredeclaredId = True; -static boolean VB_Exposed = False; +// static char *VB_Name = "MainForm"; +// static boolean VB_GlobalNameSpace = False; +// static boolean VB_Creatable = False; +// static boolean VB_PredeclaredId = True; +// static boolean VB_Exposed = False; + // --- Option Explicit // --- Option Compare Text @@ -699,6 +700,8 @@ TickCountObject T; const char *AppTitle = "MegaPlex"; +#if 0 + static char *GetSpeedDescriptionFPS(currency FrameDelayUS) { static char *GetSpeedDescriptionFPS; @@ -775,8 +778,6 @@ static int GetSpeedIndex(long DelayUS) return GetSpeedIndex; } -#if 0 - static long Get_LastOpenFilter() { static long LastOpenFilter; @@ -858,6 +859,8 @@ static void CountDown(long HalfSeconds, int bDisplayBar) // lblFrameCount = 0 } +#if 0 + static char *GetValidTempPath() { static char *GetValidTempPath; @@ -904,8 +907,6 @@ static char *GetValidTempPath() return GetValidTempPath; } -#if 0 - static char *GetMyTempFileName() { static char *GetMyTempFileName; @@ -1298,8 +1299,6 @@ static void Form_KeyUp(int KeyCode, int Shift) picPane_KeyUp(KeyCode, Shift); } -#endif - static void Form_Load() { #if 0 @@ -1360,8 +1359,6 @@ static void Form_Load() #endif } -#if 0 - static void FillLevelList(char *Path, int LevelIndex) { long FNum, LevLen, i, iMax; @@ -1617,6 +1614,8 @@ static void DrawFrame(int Delta) } } +#if 0 + static void RestoreFrame() { int i, LX, tY, RX, BY; @@ -1638,8 +1637,6 @@ static void RestoreFrame() } } -#if 0 - static void Form_Unload(int Cancel) { EndFlag = True; @@ -2425,10 +2422,13 @@ void menPlay_Click() #endif subFetchAndInitLevelB(); + // Trace "MainForm", "CountDown 1" CountDown(2, (0 == DemoFlag)); // Trace "MainForm", "Call GoPlay" + GoPlay(); + // Trace "MainForm", "GoPlay returned" #if 0 @@ -2454,8 +2454,11 @@ void menPlay_Click() bPlaying = False; // Trace "MainForm", "Call subFetchAndInitLevel" + subFetchAndInitLevel(); + // Trace "MainForm", "subFetchAndInitLevel returned" + Stage.Blt(); #if 0