diff options
author | Treeki <treeki@gmail.com> | 2013-02-12 23:40:48 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2013-02-12 23:40:48 +0100 |
commit | 07fc6376d5b74531518327ffd5f1316a7d59f72f (patch) | |
tree | 2cb123aa9bae8fe56abc32347a39ac0e215f1313 /src/koopatlas | |
parent | 9f244e88204491e85f1c086bc8d3478ea9c34770 (diff) | |
download | kamek-07fc6376d5b74531518327ffd5f1316a7d59f72f.tar.gz kamek-07fc6376d5b74531518327ffd5f1316a7d59f72f.zip |
camera updates for warp zone
Diffstat (limited to '')
-rw-r--r-- | src/koopatlas/camera.cpp | 35 |
1 files 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; |