1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-21 08:04:48 +00:00

racing:: track selection; can be now set as a special game mode

This commit is contained in:
Zeno Rogue
2018-11-24 23:52:13 +01:00
parent 6dd14a310f
commit 29c0b899dc
5 changed files with 99 additions and 33 deletions

View File

@@ -676,6 +676,7 @@ namespace rg {
static const char princess = 'p';
static const char daily = 'd';
static const char daily_off = 'D';
static const char racing = 'R';
// wrongmode only -- marks 'global' achievements not related to the current mode
static const char global = 'x';
@@ -4680,7 +4681,7 @@ ld sintick(int period, ld phase = 0);
namespace racing {
extern bool on, player_relative, track_ready;
void generate_track();
void show();
void configure_race();
void prepare_subscreens();
extern vector<cell*> track;
extern int current_player;