diff options
-rw-r--r-- | NewerProjectKP.yaml | 13 | ||||
-rw-r--r-- | koopatlas.yaml | 3 | ||||
-rw-r--r-- | src/koopatlas/camera.cpp | 8 | ||||
-rw-r--r-- | src/koopatlas/map.cpp | 2 |
4 files changed, 19 insertions, 7 deletions
diff --git a/NewerProjectKP.yaml b/NewerProjectKP.yaml index 3c9657b..d7d4343 100644 --- a/NewerProjectKP.yaml +++ b/NewerProjectKP.yaml @@ -2,8 +2,8 @@ output_dir: "NewerASM" code_address: 0x808D9000 modules: - processed/prolog.yaml + - processed/magicplatform.yaml - processed/bugfixes.yaml -# - processed/worldmap.yaml - processed/koopatlas.yaml - processed/levelnames.yaml - processed/animtiles.yaml @@ -16,6 +16,7 @@ modules: - processed/poweruphax.yaml # - processed/heapbar.yaml - processed/randtiles.yaml + - processed/objkinoko.yaml - processed/tilegod.yaml - processed/linegod.yaml - processed/tilesetfixer.yaml @@ -37,6 +38,16 @@ modules: - processed/bossRamboo.yaml - processed/bossBalboaWrench.yaml - processed/bossWrenchThrow.yaml + - processed/bossPodouble.yaml + - processed/bossTopman.yaml + - processed/bossCaptainBowser.yaml - processed/effectVideo.yaml - processed/fakeStarCoin.yaml + - processed/shyguy.yaml + - processed/meteor.yaml + - processed/topman.yaml + - processed/electricLine.yaml + - processed/makeYourOwn.yaml + - processed/challengeStar.yaml + # - processed/pengi.yaml # - processed/actorlog.yaml diff --git a/koopatlas.yaml b/koopatlas.yaml index 37c4a3d..55c9c44 100644 --- a/koopatlas.yaml +++ b/koopatlas.yaml @@ -1,11 +1,10 @@ --- source_files: + - ../src/boss.cpp # wtf is this doing in the Level Select/WorldMap stuff?? - ../src/fileload.cpp - ../src/scene.S - ../src/levelinfo.cpp - ../src/levelinfo_old.cpp # backwards compatibility for LevelNames - - ../src/player.cpp - - ../src/effects.cpp - ../src/koopatlas/core.cpp - ../src/koopatlas/player.cpp - ../src/koopatlas/hud.cpp diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp index 47b68a5..c13db56 100644 --- a/src/koopatlas/camera.cpp +++ b/src/koopatlas/camera.cpp @@ -69,7 +69,7 @@ int dWorldCamera_c::onExecute() { int heldButtons = Remocon_GetButtons(GetActiveRemocon()); if (heldButtons & WPAD_MINUS) { bool change = false; - if (heldButtons & WPAD_LEFT) { + /*if (heldButtons & WPAD_LEFT) { currentX -= 8.0f; change = true; } @@ -84,7 +84,7 @@ int dWorldCamera_c::onExecute() { if (heldButtons & WPAD_DOWN) { currentY -= 8.0f; change = true; - } + }*/ if (heldButtons & WPAD_B) { zoomLevel -= 0.10f; change = true; @@ -96,6 +96,10 @@ int dWorldCamera_c::onExecute() { if (change) { } } + daWMPlayer_c *player = daWMPlayer_c::instance; + currentX = player->pos.x; + currentY = player->pos.y; + calculateScreenGeometry(); doStuff(10000.0); generateCameraMatrices(); diff --git a/src/koopatlas/map.cpp b/src/koopatlas/map.cpp index 258cf7c..5e2b813 100644 --- a/src/koopatlas/map.cpp +++ b/src/koopatlas/map.cpp @@ -41,8 +41,6 @@ dWMMap_c::dWMMap_c() { int dWMMap_c::onCreate() { renderer.allocator.setup(GameHeaps[0], 0x20); bool result = renderer.setup(&renderer.allocator); - if (result) - else bgMatrix.translation(1140.0f, -2910.0f, -500.0f); s16 rot = 0x4000; |