set timeBeignPeriod in DllMain - Add SetProcessPriorityBoost

This commit is contained in:
FunkyFr3sh 2017-11-13 13:50:54 +01:00
parent bfb0edd2c6
commit c44055a214
5 changed files with 62 additions and 55 deletions

7
main.h
View file

@ -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;