mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
g_mcoreCount seem to be signed integers
This commit is contained in:
parent
6b10dd844f
commit
33bfba825b
@ -1,14 +1,16 @@
|
|||||||
#include "define.h"
|
#include "define.h"
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x1010141c
|
// GLOBAL: LEGO1 0x1010141c
|
||||||
MxU32 g_mxcoreCount[101] = {0, -6643, -5643, -5058, -4643, -4321, -4058, -3836, -3643, -3473, -3321, -3184, -3058,
|
MxS32 g_mxcoreCount[101] = {
|
||||||
|
0, -6643, -5643, -5058, -4643, -4321, -4058, -3836, -3643, -3473, -3321, -3184, -3058,
|
||||||
-2943, -2836, -2736, -2643, -2556, -2473, -2395, -2321, -2251, -2184, -2120, -2058, -2000,
|
-2943, -2836, -2736, -2643, -2556, -2473, -2395, -2321, -2251, -2184, -2120, -2058, -2000,
|
||||||
-1943, -1888, -1836, -1785, -1736, -1689, -1643, -1599, -1556, -1514, -1473, -1434, -1395,
|
-1943, -1888, -1836, -1785, -1736, -1689, -1643, -1599, -1556, -1514, -1473, -1434, -1395,
|
||||||
-1358, -1321, -1286, -1251, -1217, -1184, -1152, -1120, -1089, -1058, -1029, -1000, -971,
|
-1358, -1321, -1286, -1251, -1217, -1184, -1152, -1120, -1089, -1058, -1029, -1000, -971,
|
||||||
-943, -915, -888, -862, -836, -810, -785, -761, -736, -713, -689, -666, -643,
|
-943, -915, -888, -862, -836, -810, -785, -761, -736, -713, -689, -666, -643,
|
||||||
-621, -599, -577, -556, -535, -514, -494, -473, -454, -434, -415, -395, -377,
|
-621, -599, -577, -556, -535, -514, -494, -473, -454, -434, -415, -395, -377,
|
||||||
-358, -340, -321, -304, -286, -268, -251, -234, -217, -200, -184, -168, -152,
|
-358, -340, -321, -304, -286, -268, -251, -234, -217, -200, -184, -168, -152,
|
||||||
-136, -120, -104, -89, -74, -58, -43, -29, -14, 0};
|
-136, -120, -104, -89, -74, -58, -43, -29, -14, 0
|
||||||
|
};
|
||||||
|
|
||||||
// GLOBAL: LEGO1 0x10101eac
|
// GLOBAL: LEGO1 0x10101eac
|
||||||
const char* g_parseExtraTokens = ":;";
|
const char* g_parseExtraTokens = ":;";
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "mxtypes.h"
|
#include "mxtypes.h"
|
||||||
|
|
||||||
extern MxU32 g_mxcoreCount[101];
|
extern MxS32 g_mxcoreCount[101];
|
||||||
extern const char* g_parseExtraTokens;
|
extern const char* g_parseExtraTokens;
|
||||||
extern const char* g_strWORLD;
|
extern const char* g_strWORLD;
|
||||||
extern const char* g_strSOUND;
|
extern const char* g_strSOUND;
|
||||||
|
|||||||
@ -11,7 +11,7 @@ MxResult MxCore::Tickle()
|
|||||||
// FUNCTION: LEGO1 0x100ae1a0
|
// FUNCTION: LEGO1 0x100ae1a0
|
||||||
MxCore::MxCore()
|
MxCore::MxCore()
|
||||||
{
|
{
|
||||||
m_id = g_mxcoreCount[0];
|
m_id = (MxU32)g_mxcoreCount[0];
|
||||||
g_mxcoreCount[0]++;
|
g_mxcoreCount[0]++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user