Clean up unused annotations to reduce errors (#1177)

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz 2024-11-29 22:31:37 +01:00 committed by GitHub
parent c9a2a7203b
commit 362551e279
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 11 deletions

View file

@ -11,7 +11,7 @@ class RaceStandsEntity : public BuildingEntity {
// FUNCTION: LEGO1 0x1000efa0 // FUNCTION: LEGO1 0x1000efa0
const char* ClassName() const override // vtable+0x0c const char* ClassName() const override // vtable+0x0c
{ {
// STRING: LEGO1 0x100f0300 // at LEGO1 0x100f0300, needs no annotation
return "RaceStandsEntity"; return "RaceStandsEntity";
} }
@ -125,7 +125,7 @@ class CaveEntity : public BuildingEntity {
// FUNCTION: LEGO1 0x1000f1e0 // FUNCTION: LEGO1 0x1000f1e0
const char* ClassName() const override // vtable+0x0c const char* ClassName() const override // vtable+0x0c
{ {
// STRING: LEGO1 0x100f0300 // at LEGO1 0x100f0300, needs no annotation
return "RaceStandsEntity"; return "RaceStandsEntity";
} }
@ -147,7 +147,7 @@ class JailEntity : public BuildingEntity {
// FUNCTION: LEGO1 0x1000f0c0 // FUNCTION: LEGO1 0x1000f0c0
const char* ClassName() const override // vtable+0x0c const char* ClassName() const override // vtable+0x0c
{ {
// STRING: LEGO1 0x100f0300 // at LEGO1 0x100f0300, needs no annotation
return "RaceStandsEntity"; return "RaceStandsEntity";
} }

View file

@ -56,8 +56,8 @@ const char* g_varTOWSPEED = "towSPEED";
// STRING: LEGO1 0x100f439c // STRING: LEGO1 0x100f439c
const char* g_varTOWFUEL = "towFUEL"; const char* g_varTOWFUEL = "towFUEL";
// the STRING is already declared for GLOBAL 0x101020cc
// GLOBAL: LEGO1 0x100f3a40 // GLOBAL: LEGO1 0x100f3a40
// STRING: LEGO1 0x100f3808
const char* g_varVISIBILITY = "VISIBILITY"; const char* g_varVISIBILITY = "VISIBILITY";
// GLOBAL: LEGO1 0x100f3a44 // GLOBAL: LEGO1 0x100f3a44
@ -72,8 +72,8 @@ const char* g_varCURSOR = "CURSOR";
// STRING: LEGO1 0x100f3a1c // STRING: LEGO1 0x100f3a1c
const char* g_varWHOAMI = "WHO_AM_I"; const char* g_varWHOAMI = "WHO_AM_I";
// the STRING is already declared at LEGO1 0x100f3fb0
// GLOBAL: LEGO1 0x100f3a50 // GLOBAL: LEGO1 0x100f3a50
// STRING: LEGO1 0x100f3a18
const char* g_delimiter2 = " \t"; const char* g_delimiter2 = " \t";
// GLOBAL: LEGO1 0x100f3a54 // GLOBAL: LEGO1 0x100f3a54

View file

@ -67,8 +67,8 @@ const SkeletonKickPhase LegoRaceCar::g_skeletonKickPhases[] = {
{&LegoRaceCar::g_skBMap[3], 0.8, 0.9, LEGORACECAR_KICK2}, {&LegoRaceCar::g_skBMap[3], 0.8, 0.9, LEGORACECAR_KICK2},
}; };
// the STRING is already declared at LEGO1 0x101020b8
// GLOBAL: LEGO1 0x100f0b10 // GLOBAL: LEGO1 0x100f0b10
// STRING: LEGO1 0x100f09cc
const char* LegoRaceCar::g_strSpeed = "SPEED"; const char* LegoRaceCar::g_strSpeed = "SPEED";
// GLOBAL: LEGO1 0x100f0b18 // GLOBAL: LEGO1 0x100f0b18

View file

@ -281,9 +281,6 @@
// LIBRARY: LEGO1 0x1008fdd0 // LIBRARY: LEGO1 0x1008fdd0
// __dosmaperr // __dosmaperr
// LIBRARY: LEGO1 0x1008fe30
// __unlock_file
// LIBRARY: LEGO1 0x1008fe50 // LIBRARY: LEGO1 0x1008fe50
// __errno // __errno

View file

@ -873,8 +873,9 @@ int MxDirectDraw::FlipToGDISurface()
// FUNCTION: LEGO1 0x1009e830 // FUNCTION: LEGO1 0x1009e830
void MxDirectDraw::Error(const char* p_message, int p_error) void MxDirectDraw::Error(const char* p_message, int p_error)
{ {
// GLOBAL: LEGO1 0x10100c70 // at LEGO1 0x10100c70, needs no annotation
static BOOL g_isInsideError = FALSE; static BOOL g_isInsideError = FALSE;
if (!g_isInsideError) { if (!g_isInsideError) {
g_isInsideError = TRUE; g_isInsideError = TRUE;
Destroy(); Destroy();

View file

@ -49,7 +49,7 @@ Device* RendererImpl::CreateDevice(const DeviceDirect3DCreateData& data)
// FUNCTION: LEGO1 0x100a1900 // FUNCTION: LEGO1 0x100a1900
Device* RendererImpl::CreateDevice(const DeviceDirectDrawCreateData& data) Device* RendererImpl::CreateDevice(const DeviceDirectDrawCreateData& data)
{ {
// GLOBAL: LEGO1 0x10101040 // at LEGO1 0x10101040, needs no annotation
static int g_SetBufferCount = 1; static int g_SetBufferCount = 1;
DeviceImpl* device = new DeviceImpl(); DeviceImpl* device = new DeviceImpl();