From e5e7ad18cd04dcbc376f87769937c1fb1f09f125 Mon Sep 17 00:00:00 2001 From: Treeki Date: Mon, 16 Jan 2012 04:41:34 +0100 Subject: cleaning up house --- src/koopatlas/core.cpp | 93 -------------------------------------------------- 1 file changed, 93 deletions(-) (limited to 'src/koopatlas') diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp index 627f828..fb1e865 100644 --- a/src/koopatlas/core.cpp +++ b/src/koopatlas/core.cpp @@ -798,31 +798,6 @@ void dScKoopatlas_c::executeState_QuickSaveEndCloseWait() { void dScKoopatlas_c::executeState_SaveError() { } -/* -// MODELLED ON STAGE -void NewerMapDrawFunc() { - DoSomethingCameraRelatedWithEGGScreen(0, &dWorldCamera_c::instance->screen); - LinkScene(0); - ChangeAlphaUpdate(false); - SceneCalcWorld(0); - SceneCameraStuff(0); - DrawOpa(); - DrawXlu(); - // Something - nw4r::g3d::Camera camera(GetCameraByID(0)); - camera.GXSetViewport(); - camera.GXSetScissor(); - RenderEffects(0, 6); - SetupLYTDrawing(); - DrawAllLayoutsBeforeX(0x81); - RenderEffects(0, 3); - RenderEffects(0, 2); - DrawAllLayoutsAfterX(0x80); - ClearLayoutDrawList(); - UnlinkScene(0); -}*/ - - void NewerMapDrawFunc() { Reset3DState(); SetCurrentCameraID(0); @@ -858,71 +833,3 @@ void NewerMapDrawFunc() { SetCurrentCameraID(0); } - -/*void NewerMapDrawFunc() { - int keepCamera = GetCurrentCameraID(); - - // All drawing uses scene 1, since that's the only one loaded by GAME_SETUP. - // Todo: Newer-specific scenes? - - // Stage 1 - - // Stage 2 - Reset3DState(); - SetCurrentCameraID(0); - LinkScene(0); - SceneCalcWorld(0); - SceneCameraStuff(0); - ChangeAlphaUpdate(false); - CalcMaterial(); - DrawOpa(); - DrawXlu(); - UnlinkScene(0); - GXDrawDone(); - - //Reset3DState(); - //T3D::DrawQueue(); - - // Stage 3 - Reset3DState(); - SetupLYTDrawing(); - DrawAllLayoutsBeforeX(146); - //DrawAllLayoutsBeforeX(129); - //DrawAllLayoutsAfterXandBeforeY(128, 146); - GXDrawDone(); - - // Stage 4 - RemoveAllFromScnRoot(); - Reset3DState(); - SetCurrentCameraID(1); - DoSpecialDrawing1(); - LinkScene(1); - SceneCalcWorld(1); - SceneCameraStuff(1); - CalcMaterial(); - DrawOpa(); - DrawXlu(); - - // Stage 5 - if (GAMEMGR_GET_AFC(GameMgr)) { - for (int i = 0; i < 4; i++) { - RenderEffects(0, 11+i); - } - - for (int i = 0; i < 4; i++) { - RenderEffects(0, 7+i); - } - } - - RenderEffects(0, 2); // need to investigate how this thing works - - DrawAllLayoutsAfterX(145); - ClearLayoutDrawList(); // this is REALLY IMPORTANT! - - UnlinkScene(1); - - // End - SetCurrentCameraID(0); -} - -*/ -- cgit v1.2.3