Enhance testing system integration in EditorManager and app configuration
- Added conditional compilation flags for enabling testing features in EditorManager, ensuring that testing-related functionalities are only initialized when tests are enabled. - Updated app configuration to define YAZE_ENABLE_TESTING based on the build settings, improving clarity and control over testing capabilities. - Refactored comments to clarify the context of testing features throughout the EditorManager code.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "tile16_editor.h"
|
||||
|
||||
#include <array>
|
||||
#include <set>
|
||||
|
||||
#include "absl/status/status.h"
|
||||
@@ -1617,7 +1618,7 @@ void Tile16Editor::DrawPaletteSettings() {
|
||||
|
||||
Separator();
|
||||
Text("Current State:");
|
||||
static const char* palette_group_names[] = {
|
||||
static constexpr std::array<const char*, 7> palette_group_names = {
|
||||
"OW Main", "OW Aux", "OW Anim", "Dungeon", "Sprites", "Armor", "Sword"
|
||||
};
|
||||
Text("Palette Group: %d (%s)", current_palette_group_,
|
||||
|
||||
Reference in New Issue
Block a user