Integrate performance monitoring across various editors
- Added performance monitoring capabilities using ScopedTimer in the DungeonEditor, PaletteEditor, ScreenEditor, MessageEditor, MusicEditor, SpriteEditor, and SettingsEditor classes to track loading times. - Enhanced the Load methods in each editor to include timing for critical operations, improving performance analysis and optimization. - Removed unnecessary debug output in the Sprite class to clean up the codebase.
This commit is contained in:
@@ -869,7 +869,6 @@ void Sprite::DrawSpriteTile(int x, int y, int srcx, int srcy, int pal,
|
||||
bool mirror_x, bool mirror_y, int sizex,
|
||||
int sizey) {
|
||||
if (current_gfx_.empty()) {
|
||||
std::cout << "No gfx loaded" << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user