mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
adjust genie engine presets
This commit is contained in:
parent
bb94e75aae
commit
5ed2c2761d
@ -370,18 +370,22 @@ static void cfg_create_ini()
|
|||||||
"\n"
|
"\n"
|
||||||
"; Age of Empires\n"
|
"; Age of Empires\n"
|
||||||
"[empires]\n"
|
"[empires]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Age of Empires: The Rise of Rome\n"
|
"; Age of Empires: The Rise of Rome\n"
|
||||||
"[empiresx]\n"
|
"[empiresx]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Age of Empires II\n"
|
"; Age of Empires II\n"
|
||||||
"[EMPIRES2]\n"
|
"[EMPIRES2]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Age of Empires II: The Conquerors\n"
|
"; Age of Empires II: The Conquerors\n"
|
||||||
"[age2_x1]\n"
|
"[age2_x1]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Outlaws\n"
|
"; Outlaws\n"
|
||||||
@ -397,10 +401,12 @@ static void cfg_create_ini()
|
|||||||
"\n"
|
"\n"
|
||||||
"; Star Wars: Galactic Battlegrounds\n"
|
"; Star Wars: Galactic Battlegrounds\n"
|
||||||
"[battlegrounds]\n"
|
"[battlegrounds]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Star Wars: Galactic Battlegrounds: Clone Campaigns\n"
|
"; Star Wars: Galactic Battlegrounds: Clone Campaigns\n"
|
||||||
"[battlegrounds_x1]\n"
|
"[battlegrounds_x1]\n"
|
||||||
|
"fixpitch=true\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Carmageddon 2\n"
|
"; Carmageddon 2\n"
|
||||||
@ -559,7 +565,7 @@ static void cfg_create_ini()
|
|||||||
"[Tzar]\n"
|
"[Tzar]\n"
|
||||||
"handlemouse=false\n"
|
"handlemouse=false\n"
|
||||||
"\n"
|
"\n"
|
||||||
"; Jagged Alliance 2\n"
|
"; Jagged Alliance 2 1.13\n"
|
||||||
"[ja2]\n"
|
"[ja2]\n"
|
||||||
"hook=0\n"
|
"hook=0\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -1073,9 +1073,7 @@ HRESULT dd_CreateSurface(LPDDSURFACEDESC lpDDSurfaceDesc, LPDIRECTDRAWSURFACE FA
|
|||||||
|
|
||||||
if (dst_surface->width && dst_surface->height)
|
if (dst_surface->width && dst_surface->height)
|
||||||
{
|
{
|
||||||
if (dst_surface->width == 622 && dst_surface->height == 51) dst_surface->width = 624; //AoE2
|
|
||||||
if (dst_surface->width == 71 && dst_surface->height == 24) dst_surface->width = 72; //Commandos
|
if (dst_surface->width == 71 && dst_surface->height == 24) dst_surface->width = 72; //Commandos
|
||||||
if (dst_surface->width == 343 && g_ddraw->bpp == 16) dst_surface->width = 344; //Blade & Sword
|
|
||||||
|
|
||||||
dst_surface->lx_pitch = dst_surface->bpp / 8;
|
dst_surface->lx_pitch = dst_surface->bpp / 8;
|
||||||
dst_surface->l_pitch = dst_surface->width * dst_surface->lx_pitch;
|
dst_surface->l_pitch = dst_surface->width * dst_surface->lx_pitch;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user