mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 17:32:13 +00:00
858746d081
git-svn-id: https://svn.eduke32.com/eduke32@2456 1a8010ca-5511-0410-912e-c29ae57300e0
28 lines
691 B
C
28 lines
691 B
C
// Windows DIB/DirectDraw interface layer
|
|
// for the Build Engine
|
|
// by Jonathon Fowler (jf@jonof.id.au)
|
|
|
|
#ifndef __build_interface_layer__
|
|
#define __build_interface_layer__ WIN
|
|
|
|
extern int32_t backgroundidle; // set to 1 to tell winlayer to go to idle priority when inactive
|
|
extern uint32_t maxrefreshfreq;
|
|
|
|
extern int32_t glusecds;
|
|
|
|
extern char di_disabled;
|
|
|
|
int32_t win_gethwnd(void);
|
|
int32_t win_gethinstance(void);
|
|
|
|
void win_allowtaskswitching(int32_t onf);
|
|
int32_t win_checkinstance(void);
|
|
|
|
#include "baselayer.h"
|
|
|
|
#else
|
|
#if (__build_interface_layer__ != WIN)
|
|
#error "Already using the " __build_interface_layer__ ". Can't now use Windows."
|
|
#endif
|
|
#endif // __build_interface_layer__
|
|
|