mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-18 11:52:23 -05:00
Clean up unused annotations to reduce errors (#1177)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
parent
c9a2a7203b
commit
362551e279
6 changed files with 9 additions and 11 deletions
|
@ -11,7 +11,7 @@ class RaceStandsEntity : public BuildingEntity {
|
|||
// FUNCTION: LEGO1 0x1000efa0
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f0300
|
||||
// at LEGO1 0x100f0300, needs no annotation
|
||||
return "RaceStandsEntity";
|
||||
}
|
||||
|
||||
|
@ -125,7 +125,7 @@ class CaveEntity : public BuildingEntity {
|
|||
// FUNCTION: LEGO1 0x1000f1e0
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f0300
|
||||
// at LEGO1 0x100f0300, needs no annotation
|
||||
return "RaceStandsEntity";
|
||||
}
|
||||
|
||||
|
@ -147,7 +147,7 @@ class JailEntity : public BuildingEntity {
|
|||
// FUNCTION: LEGO1 0x1000f0c0
|
||||
const char* ClassName() const override // vtable+0x0c
|
||||
{
|
||||
// STRING: LEGO1 0x100f0300
|
||||
// at LEGO1 0x100f0300, needs no annotation
|
||||
return "RaceStandsEntity";
|
||||
}
|
||||
|
||||
|
|
|
@ -56,8 +56,8 @@ const char* g_varTOWSPEED = "towSPEED";
|
|||
// STRING: LEGO1 0x100f439c
|
||||
const char* g_varTOWFUEL = "towFUEL";
|
||||
|
||||
// the STRING is already declared for GLOBAL 0x101020cc
|
||||
// GLOBAL: LEGO1 0x100f3a40
|
||||
// STRING: LEGO1 0x100f3808
|
||||
const char* g_varVISIBILITY = "VISIBILITY";
|
||||
|
||||
// GLOBAL: LEGO1 0x100f3a44
|
||||
|
@ -72,8 +72,8 @@ const char* g_varCURSOR = "CURSOR";
|
|||
// STRING: LEGO1 0x100f3a1c
|
||||
const char* g_varWHOAMI = "WHO_AM_I";
|
||||
|
||||
// the STRING is already declared at LEGO1 0x100f3fb0
|
||||
// GLOBAL: LEGO1 0x100f3a50
|
||||
// STRING: LEGO1 0x100f3a18
|
||||
const char* g_delimiter2 = " \t";
|
||||
|
||||
// GLOBAL: LEGO1 0x100f3a54
|
||||
|
|
|
@ -67,8 +67,8 @@ const SkeletonKickPhase LegoRaceCar::g_skeletonKickPhases[] = {
|
|||
{&LegoRaceCar::g_skBMap[3], 0.8, 0.9, LEGORACECAR_KICK2},
|
||||
};
|
||||
|
||||
// the STRING is already declared at LEGO1 0x101020b8
|
||||
// GLOBAL: LEGO1 0x100f0b10
|
||||
// STRING: LEGO1 0x100f09cc
|
||||
const char* LegoRaceCar::g_strSpeed = "SPEED";
|
||||
|
||||
// GLOBAL: LEGO1 0x100f0b18
|
||||
|
|
|
@ -281,9 +281,6 @@
|
|||
// LIBRARY: LEGO1 0x1008fdd0
|
||||
// __dosmaperr
|
||||
|
||||
// LIBRARY: LEGO1 0x1008fe30
|
||||
// __unlock_file
|
||||
|
||||
// LIBRARY: LEGO1 0x1008fe50
|
||||
// __errno
|
||||
|
||||
|
|
|
@ -873,8 +873,9 @@ int MxDirectDraw::FlipToGDISurface()
|
|||
// FUNCTION: LEGO1 0x1009e830
|
||||
void MxDirectDraw::Error(const char* p_message, int p_error)
|
||||
{
|
||||
// GLOBAL: LEGO1 0x10100c70
|
||||
// at LEGO1 0x10100c70, needs no annotation
|
||||
static BOOL g_isInsideError = FALSE;
|
||||
|
||||
if (!g_isInsideError) {
|
||||
g_isInsideError = TRUE;
|
||||
Destroy();
|
||||
|
|
|
@ -49,7 +49,7 @@ Device* RendererImpl::CreateDevice(const DeviceDirect3DCreateData& data)
|
|||
// FUNCTION: LEGO1 0x100a1900
|
||||
Device* RendererImpl::CreateDevice(const DeviceDirectDrawCreateData& data)
|
||||
{
|
||||
// GLOBAL: LEGO1 0x10101040
|
||||
// at LEGO1 0x10101040, needs no annotation
|
||||
static int g_SetBufferCount = 1;
|
||||
|
||||
DeviceImpl* device = new DeviceImpl();
|
||||
|
|
Loading…
Reference in a new issue