2006-04-13 20:47:06 +00:00
|
|
|
// Windows DIB/DirectDraw interface layer
|
|
|
|
// for the Build Engine
|
|
|
|
// by Jonathon Fowler (jonof@edgenetwk.com)
|
|
|
|
|
|
|
|
#ifndef __build_interface_layer__
|
|
|
|
#define __build_interface_layer__ WIN
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t backgroundidle; // set to 1 to tell winlayer to go to idle priority when inactive
|
2009-06-05 20:09:13 +00:00
|
|
|
extern uint32_t maxrefreshfreq;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
extern int32_t glusecds;
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2010-11-23 22:30:27 +00:00
|
|
|
extern char di_disabled;
|
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
int32_t win_gethwnd(void);
|
|
|
|
int32_t win_gethinstance(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2009-01-09 09:29:17 +00:00
|
|
|
void win_allowtaskswitching(int32_t onf);
|
|
|
|
int32_t win_checkinstance(void);
|
2006-04-13 20:47:06 +00:00
|
|
|
|
|
|
|
#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__
|
|
|
|
|