mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 09:57:41 +00:00
racing:: first commit
This commit is contained in:
20
hyper.h
20
hyper.h
@@ -4675,5 +4675,25 @@ extern bool showquotients;
|
||||
|
||||
bool do_draw(cell *c, const transmatrix& T);
|
||||
|
||||
#if CAP_RACING
|
||||
namespace racing {
|
||||
extern bool on, player_relative;
|
||||
void generate_track();
|
||||
void show();
|
||||
void prepare_subscreens();
|
||||
extern vector<cell*> track;
|
||||
extern map<cell*, pair<int, int> > trackstage;
|
||||
extern int current_player;
|
||||
}
|
||||
|
||||
bool subscreen_split(reaction_t for_each_subscreen);
|
||||
|
||||
#else
|
||||
|
||||
namespace racing { static const bool on = false; }
|
||||
inline bool subscreen_split(reaction_t for_each_subscreen) { return false; }
|
||||
#endif
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user