Anyone know where to start in deconstructing sarah / setup wizard? Im not just talking about swapping videos so much as the logic for autodetecting things (lights) and then the setup wizard itself.
thanks,
langston
Setup wizard itself is in regular screens. As I said in IRC,
Quote
select PK_Screen,Description, Comments from Screen Where Comments like '%wizard%';
will get you quite a few Sarah screens. After you have the screens, you can browse Orbiters source code for the ScreenHandler thingies.
The source code for the Wizard is in two parts:
* The screen handlers are inside src/Orbiter/Linux/OSDScreenHandler.cpp/h
* The various work logic bits that it uses are called in src/Orbiter/WizardLogic.cpp/h
-Thom
danke!
The problem with the Sarah wizard that quite a few bits and pieces are not organized by messages being send tto the core, but by direct interaction with the database. For example, after you select VDR as your PVR, the wizard.cpp changes the screens for PVR playback.