Rev | Line | |
---|
[1869] | 1 | #ifndef _3DUNIT_H |
---|
| 2 | #define _3DUNIT_H |
---|
| 3 | |
---|
| 4 | #include "3dStructs.h" |
---|
| 5 | |
---|
| 6 | class C3dUnit |
---|
| 7 | { |
---|
| 8 | private: |
---|
| 9 | char sName[9]; /* Name of the unit (=> filename etc. )*/ |
---|
| 10 | bool b3dModelLoaded; /* Set if model loaded */ |
---|
| 11 | void Init(); /* Sets initial values of variables */ |
---|
| 12 | C3dModel CModel; /* Contains the 3d model data */ |
---|
| 13 | public: |
---|
| 14 | C3dUnit( char* ); |
---|
| 15 | C3dUnit( void ); |
---|
| 16 | void Import3ds( void ); |
---|
| 17 | void Draw( int ); |
---|
| 18 | void PrintProperties( void ); |
---|
| 19 | }; |
---|
| 20 | |
---|
| 21 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.