2015-07-14 22:30:17 +00:00
|
|
|
#ifndef PHYSICS_SERVER_EXAMPLE_H
|
|
|
|
#define PHYSICS_SERVER_EXAMPLE_H
|
|
|
|
|
2015-10-29 18:25:50 +00:00
|
|
|
enum PhysicsServerOptions
|
|
|
|
{
|
|
|
|
PHYSICS_SERVER_ENABLE_COMMAND_LOGGING=1,
|
2015-10-30 17:30:48 +00:00
|
|
|
PHYSICS_SERVER_REPLAY_FROM_COMMAND_LOG=2,
|
2016-05-18 23:21:40 +00:00
|
|
|
PHYSICS_SERVER_USE_RTC_CLOCK = 4,
|
2015-10-29 18:25:50 +00:00
|
|
|
};
|
2015-07-14 22:30:17 +00:00
|
|
|
|
2017-05-31 02:54:55 +00:00
|
|
|
///Don't use PhysicsServerCreateFuncInternal directly
|
|
|
|
///Use PhysicsServerCreateFuncBullet2 instead, or initialize options.m_commandProcessor
|
|
|
|
class CommonExampleInterface* PhysicsServerCreateFuncInternal(struct CommonExampleOptions& options);
|
2015-07-14 22:30:17 +00:00
|
|
|
|
|
|
|
#endif //PHYSICS_SERVER_EXAMPLE_H
|
|
|
|
|
|
|
|
|