2022-05-13 23:42:41 -04:00
|
|
|
#ifndef PHYSICS_SERVER_EXAMPLE_H
|
|
|
|
|
#define PHYSICS_SERVER_EXAMPLE_H
|
|
|
|
|
|
|
|
|
|
enum PhysicsServerOptions
|
|
|
|
|
{
|
2026-06-03 15:08:51 +01:00
|
|
|
PHYSICS_SERVER_ENABLE_COMMAND_LOGGING = 1,
|
|
|
|
|
PHYSICS_SERVER_REPLAY_FROM_COMMAND_LOG = 2,
|
2022-05-13 23:42:41 -04:00
|
|
|
PHYSICS_SERVER_USE_RTC_CLOCK = 4,
|
|
|
|
|
};
|
|
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
///Don't use PhysicsServerCreateFuncInternal directly
|
|
|
|
|
///Use PhysicsServerCreateFuncBullet2 instead, or initialize options.m_commandProcessor
|
|
|
|
|
class CommonExampleInterface* PhysicsServerCreateFuncInternal(struct CommonExampleOptions& options);
|
2022-05-13 23:42:41 -04:00
|
|
|
|
2026-06-03 15:08:51 +01:00
|
|
|
#endif //PHYSICS_SERVER_EXAMPLE_H
|