set timeBeignPeriod in DllMain - Add SetProcessPriorityBoost
This commit is contained in:
parent
bfb0edd2c6
commit
c44055a214
5 changed files with 62 additions and 55 deletions
7
main.h
7
main.h
|
@ -22,6 +22,10 @@
|
|||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
|
||||
#ifndef _DEBUG
|
||||
#define printf(format, ...)
|
||||
#endif
|
||||
|
||||
struct IDirectDrawImpl;
|
||||
struct IDirectDrawImplVtbl;
|
||||
struct IDirectDrawSurfaceImpl;
|
||||
|
@ -83,9 +87,6 @@ typedef struct IDirectDrawImpl
|
|||
BOOL vhack;
|
||||
BOOL isredalert;
|
||||
DWORD WINAPI (*renderer)(void);
|
||||
int posX;
|
||||
int posY;
|
||||
char ini_path[MAX_PATH];
|
||||
char screenshotKey;
|
||||
|
||||
} IDirectDrawImpl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue