mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-12-19 12:28:07 +00:00
added missing inline
This commit is contained in:
4
hyper.h
4
hyper.h
@@ -626,7 +626,7 @@ int hrand_monster(int x);
|
|||||||
vector<int> reverse_directions(struct cell *c, int i);
|
vector<int> reverse_directions(struct cell *c, int i);
|
||||||
|
|
||||||
// unused for heptagons
|
// unused for heptagons
|
||||||
vector<int> reverse_directions(struct heptagon *c, int i) { return {i}; }
|
inline vector<int> reverse_directions(struct heptagon *c, int i) { return {i}; }
|
||||||
|
|
||||||
template<class T> struct walker {
|
template<class T> struct walker {
|
||||||
T *at;
|
T *at;
|
||||||
@@ -5632,7 +5632,7 @@ namespace kite {
|
|||||||
|
|
||||||
namespace solv {
|
namespace solv {
|
||||||
extern transmatrix local_perspective;
|
extern transmatrix local_perspective;
|
||||||
bool local_perspective_used() { return sol; }
|
inline bool local_perspective_used() { return sol; }
|
||||||
|
|
||||||
hrmap *new_map();
|
hrmap *new_map();
|
||||||
hyperpoint inverse_exp(hyperpoint h, bool lazy);
|
hyperpoint inverse_exp(hyperpoint h, bool lazy);
|
||||||
|
|||||||
Reference in New Issue
Block a user