mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
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:
committed by
R. Timothy Edwards
parent
66e72c748a
commit
ea5f1ed3f1
@@ -139,21 +139,6 @@ typedef struct
|
||||
#define PlaneGetHint(pl) ((pl)->pl_hint)
|
||||
#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
|
||||
* tile location outside of the tile plane.
|
||||
|
||||
Reference in New Issue
Block a user