mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
47 lines
1.8 KiB
C
47 lines
1.8 KiB
C
// Filename: bam.h
|
|
// Created by: jason (27Jun00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
|
//
|
|
// All use of this software is subject to the terms of the Panda 3d
|
|
// Software license. You should have received a copy of this license
|
|
// along with this source code; you will also find a current copy of
|
|
// the license at http://www.panda3d.org/license.txt .
|
|
//
|
|
// To contact the maintainers of this program write to
|
|
// panda3d@yahoogroups.com .
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
//This file just holds the Magic Number, Major and Minor version
|
|
//numbers that are common to both BamWriter and BamReader.
|
|
|
|
#ifndef _BAM_H
|
|
#define _BAM_H
|
|
|
|
#include <pandabase.h>
|
|
|
|
//The magic number for a BAM file and a carriage return and newline
|
|
//for detecting files damaged due to ASCII/Binary conversion
|
|
static const string _bam_header = string("pbj\0\n\r", 6);
|
|
|
|
static const unsigned short _bam_major_ver = 3;
|
|
// Bumped to major version 2 on 7/6/00 due to major changes in Character.
|
|
// Bumped to major version 3 on 12/8/00 to change float64's to float32's.
|
|
|
|
static const unsigned short _bam_minor_ver = 7;
|
|
// Bumped to minor version 1 on 12/15/00 to add FFT-style channel
|
|
// compression.
|
|
// Bumped to minor version 2 on 2/15/01 to add ModelNode::_preserve_transform.
|
|
// Bumped to minor version 3 on 4/11/01 to support correctly ordered children.
|
|
// Bumped to minor version 4 on 12/11/01 to transpose quaternions.
|
|
// Bumped to minor version 5 on 12/13/01 to remove obsolete fields from Texture.
|
|
// Bumped to minor version 6 on 5/16/02 to add ImageBuffer::_filename.
|
|
// Bumped to minor version 7 on 5/19/02 to add CharacterJoint::_net_transform_nodes, etc.
|
|
|
|
|
|
#endif
|