mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 05:17:17 +00:00
added missing inline
This commit is contained in:
parent
e7cf9692d9
commit
d612872d80
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user