summaryrefslogtreecommitdiff
path: root/src/T2DLL/GlobalFunc.cpp
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/GlobalFunc.cpp
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/GlobalFunc.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/T2DLL/GlobalFunc.cpp b/src/T2DLL/GlobalFunc.cpp
index 754f5cd..a5f6f6f 100644
--- a/src/T2DLL/GlobalFunc.cpp
+++ b/src/T2DLL/GlobalFunc.cpp
@@ -1,21 +1,12 @@
+#define ATOI_KLUDGE
#include "CResFile.h"
#include "GlobalFunc.h"
#include "T2BitImage.h"
+#include "T2DLL.h"
#include "T2OptionPluginList.h"
#include "T2TowerDoc.h"
#include "T2WorldDef.h"
-T2SoundPlayer *Sounds;
-CT2App *gT2App;
-int gCommonColor[20];
-BOOL FFEnable;
-DWORD FFBaseForce;
-IDirectInput *FFgpdi;
-IDirectInputDevice2W *FFJoystick;
-IDirectInputEffect *FFBuild;
-IDirectInputEffect *FFStatic;
-T2TowerDoc *g_TowerDoc;
-
char *strtokEx(char * inStr, const char * inSep, char ** ioLast) {
#line 11
_ASSERT(!inStr || !*ioLast);
@@ -344,7 +335,7 @@ CString LoadStringTable(HINSTANCE inModule, int inID1, int inID2) {
}
}
} else {
- str.Format("%d-%d@%s", inID1, inID2);
+ str.Format("%d-%d", inID1, inID2);
BOOL isOpen = false;
CResFile theResFile;