diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-14 11:56:32 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2008-05-14 11:56:32 (GMT) |
commit | aee762191d706d03d5e1a42bf98415466f584bda (patch) | |
tree | 6e0f14bfe36a6d57736f804802b156a979424fa4 /matchblox/C_Box.h | |
parent | d4d35970d88edccdd963e53ea3e11f702e1e2bab (diff) | |
download | 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.zip 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.tar.gz 2iv55-aee762191d706d03d5e1a42bf98415466f584bda.tar.bz2 |
moved stuff around
Diffstat (limited to 'matchblox/C_Box.h')
-rw-r--r-- | matchblox/C_Box.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/matchblox/C_Box.h b/matchblox/C_Box.h deleted file mode 100644 index ed8c133..0000000 --- a/matchblox/C_Box.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef C_BOX_HEADER_FILE - -#define C_BOX_HEADER_FILE - -#include <GL/glut.h> -#include "C_3DObject.h" - -class C_Box : public C_3DObject -{ -public: - C_Box(const char *f_strFileName, - GLuint f_uiTexture, - MatProps_t f_Mat, - int f_iTilesX, int f_iTilesY, - C_3DObject *f_pTiles[5]); - - ~C_Box(); - - void RandomizeTiles(); - void Render(); - -private: - C_3DObject **m_pTiles; //the tile objects for the top face of the box (holes) - int m_iTilesX, //number of tiles in x direction - m_iTilesY, //number of tiles in y direction - m_iNumTiles; //total number of tiles - double m_dTileSize; //the width and height of a tile - Vect3D_t m_LowLeftTilePos; //center position of the lower leftmost - //tile (relative to the box its position) - - int *m_iTilesLayout; //the indices of the tile objects -}; - -#endif //C_BOX_HEADER_FILE - |