|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
DEBUG-ONLY startup automation. More...
#include <QApplication>Go to the source code of this file.
Functions | |
| void | applyDebugLaunch (QApplication *) |
DEBUG-ONLY startup automation.
Parses developer launch flags and, once the QML shell is live, loads a save and jumps straight to a screen – instead of clicking through the New File modal by hand. Meant for fast manual iteration and for automation harnesses (launch directly into the screen under test).
Flags (all optional): –sav <path> load this .sav on startup –screen <name> jump to a registered screen after load (trainerCard, pokedex, bag, pokemart, pokemon, rival, maps, home, ...) –select <spec> selection for screens that need one – 'random' or 'source:id' (NOT yet wired – reserved for the next step)
Guarded by QT_DEBUG: in release builds applyDebugLaunch() is an empty no-op, so the flags and this whole mechanism simply don't exist in shipped binaries.
Definition in file debuglaunch.cpp.
| void applyDebugLaunch | ( | QApplication * | app | ) |
Definition at line 160 of file debuglaunch.cpp.
Referenced by boot().