Enhance OverworldEditor with on-demand map refresh and texture loading improvements
- Implemented on-demand refresh for overworld maps, optimizing updates based on visibility and modifications. - Introduced a new method to ensure textures are loaded before drawing, improving user experience with loading indicators. - Increased the number of textures processed per frame for faster loading times, enhancing performance during map transitions. - Updated the release workflow to enable additional testing configurations for YAZE builds.
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
// Global flags
|
||||
ABSL_FLAG(bool, tui, false, "Launch the Text User Interface");
|
||||
ABSL_FLAG(bool, version, false, "Show version information");
|
||||
ABSL_FLAG(bool, verbose, false, "Enable verbose output");
|
||||
ABSL_FLAG(std::string, rom, "", "Path to the ROM file");
|
||||
|
||||
@@ -121,12 +120,6 @@ class ModernCLI {
|
||||
};
|
||||
}
|
||||
|
||||
void ShowVersion() {
|
||||
std::cout << "z3ed v0.3.1 - Yet Another Zelda3 Editor CLI" << std::endl;
|
||||
std::cout << "Built with Asar integration" << std::endl;
|
||||
std::cout << "Copyright (c) 2025 scawful" << std::endl;
|
||||
}
|
||||
|
||||
void ShowHelp(const std::string& command = "") {
|
||||
if (!command.empty()) {
|
||||
auto it = commands_.find(command);
|
||||
@@ -452,12 +445,6 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
yaze::cli::ModernCLI cli;
|
||||
|
||||
// Handle version flag
|
||||
if (absl::GetFlag(FLAGS_version)) {
|
||||
cli.ShowVersion();
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Handle TUI flag
|
||||
if (absl::GetFlag(FLAGS_tui)) {
|
||||
yaze::cli::ShowMain();
|
||||
|
||||
Reference in New Issue
Block a user