config_distributed.h 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * PANDA 3D SOFTWARE
  3. * Copyright (c) Carnegie Mellon University. All rights reserved.
  4. *
  5. * All use of this software is subject to the terms of the revised BSD
  6. * license. You should have received a copy of this license along
  7. * with this source code in a file named "LICENSE."
  8. *
  9. * @file config_distributed.h
  10. * @author drose
  11. * @date 2004-05-19
  12. */
  13. #ifndef CONFIG_DISTRIBUTED_H
  14. #define CONFIG_DISTRIBUTED_H
  15. #include "directbase.h"
  16. #include "notifyCategoryProxy.h"
  17. #include "dconfig.h"
  18. #include "configVariableInt.h"
  19. #include "configVariableDouble.h"
  20. #include "configVariableBool.h"
  21. NotifyCategoryDecl(distributed, EXPCL_DIRECT_DISTRIBUTED, EXPTP_DIRECT_DISTRIBUTED);
  22. extern EXPCL_DIRECT_DISTRIBUTED ConfigVariableInt game_server_timeout_ms;
  23. extern EXPCL_DIRECT_DISTRIBUTED ConfigVariableDouble min_lag;
  24. extern EXPCL_DIRECT_DISTRIBUTED ConfigVariableDouble max_lag;
  25. extern EXPCL_DIRECT_DISTRIBUTED ConfigVariableBool handle_datagrams_internally;
  26. extern EXPCL_DIRECT_DISTRIBUTED void init_libdistributed();
  27. #endif