VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
c7bTerrainElement16.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: c7bTerrainElement16.h,v $ $Revision: 1.10 $ $State: Exp $
7 *******************************************************************************/
8 
9 //
10 // File c7bTerrainElement16
11 //
12 
13 
14 #ifndef __DtC7bTerrainElement16
15 #define __DtC7bTerrainElement16
16 
17 #include "ctdb/ctdbDefines.h"
18 #include <stdio.h>
19 #include "ctdb/c7NetTypes.h"
20 
21 // Class: DtC7bTerrainElement16
22 //
23 // The class is public because should not be used but anyone else than
24 // DtC7b.
25 //
26 
28 {
29 public:
30 
33 
34  bool read(FILE *f);
35 
36  bool isTriangle();
37  bool isQuadrilateral();
38 
39  int vertices();
40  int soil0();
41  int soil1();
42 
43  void swapEndian();
47  DtC7NetU16 myAdjacents[4];
48  DtC7NetU16 myIndex[4];
50 };
51 
52 #endif
53 
Definition: c7bTerrainElement16.h:27
DtC7NetU32 myTEData
Definition: c7bTerrainElement16.h:49
DtC7NetU16 myX
Definition: c7bTerrainElement16.h:45
DtC7NetFloat32 myZ
Definition: c7bTerrainElement16.h:46
Network-order 32-bit IEEE-754 floating-point quantity.
Definition: c7NetTypes.h:106
Network-order unsigned 16-bit quantity.
Definition: c7NetTypes.h:28
DtC7NetU16 myY
Definition: c7bTerrainElement16.h:44
#define DT_DLL_ctdb
Definition: ctdbDefines.h:23
Network-order unsigned 32-bit quantity.
Definition: c7NetTypes.h:66

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)