VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
osgdb_vrftxp
trpage_compat.h
Go to the documentation of this file.
1
/* ************************
2
Copyright Terrain Experts Inc.
3
Terrain Experts Inc (TERREX) reserves all rights to this source code
4
unless otherwise specified in writing by the President of TERREX.
5
This copyright may be updated in the future, in which case that version
6
supercedes this one.
7
-------------------
8
Terrex Experts Inc.
9
4400 East Broadway #314
10
Tucson, AZ 85711
11
info@terrex.com
12
Tel: (520) 323-7990
13
************************
14
*/
15
16
#ifndef _trpage_compat_h_
17
#define _trpage_compat_h_
18
19
/* trpage_compat.h
20
This file and the accompanying trpage_compat.cpp contain objects and procedures
21
used to maintain compatibility between versions of TerraPage. In particular, the
22
ability to read older versions of TerraPage and newer applications.
23
*/
24
25
/* Material Table 1.0.
26
This class is used to read old 1.0 material tables and convert them
27
into the 2.0 material table we're inheriting from. Users should
28
never directly interact with this class.
29
{secret}
30
*/
31
class
trpgMatTable1_0
:
public
trpgMatTable
{
32
public
:
33
trpgMatTable1_0
() { };
34
trpgMatTable1_0
(
const
trpgMatTable
&);
35
36
/* This read method overrides the one from trpgMatTable and knows
37
how to read the old school material tables.
38
*/
39
bool
Read
(
trpgReadBuffer
&);
40
/* This write method can write a 2.0 material table as 1.0
41
style for backward compatibility.
42
*/
43
bool
Write
(
trpgWriteBuffer
&);
44
protected
:
45
};
46
47
/* Texture Table 1.0.
48
This class is used to read old 1.0 texture tables and convert them
49
into 2.0 texture tables. Users should never directly interact with
50
this class.
51
{secret}
52
*/
53
class
trpgTexTable1_0
:
public
trpgTexTable
{
54
public
:
55
trpgTexTable1_0
() { };
56
trpgTexTable1_0
(
const
trpgTexTable
&);
57
58
/* This read method overrides the one from trpgTexTable and
59
knows how to read the old style texture table.
60
*/
61
bool
Read
(
trpgReadBuffer
&);
62
/* The write method can write a 2.0 texture table as 1.0
63
style for backward compatibility.
64
*/
65
bool
Write
(
trpgWriteBuffer
&);
66
protected
:
67
};
68
69
/* Texture 1.0.
70
Knows how to read an old style texture.
71
{secret}
72
*/
73
class
trpgTexture1_0
:
public
trpgTexture
{
74
public
:
76
trpgTexture1_0
operator =
(
const
trpgTexture
&);
77
79
bool
Read
(
trpgReadBuffer
&);
81
bool
Write
(
trpgWriteBuffer
&);
82
protected
:
83
};
84
85
/* Tile Table 1.0
86
Knows how to write an old style tile table.
87
{secret}
88
*/
89
class
trpgTileTable1_0
:
public
trpgTileTable
{
90
public
:
91
trpgTileTable1_0
(
const
trpgTileTable
&);
93
bool
Write
(
trpgWriteBuffer
&);
94
};
95
96
#endif
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)