summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-20 01:07:57 +0200
committeraap <aap@papnet.eu>2019-06-20 01:07:57 +0200
commitf4146d39a266b83cef8e81bc62bcc77032c3b13c (patch)
tree50526c6443c448dbf0a2effa24b4dd040a3ac5e1 /src/control
parenttypo in visibility plugins (diff)
parentimplemented cHandlingDataMgr (diff)
downloadre3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar.gz
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar.bz2
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar.lz
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar.xz
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.tar.zst
re3-f4146d39a266b83cef8e81bc62bcc77032c3b13c.zip
Diffstat (limited to '')
-rw-r--r--src/control/HandlingMgr.cpp (renamed from src/control/HandlingDataMgr.cpp)2
-rw-r--r--src/control/HandlingMgr.h (renamed from src/control/HandlingDataMgr.h)1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control/HandlingDataMgr.cpp b/src/control/HandlingMgr.cpp
index 48000b48..47d0564c 100644
--- a/src/control/HandlingDataMgr.cpp
+++ b/src/control/HandlingMgr.cpp
@@ -2,7 +2,7 @@
#include "patcher.h"
#include "main.h"
#include "FileMgr.h"
-#include "HandlingDatamgr.h"
+#include "HandlingMgr.h"
cHandlingDataMgr &mod_HandlingManager = *(cHandlingDataMgr*)0x728060;
diff --git a/src/control/HandlingDataMgr.h b/src/control/HandlingMgr.h
index 216aa7e8..958e2351 100644
--- a/src/control/HandlingDataMgr.h
+++ b/src/control/HandlingMgr.h
@@ -133,6 +133,7 @@ public:
int FindExactWord(const char *word, const char *words, int wordLen, int numWords);
void ConvertDataToGameUnits(tHandlingData *handling);
int32 GetHandlingId(const char *name);
+ tHandlingData *GetHandlingData(eHandlingId id) { return &HandlingData[id]; }
};
VALIDATE_SIZE(cHandlingDataMgr, 0x3030);
extern cHandlingDataMgr &mod_HandlingManager;