[Scummvm-git-logs] scummvm master -> 9907355d0e10c54ffed45f707a57c3e295382736

digitall noreply at scummvm.org
Sat Nov 28 02:56:33 UTC 2026


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

Summary:
9907355d0e ACCESS: Fix Undefined Symbol GCC Compiler Warnings in Noctropolis Font Class


Commit: 9907355d0e10c54ffed45f707a57c3e295382736
    https://github.com/scummvm/scummvm/commit/9907355d0e10c54ffed45f707a57c3e295382736
Author: D G Turner (digitall at scummvm.org)
Date: 2026-11-28T02:53:05Z

Commit Message:
ACCESS: Fix Undefined Symbol GCC Compiler Warnings in Noctropolis Font Class

These warnings are emitted if -Wundef is passed to the compiler.

The compile time define for enabling font dumping code has also been
renamed to a engine specific naming to avoid possible issues.

Changed paths:
    engines/access/noctropolis/noctropolis_font.cpp


diff --git a/engines/access/noctropolis/noctropolis_font.cpp b/engines/access/noctropolis/noctropolis_font.cpp
index 4b9f43e84d6..8a266e57e6a 100644
--- a/engines/access/noctropolis/noctropolis_font.cpp
+++ b/engines/access/noctropolis/noctropolis_font.cpp
@@ -22,7 +22,7 @@
 #include "access/noctropolis/noctropolis_font.h"
 #include "access/screen.h"
 
-#if DUMP_FONTS
+#ifdef NOCTROPOLIS_DUMP_FONTS
 #include "common/file.h"
 #include "image/png.h"
 #endif
@@ -89,8 +89,7 @@ void NoctropolisFont::makeCharSurface(Graphics::Surface &surface, byte ch, const
 	}
 }
 
-
-#if DUMP_FONTS
+#ifdef NOCTROPOLIS_DUMP_FONTS
 static int dumpno = 0;
 #endif
 
@@ -102,7 +101,7 @@ void NoctropolisFont::load(const uint16 *offsets, const byte *data) {
 		totalw += _chars[ch].w;
 	}
 
-#if DUMP_FONTS
+#ifdef NOCTROPOLIS_DUMP_FONTS
 	Graphics::Surface dump;
 	Common::DumpFile dumpfile;
 	dump.create(totalw, _height, Graphics::PixelFormat::createFormatCLUT8());




More information about the Scummvm-git-logs mailing list