mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
add a hack for Dungeon Keeper 2 util there's a better solution
This commit is contained in:
parent
1ebacfcd27
commit
6e54817718
1
inc/dd.h
1
inc/dd.h
@ -100,6 +100,7 @@ typedef struct cnc_ddraw
|
|||||||
BOOL accurate_timers;
|
BOOL accurate_timers;
|
||||||
BOOL resizable;
|
BOOL resizable;
|
||||||
BOOL sierrahack;
|
BOOL sierrahack;
|
||||||
|
BOOL dk2hack;
|
||||||
BOOL nonexclusive;
|
BOOL nonexclusive;
|
||||||
BOOL bnet_active;
|
BOOL bnet_active;
|
||||||
BOOL bnet_was_fullscreen;
|
BOOL bnet_was_fullscreen;
|
||||||
|
@ -49,6 +49,7 @@ void cfg_load()
|
|||||||
g_ddraw->resizable = cfg_get_bool("resizable", TRUE);
|
g_ddraw->resizable = cfg_get_bool("resizable", TRUE);
|
||||||
g_ddraw->nonexclusive = cfg_get_bool("nonexclusive", FALSE);
|
g_ddraw->nonexclusive = cfg_get_bool("nonexclusive", FALSE);
|
||||||
g_ddraw->sierrahack = cfg_get_bool("sierrahack", FALSE); // Sierra Caesar III, Pharaoh, and Zeus hack
|
g_ddraw->sierrahack = cfg_get_bool("sierrahack", FALSE); // Sierra Caesar III, Pharaoh, and Zeus hack
|
||||||
|
g_ddraw->dk2hack = cfg_get_bool("dk2hack", FALSE); // Dungeon Keeper 2 hack
|
||||||
|
|
||||||
g_config.window_rect.right = cfg_get_int("width", 0);
|
g_config.window_rect.right = cfg_get_int("width", 0);
|
||||||
g_config.window_rect.bottom = cfg_get_int("height", 0);
|
g_config.window_rect.bottom = cfg_get_int("height", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user