Panda3D
direct
src
deadrec
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
22
Configure(config_deadrec);
23
NotifyCategoryDef(deadrec,
""
);
24
25
ConfigureFn(config_deadrec) {
26
init_libdeadrec
();
27
}
28
29
ConfigVariableBool
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
*/
41
void
42
init_libdeadrec
() {
43
static
bool
initialized =
false
;
44
if
(initialized) {
45
return
;
46
}
47
initialized =
true
;
48
}
init_libdeadrec
void init_libdeadrec()
Initializes the library.
Definition:
config_deadrec.cxx:42
ConfigVariableBool
This is a convenience class to specialize ConfigVariable as a boolean type.
Definition:
configVariableBool.h:23
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
config_deadrec.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Mon Sep 14 2020 15:06:41 for Panda3D by
1.8.20