Remove unused includes and clean up header files
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
#include "imgui/imgui.h"
|
||||
|
||||
#include "app/zelda3/common.h"
|
||||
#include "app/zelda3/overworld/overworld.h"
|
||||
#include "app/zelda3/overworld/overworld_exit.h"
|
||||
#include "app/zelda3/overworld/overworld_item.h"
|
||||
#include "app/zelda3/overworld/overworld_entrance.h"
|
||||
#include "app/zelda3/sprite/sprite.h"
|
||||
|
||||
namespace yaze {
|
||||
namespace editor {
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include "app/gfx/bitmap.h"
|
||||
#include "app/gfx/snes_palette.h"
|
||||
#include "app/gui/canvas.h"
|
||||
#include "app/gui/color.h"
|
||||
#include "app/gui/icons.h"
|
||||
#include "app/gui/input.h"
|
||||
#include "app/gui/style.h"
|
||||
|
||||
@@ -89,8 +89,6 @@ class OverworldEditor : public Editor, public gfx::GfxContext {
|
||||
}
|
||||
absl::Status Save();
|
||||
|
||||
auto overworld() { return &overworld_; }
|
||||
|
||||
int jump_to_tab() { return jump_to_tab_; }
|
||||
int jump_to_tab_ = -1;
|
||||
|
||||
@@ -104,24 +102,9 @@ class OverworldEditor : public Editor, public gfx::GfxContext {
|
||||
absl::Status LoadGraphics();
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Draws the canvas, tile16 selector, and toolset in fullscreen
|
||||
*/
|
||||
void DrawFullscreenCanvas();
|
||||
|
||||
/**
|
||||
* @brief Toolset for entrances, exits, items, sprites, and transports.
|
||||
*/
|
||||
void DrawToolset();
|
||||
|
||||
/**
|
||||
* @brief Draws the overworld map settings. Graphics, palettes, etc.
|
||||
*/
|
||||
void DrawOverworldMapSettings();
|
||||
|
||||
/**
|
||||
* @brief Draw the overworld settings for ZSCustomOverworld.
|
||||
*/
|
||||
void DrawCustomOverworldMapSettings();
|
||||
|
||||
void RefreshChildMap(int i);
|
||||
@@ -163,10 +146,6 @@ class OverworldEditor : public Editor, public gfx::GfxContext {
|
||||
*/
|
||||
absl::Status CheckForCurrentMap();
|
||||
void CheckForMousePan();
|
||||
|
||||
/**
|
||||
* @brief Allows the user to make changes to the overworld map.
|
||||
*/
|
||||
void DrawOverworldCanvas();
|
||||
|
||||
absl::Status DrawTile16Selector();
|
||||
|
||||
Reference in New Issue
Block a user