add new "center_window" setting
This commit is contained in:
parent
f6b92bb80f
commit
57287686db
4 changed files with 17 additions and 2 deletions
|
@ -42,6 +42,7 @@ typedef struct CNCDDRAWCONFIG
|
|||
int d3d9_filter;
|
||||
int anti_aliased_fonts_min_size;
|
||||
int min_font_size;
|
||||
int center_window;
|
||||
BOOL vhack;
|
||||
char screenshot_dir[MAX_PATH];
|
||||
BOOL toggle_borderless;
|
||||
|
|
4
inc/dd.h
4
inc/dd.h
|
@ -52,6 +52,10 @@ HRESULT dd_CreateEx(GUID* lpGuid, LPVOID* lplpDD, REFIID iid, IUnknown* pUnkOute
|
|||
#define LIMIT_BLTFAST 2
|
||||
#define LIMIT_UNLOCK 3
|
||||
|
||||
#define CENTER_WINDOW_NEVER 0
|
||||
#define CENTER_WINDOW_AUTO 1
|
||||
#define CENTER_WINDOW_ALWAYS 2
|
||||
|
||||
#ifndef CREATE_WAITABLE_TIMER_HIGH_RESOLUTION
|
||||
#define CREATE_WAITABLE_TIMER_HIGH_RESOLUTION 0x00000002
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue