Refactor editor manager and dungeon editor for improved clarity and performance
- Removed unused functions and streamlined shortcut registration in EditorManager for better readability. - Updated lambda captures to use 'this' pointer for consistency and clarity. - Refactored DungeonEditor to utilize ranges for sorting and filling operations, enhancing performance and readability. - Simplified table setup in DungeonEditor by using a static array for tool names, improving maintainability.
This commit is contained in:
@@ -55,7 +55,7 @@ void Overworld::FetchLargeMaps() {
|
||||
overworld_maps_[136].SetAsSmallMap();
|
||||
|
||||
std::array<bool, kNumMapsPerWorld> map_checked;
|
||||
std::fill(map_checked.begin(), map_checked.end(), false);
|
||||
std::ranges::fill(map_checked, false);
|
||||
|
||||
int xx = 0;
|
||||
int yy = 0;
|
||||
|
||||
Reference in New Issue
Block a user