mirror of
https://github.com/ondra-novak/gates_of_skeldal.git
synced 2025-07-12 17:32:30 -04:00
github publish
This commit is contained in:
commit
506e23bf32
542 changed files with 120675 additions and 0 deletions
50
Windows/skeldal_win.h
Normal file
50
Windows/skeldal_win.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
#include <windows.h>
|
||||
|
||||
#define BGSWITCHBIT 0x0020
|
||||
|
||||
#define SKELDALINI "WSKELDAL.INI"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
|
||||
#define _KEYBRD_READY 0
|
||||
#define _KEYBRD_READ 1
|
||||
|
||||
#define TIMERSPEED 20;
|
||||
|
||||
unsigned long _bios_keybrd(int mode);
|
||||
|
||||
|
||||
LRESULT GameMainWindowWindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
|
||||
|
||||
|
||||
void CheckMessageQueue();
|
||||
|
||||
void DSReportWindowCreation(HWND hWindow);
|
||||
char *AutodetectWinAmp();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#define RGB888(r,g,b) ((unsigned short)((((r)<<8)&0xF800) | (((g)<<3) & 0x7C0) | ((b)>>3)))
|
||||
#define RGB555(r,g,b) ((unsigned short)(((r)<<11) | ((g)<<6) | (b)))
|
||||
|
||||
#pragma warning (disable : 4244 4761 4133)
|
||||
|
||||
|
||||
void *LoadDefaultFont();
|
||||
void *LoadResourceFont(const char *name);
|
||||
|
||||
void ShareCPU();
|
||||
void SetWheelMapping(char up, char down);
|
||||
|
||||
|
||||
//------------- BGRAPH DX wrapper -------------------
|
||||
#include "BGraph2Dx.h"
|
||||
|
||||
#define WM_RELOADMAP (WM_APP+215)
|
||||
#define E_RELOADMAP 40
|
Loading…
Add table
Add a link
Reference in a new issue