tiles/tile.h: Remove unused inlines breaking older GCC
This was breaking on older GCCs (such as GCC 4.8.x used for AppImage with CentOS7).
This commit is contained in:
parent
66e72c748a
commit
ea5f1ed3f1
15
tiles/tile.h
15
tiles/tile.h
|
|
@ -139,21 +139,6 @@ typedef struct
|
||||||
#define PlaneGetHint(pl) ((pl)->pl_hint)
|
#define PlaneGetHint(pl) ((pl)->pl_hint)
|
||||||
#define PlaneSetHint(pl, ti) ((pl)->pl_hint = (ti))
|
#define PlaneSetHint(pl, ti) ((pl)->pl_hint = (ti))
|
||||||
|
|
||||||
inline Tile*
|
|
||||||
PlaneGetHint_inline(const Plane *pl)
|
|
||||||
{
|
|
||||||
return pl->pl_hint;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline void
|
|
||||||
PlaneSetHint_inline(Plane *pl, Tile *ti)
|
|
||||||
{
|
|
||||||
pl->pl_hint = ti;
|
|
||||||
}
|
|
||||||
|
|
||||||
//#define PlaneGetHint(pl) PlaneGetHint_inline(pl)
|
|
||||||
//#define PlaneSetHint(pl, ti) PlaneSetHint_inline((pl), (ti))
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following coordinate, INFINITY, is used to represent a
|
* The following coordinate, INFINITY, is used to represent a
|
||||||
* tile location outside of the tile plane.
|
* tile location outside of the tile plane.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue