From 07fc6376d5b74531518327ffd5f1316a7d59f72f Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 12 Feb 2013 23:40:48 +0100 Subject: camera updates for warp zone --- src/koopatlas/camera.cpp | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp index 8b7ee10..d98bff0 100644 --- a/src/koopatlas/camera.cpp +++ b/src/koopatlas/camera.cpp @@ -66,39 +66,10 @@ int dWorldCamera_c::onDelete() { int dWorldCamera_c::onExecute() { - int heldButtons = Remocon_GetButtons(GetActiveRemocon()); - if (heldButtons & WPAD_MINUS) { - bool change = false; - /*if (heldButtons & WPAD_LEFT) { - currentX -= 8.0f; - change = true; - } - if (heldButtons & WPAD_RIGHT) { - currentX += 8.0f; - change = true; - } - if (heldButtons & WPAD_UP) { - currentY += 8.0f; - change = true; - } - if (heldButtons & WPAD_DOWN) { - currentY -= 8.0f; - change = true; - }*/ - if (heldButtons & WPAD_B) { - zoomLevel -= 0.10f; - change = true; - } - if (heldButtons & WPAD_A) { - zoomLevel += 0.10f; - change = true; - } - if (change) { - } - } if (dScKoopatlas_c::instance->warpZoneHacks) { - currentX = 2484.0f; - currentY = -2100.0f; + currentX = 2040.0f; + currentY = -1460.0f; + zoomLevel = 3.4f; } else { daWMPlayer_c *player = daWMPlayer_c::instance; currentX = player->pos.x; -- cgit v1.2.3