[Scummvm-git-logs] scummvm master -> 4ffcf60b9330c9c9df8ec6fdfebcc5099a9292a2
digitall
noreply at scummvm.org
Wed Jul 6 23:53:35 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:
4ffcf60b93 ICB: Remove Unused Variables in PSX Global Objects Code
Commit: 4ffcf60b9330c9c9df8ec6fdfebcc5099a9292a2
https://github.com/scummvm/scummvm/commit/4ffcf60b9330c9c9df8ec6fdfebcc5099a9292a2
Author: D G Turner (digitall at scummvm.org)
Date: 2022-07-07T00:52:46+01:00
Commit Message:
ICB: Remove Unused Variables in PSX Global Objects Code
Changed paths:
engines/icb/global_objects_psx.cpp
engines/icb/global_objects_psx.h
diff --git a/engines/icb/global_objects_psx.cpp b/engines/icb/global_objects_psx.cpp
index 5445581ca90..db10c7f947b 100644
--- a/engines/icb/global_objects_psx.cpp
+++ b/engines/icb/global_objects_psx.cpp
@@ -45,18 +45,6 @@ psxActor *g_av_actor;
// Lighting structure and coordinates, colour components
PSXLamp *g_av_Light;
-#if CD_BUILD == 0
-// Colour of the z-fragments outlines
-int32 zfragRed = 255;
-int32 zfragGreen = 0;
-int32 zfragBlue = 0;
-
-// Colour of the z-layers outlines
-int32 zoverRed = 255;
-int32 zoverGreen = 0;
-int32 zoverBlue = 255;
-#endif // #if CD_BUILD == 0
-
// Colour of the actors bounding box
int32 bboxRed = 0;
int32 bboxGreen = 255;
diff --git a/engines/icb/global_objects_psx.h b/engines/icb/global_objects_psx.h
index 4dd704d4ad8..a767b8b74c2 100644
--- a/engines/icb/global_objects_psx.h
+++ b/engines/icb/global_objects_psx.h
@@ -62,16 +62,6 @@ extern int32 slineRed;
extern int32 slineGreen;
extern int32 slineBlue;
-// Colour of the z-fragments outlines
-extern int32 zfragRed;
-extern int32 zfragGreen;
-extern int32 zfragBlue;
-
-// Colour of the z-layers outlines
-extern int32 zoverRed;
-extern int32 zoverGreen;
-extern int32 zoverBlue;
-
// Colour of the wire-frame man
extern int32 wfrmRed;
extern int32 wfrmGreen;
More information about the Scummvm-git-logs
mailing list