aboutsummaryrefslogtreecommitdiff
path: root/src/survive.c
diff options
context:
space:
mode:
authorCNLohr <charles@cnlohr.com>2017-03-16 15:30:21 -0400
committerGitHub <noreply@github.com>2017-03-16 15:30:21 -0400
commitd9412e4252c176583b5b737608acb4e60d47c00a (patch)
treec339acbb982d1f2d67977be98a4ae7cac85f8057 /src/survive.c
parent6daf2506fcfbfcd26d63a8bddba319d67ecc33e5 (diff)
parentccaa625c6161e14f5c2281cc43134d1928094620 (diff)
downloadlibsurvive-d9412e4252c176583b5b737608acb4e60d47c00a.tar.gz
libsurvive-d9412e4252c176583b5b737608acb4e60d47c00a.tar.bz2
Merge pull request #37 from mwturvey/WinSupport2
VS2017 CE Support
Diffstat (limited to 'src/survive.c')
-rwxr-xr-xsrc/survive.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c
index b2e4ae3..81c45c3 100755
--- a/src/survive.c
+++ b/src/survive.c
@@ -46,6 +46,17 @@ SurviveContext * survive_init( int headless )
did_runtime_symnum = 1;
}
#endif
+#ifdef MANUAL_REGISTRATION
+ // note: this manual registration is currently only in use on builds using Visual Studio.
+
+#define MANUAL_DRIVER_REGISTRATION(func) int func( SurviveObject * so, PoserData * pd ); RegisterDriver( #func, &func);
+
+ MANUAL_DRIVER_REGISTRATION(PoserCharlesSlow)
+ MANUAL_DRIVER_REGISTRATION(PoserDaveOrtho)
+ MANUAL_DRIVER_REGISTRATION(PoserDummy)
+ MANUAL_DRIVER_REGISTRATION(DriverRegHTCVive)
+
+#endif
int r = 0;
int i = 0;