Panda3D
Loading...
Searching...
No Matches
config_deadrec.cxx
Go to the documentation of this file.
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_deadrec.cxx
10 * @author drose
11 * @date 2006-10-23
12 */
13
14#include "config_deadrec.h"
15
16#include "dconfig.h"
17
18#if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_DIRECT_DEADREC)
19 #error Buildsystem error: BUILDING_DIRECT_DEADREC not defined
20#endif
21
22Configure(config_deadrec);
23NotifyCategoryDef(deadrec, "");
24
25ConfigureFn(config_deadrec) {
27}
28
29ConfigVariableBool accept_clock_skew
30("accept-clock-skew", false,
31 PRC_DESC("This controls the default value of "
32 "SmoothMover::get_accept_clock_skew()."));
33
34
35/**
36 * Initializes the library. This must be called at least once before any of
37 * the functions or classes in this library can be used. Normally it will be
38 * called by the static initializers and need not be called explicitly, but
39 * special cases exist.
40 */
41void
43 static bool initialized = false;
44 if (initialized) {
45 return;
46 }
47 initialized = true;
48}
This is a convenience class to specialize ConfigVariable as a boolean type.
void init_libdeadrec()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.