From 64879c0e2dc6b95c46aa4dfb6259b4f23731f105 Mon Sep 17 00:00:00 2001 From: PS Date: Sun, 28 Feb 2021 15:47:05 -0800 Subject: [PATCH] cleanup --- README.md | 2 +- src/app/engine/assembly/foldhaus_assembly_debug.h | 5 ----- src/app/foldhaus_app.cpp | 3 ++- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ddbba99..46e3eee 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Windows - Debug 1. Just run `win32_msvc\debug\win32_foldhaus.exe` ## Debug Lumenarium -###Windows +### Windows Building in debug mode outputs pdb file info that can be read by Visual Studio or RemedyBG (preferred debugging solution, but ymmv). You can just open the exe in either application and it'll find the pdb file in the same directory ## What Is Lumenarium? diff --git a/src/app/engine/assembly/foldhaus_assembly_debug.h b/src/app/engine/assembly/foldhaus_assembly_debug.h index 07a3685..2bf6f40 100644 --- a/src/app/engine/assembly/foldhaus_assembly_debug.h +++ b/src/app/engine/assembly/foldhaus_assembly_debug.h @@ -201,11 +201,6 @@ AssemblyDebug_OverrideOutput(assembly_debug_state State, assembly_array Assembli InvalidDefaultCase; } - - if (State.Override ) - { - - } } diff --git a/src/app/foldhaus_app.cpp b/src/app/foldhaus_app.cpp index 47590c0..13f5dc5 100644 --- a/src/app/foldhaus_app.cpp +++ b/src/app/foldhaus_app.cpp @@ -57,12 +57,13 @@ INITIALIZE_APPLICATION(InitializeApplication) State->LedSystem = LedSystem_Create(Context.ThreadContext.Allocator, 128); State->AssemblyDebugState = AssemblyDebug_Create(&State->Permanent); State->AssemblyDebugState.Brightness = 255; - State->AssemblyDebugState.Override = ADS_Override_AllRed; + State->AssemblyDebugState.Override = ADS_Override_AllBlue; GlobalDebugServices->Interface.RenderSculpture = true; PanelSystem_Init(&State->PanelSystem, GlobalPanelDefs, GlobalPanelDefsCount, &State->Permanent); { + // NOTE(pjs): This just sets up the default panel layout panel* RootPanel = PanelSystem_PushPanel(&State->PanelSystem, PanelType_SculptureView, State, Context); SplitPanel(RootPanel, .25f, PanelSplit_Horizontal, &State->PanelSystem, State, Context);