mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
2cbe211e7c
The EDuke32 and RedNukem frontends are working, Blood isn't yet. Notes: many of the CMake variables and its output still refer to zdoom. Before changing that I wanted to make sure to be able to commit something that works. support code for Windows XP has been entirely removed. On Windows this will only target Vista and up. the crc32.h header had to be renamed to deconflict from zlib. several Windows API calls were changed to call the A-versions directly. Weirdly enough there were places that defined their parameters as T types but in a non-working way. removed some remaining editor files and support for the native software rendering only Windows backend. in a few simple cases, replaced 'char' with 'uint8_t'. The code as-is depends on chars being unsigned which is non-portable. This needs to be carefully reviewed.
25 lines
No EOL
572 B
C
25 lines
No EOL
572 B
C
// Windows layer-independent code
|
|
|
|
#include "compat.h"
|
|
|
|
#ifdef APPNAME
|
|
# define WindowClass APPNAME
|
|
#else
|
|
# define WindowClass "buildapp"
|
|
#endif
|
|
|
|
extern int32_t backgroundidle; // set to 1 to tell winlayer to go to idle priority when inactive
|
|
|
|
extern int64_t win_timerfreq;
|
|
|
|
extern char silentvideomodeswitch;
|
|
|
|
extern void win_open(void);
|
|
extern void win_init(void);
|
|
extern void win_setvideomode(int32_t c);
|
|
extern void win_uninit(void);
|
|
extern void win_close(void);
|
|
|
|
extern int32_t addsearchpath_ProgramFiles(const char *p);
|
|
|
|
extern int32_t win_buildargs(char **argvbuf); |