mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-27 07:22:51 +00:00
some extra parameters for tours
This commit is contained in:
parent
8fca46ded1
commit
e29cf996fa
@ -3527,6 +3527,8 @@ EX int config3 = addHook(hooks_configfile, 100, [] {
|
||||
addMessage(XLAT("Save the config to always use %1.", scorefile));
|
||||
});
|
||||
|
||||
param_i(tour::tour_value, "tval");
|
||||
|
||||
param_ccolor(ccolor::which, "pattern");
|
||||
param_b(ccolor::live_canvas, "live_canvas")
|
||||
-> editable("apply color/pattern changes to canvas automatically", 'l');
|
||||
|
5
tour.cpp
5
tour.cpp
@ -25,6 +25,9 @@ EX bool on;
|
||||
/** \brief should the presentation texts be shown */
|
||||
EX bool texts = true;
|
||||
|
||||
/** \brief helps to automatize interactive presentations */
|
||||
EX int tour_value;
|
||||
|
||||
EX string tourhelp;
|
||||
|
||||
/** \brief index of the current slide */
|
||||
@ -35,7 +38,7 @@ EX int currentslide;
|
||||
enum presmode {
|
||||
pmStartAll = 0,
|
||||
pmStart = 1, pmFrame = 2, pmStop = 3, pmKey = 4, pmRestart = 5,
|
||||
pmAfterFrame = 6, pmHelpEx = 7,
|
||||
pmAfterFrame = 6, pmHelpEx = 7, pmKeyAlt = 8, pmKeyAlt2 = 9,
|
||||
pmGeometry = 11, pmGeometryReset = 13, pmGeometryStart = 15,
|
||||
pmGeometrySpecial = 16
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user