Panda3D
 All Classes Functions Variables Enumerations
standard_templates.cxx
1 // Filename: standard_templates.cxx
2 // Created by: drose (04Oct04)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "standard_templates.h"
16 
17 // The binary data included here was generated from standardTemplates.x
18 // (in this directory) file via the utility program bin2c (defined in
19 // pandatool). It contains the set of template definitions that must be
20 // loaded before any standard template file can be properly interpreted.
21 
22 #ifndef CPPPARSER
23 
24 #if defined(HAVE_ZLIB)
25 
26 // If we have zlib available, we can store this file compressed, which
27 // is much smaller.
28 
29 // Regenerate this file with:
30 
31 // pcompress standardTemplates.x standardTemplates.x.pz
32 // bin2c -n standard_templates_data -o standardTemplates.x.pz.c standardTemplates.x.pz
33 
34 #include "standardTemplates.x.pz.c"
35 
36 #else // HAVE_ZLIB
37 
38 // If we don't have zlib, just include the whole uncompressed file.
39 
40 // Regenerate this file with:
41 
42 // bin2c -n standard_templates_data -o standardTemplates.x.c standardTemplates.x
43 
44 #include "standardTemplates.x.c"
45 
46 #endif // HAVE_ZLIB
47 
48 #endif // CPPPARSER
49