summaryrefslogtreecommitdiff
path: root/src/mrsun.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/mrsun.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 '')
-rwxr-xr-xsrc/mrsun.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mrsun.cpp b/src/mrsun.cpp
index ebc33db..86c5bfb 100755
--- a/src/mrsun.cpp
+++ b/src/mrsun.cpp
@@ -4,6 +4,11 @@
#include "boss.h"
+const char* MSarcNameList [] = {
+ "mrsun",
+ NULL
+};
+
class daMrSun_c : public dEn_c {
int onCreate();
int onDelete();
@@ -167,7 +172,7 @@ int daMrSun_c::onCreate() {
if ((this->settings & 0xF) == 0) { // It's a sun
hasGlow = true;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/sun.brres"));
+ nw4r::g3d::ResFile rf(getResource("mrsun", "g3d/sun.brres"));
bodyModel.setup(rf.GetResMdl("Sun"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
@@ -178,7 +183,7 @@ int daMrSun_c::onCreate() {
else { // It's a moon
hasGlow = false;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/moon.brres"));
+ nw4r::g3d::ResFile rf(getResource("mrsun", "g3d/moon.brres"));
bodyModel.setup(rf.GetResMdl("Moon"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
}