![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /********************************************************************* 00002 ** Copyright (c) 1999 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: c4bPchGrp.h,v $ $Revision: 1.5 $ $State: Exp $ 00007 *********************************************************************/ 00008 00009 #ifndef c4bPchGrp_H_ 00010 #define c4bPchGrp_H_ 00011 00012 #include "ctdb/ctdbDefines.h" 00013 #include "ctdb/c4bPatch.h" 00014 00015 // forward declarations 00016 class C4B; 00017 class c4b_patch_group_entry; 00018 00019 class DT_DLL_ctdb MyC4BPatchGroup 00020 { 00021 public: 00022 00023 // default constructor 00024 MyC4BPatchGroup(); 00025 00026 // destructor 00027 virtual ~MyC4BPatchGroup(); 00028 00029 // This class follows the rule of the Big Three. 00030 00031 virtual void parse(C4B& c4b, 00032 unsigned int patch_group_num, 00033 c4b_patch_group_entry* pge); 00034 00035 00036 virtual void xlate_patch_group(C4B& c4b, 00037 DtGroup*& patch0Terrain, 00038 DtGroup*& patch0Features, 00039 DtGroup*& patch1Terrain, 00040 DtGroup*& patch1Features, 00041 DtGroup*& patch2Terrain, 00042 DtGroup*& patch2Features, 00043 DtGroup*& patch3Terrain, 00044 DtGroup*& patch3Features); 00045 00046 protected: 00047 00048 // copy constructor 00049 MyC4BPatchGroup(const MyC4BPatchGroup& orig); 00050 00051 // assignment operator 00052 MyC4BPatchGroup& operator=(const MyC4BPatchGroup& orig); 00053 00054 protected: 00055 00056 c4b_patch_group_entry* pg_entry; 00057 MyC4BPatch patch[4]; 00058 }; 00059 00060 #endif