From d46e7909f70be06bdd167b72b76eb81c133b36d5 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 20 Apr 2019 19:09:22 +0200 Subject: [PATCH] Added entities_2d compile-time switch. --- SCsub | 3 +++ config.pyc | Bin 433 -> 433 bytes entities/entity.h | 14 ++++++++++++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/SCsub b/SCsub index f514975..55ed8a0 100644 --- a/SCsub +++ b/SCsub @@ -2,6 +2,9 @@ Import('env') if ARGUMENTS.get('entity_mem_tools', 'no') == 'yes': env.Append(CPPDEFINES=['ENTITY_MEM_TOOLS']) + +if ARGUMENTS.get('entities_2d', 'no') == 'yes': + env.Append(CPPDEFINES=['ENTITIES_2D']) module_env = env.Clone() diff --git a/config.pyc b/config.pyc index fab5937091a81dbd9c825417118adc449c1e881c..bb0cdb789f9a3aadc9d069884393a86639befdae 100644 GIT binary patch delta 16 XcmdnUypfrm`7