Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into wrap-replacement

This commit is contained in:
Putnam
2020-03-26 19:51:58 -07:00
744 changed files with 177964 additions and 20886 deletions
+5
View File
@@ -202,3 +202,8 @@
// )
#define MANHATTAN_DISTANCE(a, b) (abs(a.x - b.x) + abs(a.y - b.y))
#define LOGISTIC_FUNCTION(L,k,x,x_0) (L/(1+(NUM_E**(-k*(x-x_0)))))
/// Make sure something is a boolean TRUE/FALSE 1/0 value, since things like bitfield & bitflag doesn't always give 1s and 0s.
#define FORCE_BOOLEAN(x) ((x)? TRUE : FALSE)