Rename SharedROM to SharedRom

This commit is contained in:
scawful
2024-04-14 14:51:53 -05:00
parent 7e46cf1c64
commit 5953e58bd4
21 changed files with 26 additions and 24 deletions

View File

@@ -43,7 +43,7 @@ constexpr ImGuiTableFlags kDungeonTableFlags =
* entrances, calculating usage statistics, and rendering set usage.
*/
class DungeonEditor : public Editor,
public SharedROM,
public SharedRom,
public core::ExperimentFlags {
public:
absl::Status Update() override;

View File

@@ -73,7 +73,7 @@ constexpr ImGuiTableFlags kGfxEditFlags = ImGuiTableFlags_Reorderable |
* drawing toolsets, palette controls, clipboard imports, experimental features,
* and memory editor.
*/
class GraphicsEditor : public SharedROM {
class GraphicsEditor : public SharedRom {
public:
absl::Status Update();

View File

@@ -39,7 +39,7 @@ namespace editor {
* @brief The MasterEditor class represents the main editor for a ROM in the
* Yaze application.
*
* This class inherits from SharedROM, GfxContext, and ExperimentFlags, and
* This class inherits from SharedRom, GfxContext, and ExperimentFlags, and
* provides functionality for setting up the screen, updating the editor, and
* shutting down the editor. It also includes methods for drawing various menus
* and popups, saving the ROM, and managing editor-specific flags.
@@ -52,7 +52,7 @@ namespace editor {
* @note This class assumes the presence of an SDL_Renderer object for rendering
* graphics.
*/
class MasterEditor : public SharedROM,
class MasterEditor : public SharedRom,
public context::GfxContext,
public core::ExperimentFlags {
public:

View File

@@ -27,7 +27,7 @@ namespace editor {
* @class GfxGroupEditor
* @brief Manage graphics group configurations in a ROM.
*/
class GfxGroupEditor : public SharedROM {
class GfxGroupEditor : public SharedRom {
public:
absl::Status Update();

View File

@@ -59,7 +59,7 @@ static constexpr absl::string_view kSongNotes[] = {
* @class MusicEditor
* @brief A class for editing music data in a ROM.
*/
class MusicEditor : public SharedROM {
class MusicEditor : public SharedRom {
public:
void Update();

View File

@@ -81,7 +81,7 @@ class PaletteEditorHistory {
* @class PaletteEditor
* @brief Allows the user to view and edit in game palettes.
*/
class PaletteEditor : public SharedROM {
class PaletteEditor : public SharedRom {
public:
absl::Status Update();
absl::Status DrawPaletteGroups();

View File

@@ -27,7 +27,7 @@ namespace editor {
/**
* @brief Popup window to edit Tile16 data
*/
class Tile16Editor : public context::GfxContext, public SharedROM {
class Tile16Editor : public context::GfxContext, public SharedRom {
public:
absl::Status Update();
absl::Status DrawMenu();

View File

@@ -79,7 +79,7 @@ constexpr absl::string_view kOWMapTable = "#MapSettingsTable";
*
*/
class OverworldEditor : public Editor,
public SharedROM,
public SharedRom,
public context::GfxContext,
public context::EntranceContext,
public core::ExperimentFlags {

View File

@@ -34,9 +34,9 @@ namespace editor {
* The screens that can be edited include the title screen, naming screen,
* overworld map, inventory menu, and more.
*
* The class inherits from the SharedROM class.
* The class inherits from the SharedRom class.
*/
class ScreenEditor : public SharedROM {
class ScreenEditor : public SharedRom {
public:
ScreenEditor();
void Update();

View File

@@ -16,7 +16,7 @@ namespace editor {
* This class provides functionality for updating the sprite editor, drawing the
* editor table, drawing the sprite canvas, and drawing the current sheets.
*/
class SpriteEditor : public SharedROM {
class SpriteEditor : public SharedRom {
public:
/**
* @brief Updates the sprite editor.