This commit is contained in:
Clownacy 2019-08-29 00:00:17 +01:00
parent 34986ff049
commit 17ae81823c
3 changed files with 7 additions and 1 deletions

View file

@ -16,4 +16,7 @@ long GetFileSizeLong(const char *path);
BOOL PrintBitmapError(char *string, int value);
#endif
BOOL IsShiftJIS(unsigned char c);
BOOL CenterWindow(HWND hWnd);
BOOL LoadWindowRect(HWND hWnd, char *window_rect_filename, BOOL unknown);
BOOL SaveWindowRect(HWND hWnd, const char *filename);
BOOL IsEnableBitmap(const char *path);

View file

@ -31,9 +31,10 @@ char gDataPath[PATH_LENGTH];
int gJoystickButtonTable[8];
HWND ghWnd; // Placeholder until we restore the WinAPI code
HWND ghWnd;
BOOL gbUseJoystick = FALSE;
BOOL bFps = FALSE;
BOOL bFullscreen;
BOOL bActive = TRUE;
@ -298,6 +299,7 @@ int main(int argc, char *argv[])
}
StartDirectDraw(2, colourDepth);
bFullscreen = TRUE;
SDL_ShowCursor(0);
}

View file

@ -3,6 +3,7 @@
#include "WindowsWrapper.h"
extern HWND ghWnd;
extern BOOL bFullscreen;
void PutFramePerSecound();
int GetFramePerSecound();