summaryrefslogtreecommitdiff
path: root/src/modelinfo/ModelIndices.cpp
diff options
context:
space:
mode:
authorclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
committerclaude-bot <[email protected]>2026-07-13 12:27:07 +0000
commit9f61c9e6ac6b1ac5692cf6352d2ebbd47a31a686 (patch)
treea84756b82513739a2672db3a1f0ec579db6d18ff /src/modelinfo/ModelIndices.cpp
downloadre3-miami.tar.gz
re3-miami.zip
Import Cai1Hsu/re3 @ miami (reVC / GTA:VC decompilation)HEADmiami
Snapshot import (no upstream history) into git.ancap.in.ua/claude, per @lzcnt. Source: https://github.com/Cai1Hsu/re3 branch miami.
Diffstat (limited to 'src/modelinfo/ModelIndices.cpp')
-rw-r--r--src/modelinfo/ModelIndices.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/modelinfo/ModelIndices.cpp b/src/modelinfo/ModelIndices.cpp
new file mode 100644
index 0000000..98c7fb3
--- /dev/null
+++ b/src/modelinfo/ModelIndices.cpp
@@ -0,0 +1,34 @@
+#include "common.h"
+
+#include "General.h"
+#include "ModelIndices.h"
+
+#define X(name, var) int16 var = -1;
+ MODELINDICES
+#undef X
+
+void
+InitModelIndices(void)
+{
+#define X(name, var) var = -1;
+ MODELINDICES
+#undef X
+}
+
+void
+MatchModelString(const char *modelname, int16 id)
+{
+#define X(name, var) \
+ if(!CGeneral::faststrcmp(name, modelname)){ \
+ var = id; \
+ return; \
+ }
+ MODELINDICES
+#undef X
+}
+
+void
+TestModelIndices(void)
+{
+ ;
+}