shithub: cstory

Download patch

ref: 869bff3da1235171aad2cb6d662241e4887a18f9
parent: 591236398f0dce80814a12807ec3592c0f2ab400
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Oct 12 12:41:40 EDT 2019

These values are arbitrary, not the screen size

--- a/src/GenericLoad.cpp
+++ b/src/GenericLoad.cpp
@@ -198,15 +198,15 @@
 	else
 	{
 		MakeSurface_Generic(WINDOW_WIDTH, WINDOW_HEIGHT, SURFACE_ID_SCREEN_GRAB, TRUE);
-		MakeSurface_Generic(WINDOW_WIDTH, WINDOW_HEIGHT, SURFACE_ID_LEVEL_BACKGROUND, FALSE);
+		MakeSurface_Generic(320, 240, SURFACE_ID_LEVEL_BACKGROUND, FALSE);
 		MakeSurface_Generic(WINDOW_WIDTH, WINDOW_HEIGHT, SURFACE_ID_MAP, TRUE);
-		MakeSurface_Generic(WINDOW_WIDTH, WINDOW_HEIGHT, SURFACE_ID_CASTS, FALSE);
+		MakeSurface_Generic(320, 240, SURFACE_ID_CASTS, FALSE);
 		MakeSurface_Generic(256, 256, SURFACE_ID_LEVEL_TILESET, FALSE);
 		MakeSurface_Generic(160, 16, SURFACE_ID_ROOM_NAME, FALSE);
 		MakeSurface_Generic(40, 240, SURFACE_ID_VALUE_VIEW, FALSE);
 		MakeSurface_Generic(320, 240, SURFACE_ID_LEVEL_SPRITESET_1, FALSE);
 		MakeSurface_Generic(320, 240, SURFACE_ID_LEVEL_SPRITESET_2, FALSE);
-		MakeSurface_Generic(WINDOW_WIDTH, 16 * MAX_STRIP, SURFACE_ID_CREDIT_CAST, FALSE);
+		MakeSurface_Generic(320, 16 * MAX_STRIP, SURFACE_ID_CREDIT_CAST, FALSE);
 
 		pt_size = 0;
 		pt_size += MakePixToneObject(&gPtpTable[0], 2, 32);