namespace housekeeping continued x3
This commit is contained in:
@@ -21,10 +21,10 @@ namespace Editor {
|
||||
using namespace core;
|
||||
|
||||
Editor::Editor() {
|
||||
for (auto &k : core::Constants::kKeywords)
|
||||
for (auto &k : core::constants::kKeywords)
|
||||
language_65816_.mKeywords.emplace(k);
|
||||
|
||||
for (auto &k : core::Constants::kIdentifiers) {
|
||||
for (auto &k : core::constants::kIdentifiers) {
|
||||
TextEditor::Identifier id;
|
||||
id.mDeclaration = "Built-in function";
|
||||
language_65816_.mIdentifiers.insert(std::make_pair(std::string(k), id));
|
||||
@@ -497,7 +497,7 @@ void Editor::DrawDungeonEditor() {
|
||||
}
|
||||
|
||||
void Editor::DrawgfxEditor() {
|
||||
if (ImGui::BeginTabItem("gfx")) {
|
||||
if (ImGui::BeginTabItem("Graphics")) {
|
||||
ImGui::EndTabItem();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -301,7 +301,7 @@ void OverworldEditor::DrawTileSelector() {
|
||||
void OverworldEditor::DrawTile8Selector() {
|
||||
static ImVec2 scrolling(0.0f, 0.0f);
|
||||
ImVec2 canvas_p0 = ImGui::GetCursorScreenPos();
|
||||
ImVec2 canvas_sz = ImVec2(256 + 1, kNumSheetsToLoad * 64);
|
||||
ImVec2 canvas_sz = ImVec2(256 + 1, kNumSheetsToLoad * 64 + 1);
|
||||
ImVec2 canvas_p1 =
|
||||
ImVec2(canvas_p0.x + canvas_sz.x, canvas_p0.y + canvas_sz.y);
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ class OverworldEditor {
|
||||
constexpr static int kByteSize = 3;
|
||||
constexpr static int kMessageIdSize = 5;
|
||||
constexpr static float kInputFieldSize = 30.f;
|
||||
constexpr static int kNumSheetsToLoad = 50;
|
||||
constexpr static int kNumSheetsToLoad = 100;
|
||||
constexpr static int kTile8DisplayHeight = 64;
|
||||
|
||||
ImGuiTableFlags toolset_table_flags = ImGuiTableFlags_SizingFixedFit;
|
||||
|
||||
Reference in New Issue
Block a user