summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-09-19 18:15:33 -0500
committerColin Noga <Tempus@Spectrum-Song.local>2011-09-19 18:15:33 -0500
commit0e3a9222f273d40746695933a0b7368cc29d4507 (patch)
treeb5fa4e45b03c449b60fcf6d8dab9e853ad7ddf87
parentfd0dd24cb30961a8f7ee9c672ebdea742b8140d4 (diff)
downloadkamek-0e3a9222f273d40746695933a0b7368cc29d4507.tar.gz
kamek-0e3a9222f273d40746695933a0b7368cc29d4507.zip
Mr.Sun, specified moon texture
Diffstat (limited to '')
-rwxr-xr-xsrc/mrsun.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mrsun.cpp b/src/mrsun.cpp
index a62c723..6a5e871 100755
--- a/src/mrsun.cpp
+++ b/src/mrsun.cpp
@@ -89,9 +89,12 @@ int daMrSun_c::onCreate() {
else { // It's a moon
hasGlow = false;
- nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/bilikyu.brres"));
- bodyModel.setup(rf.GetResMdl("bilikyu"), &allocator, 0x224, 1, 0);
+ nw4r::g3d::ResFile rf(getResource("bilikyu", "g3d/moon.brres"));
+ bodyModel.setup(rf.GetResMdl("Moon"), &allocator, 0x224, 1, 0);
SetupTextures_Map(&bodyModel, 0);
+
+ glowModel.setup(rf.GetResMdl("MoonGlow"), &allocator, 0x224, 1, 0);
+ SetupTextures_Map(&glowModel, 0);
}
allocator.unlink();