Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
putil
bam.h
1
// Filename: bam.h
2
// Created by: jason (27Jun00)
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
// This file just holds the Magic Number, Major and Minor version
16
// numbers that are common to both BamWriter and BamReader.
17
18
#ifndef _BAM_H
19
#define _BAM_H
20
21
#include "pandabase.h"
22
23
// The magic number for a BAM file. It includes a carriage return and
24
// newline character to help detect files damaged due to faulty
25
// ASCII/Binary conversion.
26
static
const
string
_bam_header = string(
"pbj\0\n\r"
, 6);
27
28
static
const
unsigned
short
_bam_major_ver = 6;
29
// Bumped to major version 2 on 7/6/00 due to major changes in Character.
30
// Bumped to major version 3 on 12/8/00 to change float64's to float32's.
31
// Bumped to major version 4 on 4/10/02 to store new scene graph.
32
// Bumped to major version 5 on 5/6/05 for new Geom implementation.
33
// Bumped to major version 6 on 2/11/06 to factor out PandaNode::CData.
34
35
static
const
unsigned
short
_bam_first_minor_ver = 14;
36
static
const
unsigned
short
_bam_minor_ver = 37;
37
// Bumped to minor version 14 on 12/19/07 to change default ColorAttrib.
38
// Bumped to minor version 15 on 4/9/08 to add TextureAttrib::_implicit_sort.
39
// Bumped to minor version 16 on 5/13/08 to add Texture::_quality_level.
40
// Bumped to minor version 17 on 8/6/08 to add PartBundle::_anim_preload.
41
// Bumped to minor version 18 on 8/14/08 to add Texture::_simple_ram_image.
42
// Bumped to minor version 19 on 8/14/08 to add PandaNode::_bounds_type.
43
// Bumped to minor version 20 on 4/21/09 to add MovingPartBase::_forced_channel.
44
// Bumped to minor version 21 on 2/26/08 to add BamEnums::BamObjectCode.
45
// Bumped to minor version 22 on 7/31/09 to add UvScrollNode R speed.
46
// Bumped to minor version 23 on 5/4/10 to add internal TextureAttrib overrides.
47
// Bumped to minor version 24 on 5/4/10 to add internal TexMatrixAttrib overrides.
48
// Bumped to minor version 25 on 6/22/11 to add support for caching movie files.
49
// Bumped to minor version 26 on 8/5/11 to add multiview (stereo) Textures.
50
// Bumped to minor version 27 on 10/9/11 to add stdfloat_double.
51
// Bumped to minor version 28 on 11/28/11 to add Texture::_auto_texture_scale.
52
// Bumped to minor version 29 on 12/17/11 to add GeomVertexColumn::_column_alignment.
53
// Bumped to minor version 30 on 1/22/12 to add Texture::_pad_*_size.
54
// Bumped to minor version 31 on 2/16/12 to add DepthOffsetAttrib::_min_value, _max_value.
55
// Bumped to minor version 32 on 6/11/12 to add Texture::_has_read_mipmaps.
56
// Bumped to minor version 33 on 8/17/13 to add UvScrollNode::_w_speed.
57
// Bumped to minor version 34 on 9/16/14 to add ScissorAttrib::_off.
58
// Bumped to minor version 35 on 12/3/14 to change StencilAttrib.
59
// Bumped to minor version 36 on 12/9/14 to add samplers and lod settings.
60
// Bumped to minor version 37 on 1/22/15 to add GeomVertexArrayFormat::_divisor.
61
62
#endif
Generated on Mon Feb 1 2016 13:44:38 for Panda3D by
1.8.5