1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

adjust genie engine presets

This commit is contained in:
FunkyFr3sh 2021-05-29 10:51:05 +02:00
parent bb94e75aae
commit 5ed2c2761d
2 changed files with 7 additions and 3 deletions

View File

@ -370,18 +370,22 @@ static void cfg_create_ini()
"\n"
"; Age of Empires\n"
"[empires]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Age of Empires: The Rise of Rome\n"
"[empiresx]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Age of Empires II\n"
"[EMPIRES2]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Age of Empires II: The Conquerors\n"
"[age2_x1]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Outlaws\n"
@ -397,10 +401,12 @@ static void cfg_create_ini()
"\n"
"; Star Wars: Galactic Battlegrounds\n"
"[battlegrounds]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Star Wars: Galactic Battlegrounds: Clone Campaigns\n"
"[battlegrounds_x1]\n"
"fixpitch=true\n"
"handlemouse=false\n"
"\n"
"; Carmageddon 2\n"
@ -559,7 +565,7 @@ static void cfg_create_ini()
"[Tzar]\n"
"handlemouse=false\n"
"\n"
"; Jagged Alliance 2\n"
"; Jagged Alliance 2 1.13\n"
"[ja2]\n"
"hook=0\n"
"\n"

View File

@ -1073,9 +1073,7 @@ HRESULT dd_CreateSurface(LPDDSURFACEDESC lpDDSurfaceDesc, LPDIRECTDRAWSURFACE FA
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 == 343 && g_ddraw->bpp == 16) dst_surface->width = 344; //Blade & Sword
dst_surface->lx_pitch = dst_surface->bpp / 8;
dst_surface->l_pitch = dst_surface->width * dst_surface->lx_pitch;