mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-10 21:48:18 +00:00
nilrider:: removed speedlimit -- will do it other way
This commit is contained in:
parent
8ba5c58ac2
commit
1e176bb3b0
@ -184,9 +184,6 @@ void run() {
|
||||
};
|
||||
}
|
||||
|
||||
int speedlimit = 0;
|
||||
vector<string> speedlimit_names = {"none", "yellow", "green", "full"};
|
||||
|
||||
void pick_level() {
|
||||
clearMessages();
|
||||
dialog::init(XLAT("select the track"), 0xC0C0FFFF, 150, 100);
|
||||
@ -211,7 +208,6 @@ void pick_game() {
|
||||
dialog::add_action_push(pick_level);
|
||||
dialog::addInfo(curlev->longdesc);
|
||||
dialog::addBreak(100);
|
||||
add_edit(speedlimit);
|
||||
add_edit(planning_mode);
|
||||
dialog::addBreak(100);
|
||||
dialog::addBack();
|
||||
@ -318,14 +314,6 @@ void initialize() {
|
||||
param_enum(planning_mode, "nil_planning", "nil_planning", false)
|
||||
-> editable({{"manual", "control the unicycle manually"}, {"planning", "try to plan the optimal route!"}}, "game mode", 'p');
|
||||
|
||||
param_enum(speedlimit, "nil_speedlimit", "nil_speedlimit", 0)
|
||||
-> editable({
|
||||
{"no limit", "reach the goals as fast as you wan"},
|
||||
{"yellow", "your speed must be in the yellow zone to collect"},
|
||||
{"green", "your speed must be in the green zone to collect"},
|
||||
{"full", "you must fully stop to collect"}
|
||||
}, "speed limit", 's');
|
||||
|
||||
rv_hook(hooks_frame, 100, frame);
|
||||
rv_hook(shmup::hooks_turn, 100, turn);
|
||||
on = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user