VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)