[Scummvm-git-logs] scummvm master -> c8453d5f70ec85e1a402f18fedd648e410a21165

peterkohaut noreply at scummvm.org
Sat May 7 10:39:19 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c8453d5f70 TINSEL: Fix build


Commit: c8453d5f70ec85e1a402f18fedd648e410a21165
    https://github.com/scummvm/scummvm/commit/c8453d5f70ec85e1a402f18fedd648e410a21165
Author: Peter Kohaut (peter.kohaut at gmail.com)
Date: 2022-05-07T12:38:41+02:00

Commit Message:
TINSEL: Fix build

Changed paths:
    engines/tinsel/polygons.cpp


diff --git a/engines/tinsel/polygons.cpp b/engines/tinsel/polygons.cpp
index 0d885d3c967..ad35a0cb74a 100644
--- a/engines/tinsel/polygons.cpp
+++ b/engines/tinsel/polygons.cpp
@@ -29,7 +29,6 @@
 #include "common/serializer.h"
 #include "tinsel/tinsel.h"
 #include "tinsel/token.h"
-#include "tinsel/spriter.h"
 #include "tinsel/sysvar.h"
 
 #include "tinsel/background.h"
@@ -2467,13 +2466,13 @@ void UpdateGroundPlane() {
 	POLYGON* pp = Polys[i];
 	Poly ptp(_vm->_handle->LockMem(pHandle), pp->pIndex);
 
-	Vertex2c v[4];
+	// Vertex2c v[4];
 
-	float scale = SysVar(SV_SPRITER_SCALE);
-	TransformXYZ(ptp.vx[0] * scale, -ptp.vy[0] * scale, -ptp.vz[0] * scale, v[0]);
-	TransformXYZ(ptp.vx[1] * scale, -ptp.vy[1] * scale, -ptp.vz[1] * scale, v[1]);
-	TransformXYZ(ptp.vx[2] * scale, -ptp.vy[2] * scale, -ptp.vz[2] * scale, v[2]);
-	TransformXYZ(ptp.vx[3] * scale, -ptp.vy[3] * scale, -ptp.vz[3] * scale, v[3]);
+	// float scale = SysVar(SV_SPRITER_SCALE);
+	// TransformXYZ(ptp.vx[0] * scale, -ptp.vy[0] * scale, -ptp.vz[0] * scale, v[0]);
+	// TransformXYZ(ptp.vx[1] * scale, -ptp.vy[1] * scale, -ptp.vz[1] * scale, v[1]);
+	// TransformXYZ(ptp.vx[2] * scale, -ptp.vy[2] * scale, -ptp.vz[2] * scale, v[2]);
+	// TransformXYZ(ptp.vx[3] * scale, -ptp.vy[3] * scale, -ptp.vz[3] * scale, v[3]);
 	//...
 }
 




More information about the Scummvm-git-logs mailing list