diff options
author | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2012-03-15 02:54:33 +0100 |
commit | e88fd1dcef52d4375fef655918886fc14bb1f40c (patch) | |
tree | f081b14a420331258665a58ad31be54b13b1c655 /src/koopatlas/player.cpp | |
parent | 18a6c3dbe01f484b346923ebc53f674c1e4a5101 (diff) | |
download | kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.tar.gz kamek-e88fd1dcef52d4375fef655918886fc14bb1f40c.zip |
optimisations to reduce code size
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/player.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/koopatlas/player.cpp b/src/koopatlas/player.cpp index c89535f..709fe43 100644 --- a/src/koopatlas/player.cpp +++ b/src/koopatlas/player.cpp @@ -3,15 +3,12 @@ daWMPlayer_c *daWMPlayer_c::instance; int daWMPlayer_c::onCreate() { - OSReport("* dWMPlayer_c created\n"); - OSReport("Init handler...\n"); this->modelHandler = new dPlayerModelHandler_c(0); this->modelHandler->loadModel(0, 3, 2); this->modelHandler->mdlClass->startAnimation(0, 1.2, 10.0, 0.0); this->modelHandler->setSRT((Vec){0.0,100.0,-100.0}, (S16Vec){0,0,0}, (Vec){2.0,2.0,2.0}); this->modelHandler->draw(); - OSReport("Init done!\n"); pos = (Vec){0.0f,0.0f,3000.0f}; rot = (S16Vec){0,0,0}; @@ -24,7 +21,6 @@ int daWMPlayer_c::onCreate() { int daWMPlayer_c::onDelete() { delete modelHandler; - OSReport("* dWMPlayer_c deleted\n"); return true; } @@ -130,12 +126,10 @@ void daWMPlayer_c::startAnimation(int id, float frame, float unk, float updateRa daWMPlayer_c *daWMPlayer_c::build() { - OSReport("Creating WMPlayer\n"); void *buffer = AllocFromGameHeap1(sizeof(daWMPlayer_c)); daWMPlayer_c *c = new(buffer) daWMPlayer_c; - OSReport("Created WMPlayer @ %p\n", c); instance = c; return c; |