mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
44 lines
1.6 KiB
C
44 lines
1.6 KiB
C
// Filename: bam.h
|
|
// Created by: jason (27Jun00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) 2001 - 2004, 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://etc.cmu.edu/panda3d/docs/license/ .
|
|
//
|
|
// To contact the maintainers of this program write to
|
|
// panda3d-general@lists.sourceforge.net .
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// 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. It includes a carriage return and
|
|
// newline character to help detect files damaged due to faulty
|
|
// ASCII/Binary conversion.
|
|
static const string _bam_header = string("pbj\0\n\r", 6);
|
|
|
|
static const unsigned short _bam_major_ver = 5;
|
|
// 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.
|
|
// Bumped to major version 4 on 4/10/02 to store new scene graph.
|
|
// Bumped to major version 5 on 5/6/05 for new Geom implementation.
|
|
|
|
static const unsigned short _bam_minor_ver = 2;
|
|
// Bumped to minor version 1 on 7/14/05 to add TextureStage::_saved_result.
|
|
// Bumped to minor version 2 on 7/21/05 to add TransformState::is_2d.
|
|
|
|
|
|
#endif
|