Panda3D
panda
src
putil
bam.h
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 bam.h
10
* @author jason
11
* @date 2000-06-27
12
*/
13
14
// This file just holds the Magic Number, Major and Minor version numbers that
15
// are common to both BamWriter and BamReader.
16
17
#ifndef _BAM_H
18
#define _BAM_H
19
20
#include "
pandabase.h
"
21
22
// The magic number for a BAM file. It includes a carriage return and newline
23
// character to help detect files damaged due to faulty ASCIIBinary
24
// conversion.
25
static
const
std::string _bam_header = std::string(
"pbj\0\n\r"
, 6);
26
27
static
const
unsigned
short
_bam_major_ver = 6;
28
// Bumped to major version 2 on 2000-07-06 due to major changes in Character.
29
// Bumped to major version 3 on 2000-12-08 to change float64's to float32's.
30
// Bumped to major version 4 on 2002-04-10 to store new scene graph.
31
// Bumped to major version 5 on 2005-05-06 for new Geom implementation.
32
// Bumped to major version 6 on 2006-02-11 to factor out PandaNode::CData.
33
34
static
const
unsigned
short
_bam_first_minor_ver = 14;
35
static
const
unsigned
short
_bam_minor_ver = 44;
36
// Bumped to minor version 14 on 2007-12-19 to change default ColorAttrib.
37
// Bumped to minor version 15 on 2008-04-09 to add TextureAttrib::_implicit_sort.
38
// Bumped to minor version 16 on 2008-05-13 to add Texture::_quality_level.
39
// Bumped to minor version 17 on 2008-08-06 to add PartBundle::_anim_preload.
40
// Bumped to minor version 18 on 2008-08-14 to add Texture::_simple_ram_image.
41
// Bumped to minor version 19 on 2008-08-14 to add PandaNode::_bounds_type.
42
// Bumped to minor version 20 on 2009-04-21 to add MovingPartBase::_forced_channel.
43
// Bumped to minor version 21 on 2008-02-26 to add BamEnums::BamObjectCode.
44
// Bumped to minor version 22 on 2009-07-31 to add UvScrollNode R speed.
45
// Bumped to minor version 23 on 2010-05-04 to add internal TextureAttrib overrides.
46
// Bumped to minor version 24 on 2010-05-04 to add internal TexMatrixAttrib overrides.
47
// Bumped to minor version 25 on 2011-06-22 to add support for caching movie files.
48
// Bumped to minor version 26 on 2011-08-05 to add multiview (stereo) Textures.
49
// Bumped to minor version 27 on 2011-10-09 to add stdfloat_double.
50
// Bumped to minor version 28 on 2011-11-28 to add Texture::_auto_texture_scale.
51
// Bumped to minor version 29 on 2011-12-17 to add GeomVertexColumn::_column_alignment.
52
// Bumped to minor version 30 on 2012-01-22 to add Texture::_pad_*_size.
53
// Bumped to minor version 31 on 2012-02-16 to add DepthOffsetAttrib::_min_value, _max_value.
54
// Bumped to minor version 32 on 2012-06-11 to add Texture::_has_read_mipmaps.
55
// Bumped to minor version 33 on 2013-08-17 to add UvScrollNode::_w_speed.
56
// Bumped to minor version 34 on 2014-09-16 to add ScissorAttrib::_off.
57
// Bumped to minor version 35 on 2014-12-03 to change StencilAttrib.
58
// Bumped to minor version 36 on 2014-12-09 to add samplers and lod settings.
59
// Bumped to minor version 37 on 2015-01-22 to add GeomVertexArrayFormat::_divisor.
60
// Bumped to minor version 38 on 2015-04-15 to add various Bullet classes.
61
// Bumped to minor version 39 on 2016-01-09 to change lights and materials.
62
// Bumped to minor version 40 on 2016-01-11 to make NodePaths writable.
63
// Bumped to minor version 41 on 2016-03-02 to change LensNode, Lens, and Camera.
64
// Bumped to minor version 42 on 2016-04-08 to expand ColorBlendAttrib.
65
// Bumped to minor version 43 on 2018-12-06 to expand BillboardEffect and CompassEffect.
66
// Bumped to minor version 44 on 2018-12-23 to rename CollisionTube to CollisionCapsule.
67
68
#endif
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sat Jan 11 2020 15:15:32 for Panda3D by
1.8.17