git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9359
d7cf8633-e32d-0410-b094-
e92efae38249
const char* (ODE_API *dGetConfiguration)(void);
int (ODE_API *dCheckConfiguration)( const char* token );
const char* (ODE_API *dGetConfiguration)(void);
int (ODE_API *dCheckConfiguration)( const char* token );
-int (ODE_API *dInitODE2)(unsigned int uiInitFlags);
+int (ODE_API *dInitODE)(void);
+//int (ODE_API *dInitODE2)(unsigned int uiInitFlags);
int (ODE_API *dAllocateODEDataForThread)(unsigned int uiAllocateFlags);
void (ODE_API *dCleanupODEAllDataForThread)(void);
void (ODE_API *dCloseODE)(void);
int (ODE_API *dAllocateODEDataForThread)(unsigned int uiAllocateFlags);
void (ODE_API *dCleanupODEAllDataForThread)(void);
void (ODE_API *dCloseODE)(void);
{
{"dGetConfiguration", (void **) &dGetConfiguration},
{"dCheckConfiguration", (void **) &dCheckConfiguration},
{
{"dGetConfiguration", (void **) &dGetConfiguration},
{"dCheckConfiguration", (void **) &dCheckConfiguration},
- {"dInitODE2", (void **) &dInitODE2},
+ {"dInitODE", (void **) &dInitODE},
+// {"dInitODE2", (void **) &dInitODE2},
{"dAllocateODEDataForThread", (void **) &dAllocateODEDataForThread},
{"dCleanupODEAllDataForThread", (void **) &dCleanupODEAllDataForThread},
{"dCloseODE", (void **) &dCloseODE},
{"dAllocateODEDataForThread", (void **) &dAllocateODEDataForThread},
{"dCleanupODEAllDataForThread", (void **) &dCleanupODEAllDataForThread},
{"dCloseODE", (void **) &dCloseODE},
if (Sys_LoadLibrary (dllnames, &ode_dll, odefuncs))
#endif
{
if (Sys_LoadLibrary (dllnames, &ode_dll, odefuncs))
#endif
{
+ dInitODE();
+// dInitODE2(0);
#ifndef ODE_STATIC
# ifdef dSINGLE
if (!dCheckConfiguration("ODE_single_precision"))
#ifndef ODE_STATIC
# ifdef dSINGLE
if (!dCheckConfiguration("ODE_single_precision"))