diff options
author | CNLohr <charles@cnlohr.com> | 2018-03-22 10:58:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 10:58:06 -0400 |
commit | 86129fa6b1b1421babad0ecb03369ae88d2cabdb (patch) | |
tree | daa91eb951c2c0e83154fb0f2295bba556da563a /src/survive_disambiguator.c | |
parent | 77c35e722c0ba743e1286d03758461bdd58395aa (diff) | |
parent | 3ec21bdcad82968bbed5ee1035d9ebedff7c67cf (diff) | |
download | libsurvive-86129fa6b1b1421babad0ecb03369ae88d2cabdb.tar.gz libsurvive-86129fa6b1b1421babad0ecb03369ae88d2cabdb.tar.bz2 |
Merge pull request #117 from cnlohr/disambiguator_cleanup
Split out disambiguators into seperate compilation units
Diffstat (limited to 'src/survive_disambiguator.c')
-rw-r--r-- | src/survive_disambiguator.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/survive_disambiguator.c b/src/survive_disambiguator.c new file mode 100644 index 0000000..1ceaf27 --- /dev/null +++ b/src/survive_disambiguator.c @@ -0,0 +1,14 @@ +#include "survive.h" + +#define USE_TURVEYBIGUATOR + +void handle_lightcap_charlesbiguator(SurviveObject *so, LightcapElement *le); +void handle_lightcap_turveybiguator(SurviveObject *so, LightcapElement *le); + +void handle_lightcap(SurviveObject *so, LightcapElement *le) { +#ifdef USE_TURVEYBIGUATOR + handle_lightcap_turveybiguator(so, le); +#else + handle_lightcap_charlesbiguator(so, le); +#endif +} |