smart mimics 0.1

This commit is contained in:
unid15
2015-10-15 16:25:33 +02:00
parent b7374fbae0
commit 81e734ac60
2 changed files with 87 additions and 53 deletions

View File

@@ -125,6 +125,10 @@
#define isdeathsquad(H) (H.mind in ticker.mode.deathsquads)
//Macro for AREAS!
#define isspace(A) (A.type == /area)
//1 line helper procs compressed into defines.
#define Clamp(x, y, z) (x <= y ? y : (x >= z ? z : x))