summaryrefslogtreecommitdiff
path: root/src/koopatlas/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/koopatlas/map.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/koopatlas/map.cpp b/src/koopatlas/map.cpp
index 4600556..258cf7c 100644
--- a/src/koopatlas/map.cpp
+++ b/src/koopatlas/map.cpp
@@ -6,19 +6,16 @@
//#define DOODAD_DEBUGGING
#ifdef TILE_DEBUGGING
-#define TileReport OSReport
#else
inline void TileReport(const char *str, ...) { }
#endif
#ifdef BOUND_DEBUGGING
-#define BoundReport OSReport
#else
inline void BoundReport(const char *str, ...) { }
#endif
#ifdef DOODAD_DEBUGGING
-#define DoodadReport OSReport
#else
inline void DoodadReport(const char *str, ...) { }
#endif
@@ -26,12 +23,10 @@ inline void DoodadReport(const char *str, ...) { }
dWMMap_c *dWMMap_c::instance = 0;
dWMMap_c *dWMMap_c::build() {
- OSReport("Creating WM_Map\n");
void *buffer = AllocFromGameHeap1(sizeof(dWMMap_c));
dWMMap_c *c = new(buffer) dWMMap_c;
- OSReport("Created WM_Map @ %p\n", c);
instance = c;
return c;
@@ -45,12 +40,9 @@ dWMMap_c::dWMMap_c() {
int dWMMap_c::onCreate() {
renderer.allocator.setup(GameHeaps[0], 0x20);
- OSReport("Setting up Renderer\n");
bool result = renderer.setup(&renderer.allocator);
if (result)
- OSReport("Set up Renderer\n");
else
- OSReport(":(\n");
bgMatrix.translation(1140.0f, -2910.0f, -500.0f);
s16 rot = 0x4000;
@@ -135,10 +127,6 @@ void dWMMap_c::renderer_c::beginRendering() {
nw4r::g3d::Camera cam3d(GetCameraByID(0));
cam3d.GetCameraMtx(&renderMtx);
MTXTransApply(renderMtx, renderMtx, 0, 0, baseZ);
- /*OSReport("MTX:\n");
- OSReport("%f, %f, %f, %f:\n", renderMtx[0][0], renderMtx[0][1], renderMtx[0][2], renderMtx[0][3]);
- OSReport("%f, %f, %f, %f:\n", renderMtx[1][0], renderMtx[1][1], renderMtx[1][2], renderMtx[1][3]);
- OSReport("%f, %f, %f, %f:\n", renderMtx[2][0], renderMtx[2][1], renderMtx[2][2], renderMtx[2][3]);//*/
GXSetCurrentMtx(GX_PNMTX0);