summaryrefslogtreecommitdiff
path: root/src/apDebug.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-10-29 12:08:11 +0100
committerTreeki <treeki@gmail.com>2012-10-29 12:08:11 +0100
commit4e43d350d71fcbd90bc8e647aa53fc5152bb1de8 (patch)
tree16d2c84eab74a0b8eb26d58bc0050c2d8b7cd82c /src/apDebug.cpp
parentdd90d6a3cbd0288a1138122106b9f4f819f5bbba (diff)
downloadkamek-4e43d350d71fcbd90bc8e647aa53fc5152bb1de8.tar.gz
kamek-4e43d350d71fcbd90bc8e647aa53fc5152bb1de8.zip
quick API update, and flipblock finished
Diffstat (limited to '')
-rw-r--r--src/apDebug.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/apDebug.cpp b/src/apDebug.cpp
index f534e58..a352d4a 100644
--- a/src/apDebug.cpp
+++ b/src/apDebug.cpp
@@ -109,6 +109,13 @@ void APDebugDrawer::drawXlu() {
ActivePhysics *ap = ActivePhysics::globalListHead;
while (ap) {
+// if (ap->owner->name == PLAYER)
+// OSReport("Player has : DistToC=%f,%f DistToEdge=%f,%f Pos=%f,%f Scale=%f,%f\n",
+// ap->info.xDistToCenter, ap->info.yDistToCenter,
+// ap->info.xDistToEdge, ap->info.yDistToEdge,
+// ap->owner->pos.x, ap->owner->pos.y,
+// ap->owner->scale.x, ap->owner->scale.y);
+
u32 uptr = (u32)ap;
u8 r = (uptr>>16)&0xFF;
u8 g = (uptr>>8)&0xFF;