diff options
author | aap <aap@papnet.eu> | 2020-04-26 12:49:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 12:49:31 +0200 |
commit | 7052b0b64c2fbab2d4ef94e50e902eea4904dbe0 (patch) | |
tree | 7a01b47b48a106ca6ff9154cc5c14d3baf54c22f /src/skel/win/win.h | |
parent | update librw (diff) | |
parent | Initial GLFW support (diff) | |
download | re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.gz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.bz2 re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.lz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.xz re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.tar.zst re3-7052b0b64c2fbab2d4ef94e50e902eea4904dbe0.zip |
Diffstat (limited to 'src/skel/win/win.h')
-rw-r--r-- | src/skel/win/win.h | 37 |
1 files changed, 4 insertions, 33 deletions
diff --git a/src/skel/win/win.h b/src/skel/win/win.h index d6326294..0e63502e 100644 --- a/src/skel/win/win.h +++ b/src/skel/win/win.h @@ -1,3 +1,6 @@ + +// DON'T include directly. crossplatform.h includes this if you're on Windows. + #if (!defined(_PLATFORM_WIN_H)) #define _PLATFORM_WIN_H @@ -10,23 +13,6 @@ #include <windef.h> #endif -enum eGameState -{ - GS_START_UP = 0, - GS_INIT_LOGO_MPEG, - GS_LOGO_MPEG, - GS_INIT_INTRO_MPEG, - GS_INTRO_MPEG, - GS_INIT_ONCE, - GS_INIT_FRONTEND, - GS_FRONTEND, - GS_INIT_PLAYING_GAME, - GS_PLAYING_GAME, -#ifndef MASTER - GS_ANIMVIEWER, -#endif -}; - enum eWinVersion { OS_WIN95 = 0, @@ -38,8 +24,6 @@ enum eWinVersion extern DWORD _dwOperatingSystemVersion; -extern RwUInt32 gGameState; - #ifdef __DINPUT_INCLUDED__ /* platform specfic global data */ typedef struct @@ -101,12 +85,10 @@ extern "C" { #endif /* __cplusplus */ +#ifdef __DINPUT_INCLUDED__ extern LRESULT CALLBACK MainWndProc(HWND window, UINT message, WPARAM wParam, LPARAM lParam); -RwBool IsForegroundApp(); - -#ifdef __DINPUT_INCLUDED__ HRESULT _InputInitialise(); HRESULT _InputInitialiseMouse(); HRESULT CapturePad(RwInt32 padID); @@ -117,26 +99,15 @@ HRESULT _InputGetMouseState(DIMOUSESTATE2 *state); void _InputShutdown(); BOOL CALLBACK _InputEnumDevicesCallback( const DIDEVICEINSTANCE* pdidInstance, VOID* pContext ); BOOL _InputTranslateKey(RsKeyCodes *rs, UINT flag, UINT key); -void _InputTranslateShiftKeyUpDown(RsKeyCodes *rs);; BOOL _InputTranslateShiftKey(RsKeyCodes *rs, UINT key, BOOLEAN bDown); BOOL _InputIsExtended(INT flag); #endif -void InitialiseLanguage(); -RwBool _psSetVideoMode(RwInt32 subSystem, RwInt32 videoMode); void CenterVideo(void); void CloseClip(void); -RwChar **_psGetVideoModeList(); -RwInt32 _psGetNumVideModes(); - -void _psSelectScreenVM(RwInt32 videoMode); -void HandleExit(); - #ifdef __cplusplus } #endif /* __cplusplus */ - -extern DWORD _dwOperatingSystemVersion; #endif /* (!defined(_PLATFORM_WIN_H)) */ |