Panda3D
standard_templates.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 standard_templates.cxx
10  * @author drose
11  * @date 2004-10-04
12  */
13 
14 #include "standard_templates.h"
15 
16 // The binary data included here was generated from standardTemplates.x (in
17 // this directory) file via the utility program bin2c (defined in pandatool).
18 // It contains the set of template definitions that must be loaded before any
19 // standard template file can be properly interpreted.
20 
21 #ifndef CPPPARSER
22 
23 #if defined(HAVE_ZLIB)
24 
25 // If we have zlib available, we can store this file compressed, which is much
26 // smaller.
27 
28 // Regenerate this file with:
29 
30 // pcompress standardTemplates.x standardTemplates.x.pz bin2c -n
31 // standard_templates_data -o standardTemplates.x.pz.c standardTemplates.x.pz
32 
33 #include "standardTemplates.x.pz.c"
34 
35 #else // HAVE_ZLIB
36 
37 // If we don't have zlib, just include the whole uncompressed file.
38 
39 // Regenerate this file with:
40 
41 // bin2c -n standard_templates_data -o standardTemplates.x.c
42 // standardTemplates.x
43 
44 #include "standardTemplates.x.c"
45 
46 #endif // HAVE_ZLIB
47 
48 #endif // CPPPARSER
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.