mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-04-23 08:14:31 +00:00
Console include cleanup (#6413)
Looking into fixing warnings about commands already being bound, LUS initializes a console window which we ignore, but it registers global command handlers, SohConsoleWindow does this again, but that's also where mInputBuffer/mFilterBuffer get set Proper fix would be removing SohConsoleWindow, but it exists to have mono font
This commit is contained in:
parent
8c4d4738cc
commit
2f32abb511
|
|
@ -3,14 +3,6 @@
|
|||
#include "soh/SohGui/UIWidgets.hpp"
|
||||
#include "soh/SohGui/SohGui.hpp"
|
||||
|
||||
void SohConsoleWindow::InitElement() {
|
||||
ConsoleWindow::InitElement();
|
||||
}
|
||||
|
||||
void SohConsoleWindow::UpdateElement() {
|
||||
ConsoleWindow::UpdateElement();
|
||||
}
|
||||
|
||||
void SohConsoleWindow::DrawElement() {
|
||||
ImGui::BeginDisabled(CVarGetInteger(CVAR_SETTING("DisableChanges"), 0));
|
||||
UIWidgets::PushStyleInput(THEME_COLOR);
|
||||
|
|
|
|||
|
|
@ -9,8 +9,6 @@ class SohConsoleWindow : public Ship::ConsoleWindow {
|
|||
using ConsoleWindow::ConsoleWindow;
|
||||
|
||||
protected:
|
||||
void InitElement() override;
|
||||
void UpdateElement() override;
|
||||
void DrawElement() override;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
|||
|
|
@ -20,14 +20,7 @@
|
|||
#include <port/switch/SwitchImpl.h>
|
||||
#endif
|
||||
#include "include/global.h"
|
||||
#include "include/z64audio.h"
|
||||
#include "soh/SaveManager.h"
|
||||
#include "soh/OTRGlobals.h"
|
||||
#include "soh/Enhancements/Presets/Presets.h"
|
||||
#include "soh/resource/type/Skeleton.h"
|
||||
|
||||
#include "soh/Enhancements/game-interactor/GameInteractor.h"
|
||||
#include "soh/Enhancements/cosmetics/authenticGfxPatches.h"
|
||||
#include "soh/Enhancements/debugger/MessageViewer.h"
|
||||
#include "soh/Notification/Notification.h"
|
||||
#include "soh/Enhancements/TimeDisplay/TimeDisplay.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue