summaryrefslogtreecommitdiff
path: root/src/topman.cpp
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-15 15:16:26 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-15 15:16:26 -0500
commit85ffcf8e57ab7a90318b8e24f62257b5393f7330 (patch)
treebf583ab2c8a1bc6f9a16b4a7a925a6daee541982 /src/topman.cpp
parenta463a96cf84284b4a54eb4c57bf929a523157b45 (diff)
downloadkamek-85ffcf8e57ab7a90318b8e24f62257b5393f7330.tar.gz
kamek-85ffcf8e57ab7a90318b8e24f62257b5393f7330.zip
Lots of bug fixes, changing up the giga goomba, added in shy guy samurai boss
Diffstat (limited to 'src/topman.cpp')
-rw-r--r--src/topman.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/topman.cpp b/src/topman.cpp
index 42527e2..edf75dd 100644
--- a/src/topman.cpp
+++ b/src/topman.cpp
@@ -3,6 +3,11 @@
#include <g3dhax.h>
#include <sfx.h>
+const char* TMarcNameList [] = {
+ "topman",
+ NULL
+};
+
class daTopman : public dEn_c {
int onCreate();
int onDelete();
@@ -300,7 +305,7 @@ int daTopman::onCreate() {
// Model creation
allocator.link(-1, GameHeaps[0], 0, 0x20);
- this->resFile.data = getResource("ben", "g3d/begoman_spike.brres");
+ this->resFile.data = getResource("topman", "g3d/begoman_spike.brres");
nw4r::g3d::ResMdl mdl = this->resFile.GetResMdl("begoman");
bodyModel.setup(mdl, &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);