mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-14 13:58:04 +01:00
2fe6d6d33a
Added support for music in MDS format.
36 lines
934 B
C++
36 lines
934 B
C++
#pragma once
|
|
#include "gdrv.h"
|
|
|
|
class winmain
|
|
{
|
|
public:
|
|
static char DatFileName[300];
|
|
static int single_step;
|
|
static SDL_Window* MainWindow;
|
|
static SDL_Renderer* Renderer;
|
|
static ImGuiIO* ImIO;
|
|
static bool LaunchBallEnabled;
|
|
static bool HighScoresEnabled;
|
|
static bool DemoActive;
|
|
|
|
static int WinMain(LPCSTR lpCmdLine);
|
|
static int event_handler(const SDL_Event* event);
|
|
static void memalloc_failure();
|
|
static int ProcessWindowMessages();
|
|
static void a_dialog();
|
|
static void end_pause();
|
|
static void new_game();
|
|
static void pause();
|
|
static void help_introduction();
|
|
static void Restart();
|
|
private:
|
|
static int return_value, bQuit, DispFrameRate, DispGRhistory, activated;
|
|
static int has_focus, mouse_down, last_mouse_x, last_mouse_y, no_time_loss;
|
|
static DWORD then, now;
|
|
static gdrv_bitmap8 gfr_display;
|
|
static bool restart;
|
|
static bool ShowAboutDialog;
|
|
static bool ShowImGuiDemo;
|
|
|
|
static void RenderUi();
|
|
};
|