1 /* 2 * Copyright (c) 2000 Mark B. Allan. All rights reserved. 3 * 4 * "Chromium B.S.U." is free software; you can redistribute 5 * it and/or use it and/or modify it under the terms of the 6 * "Clarified Artistic License" 7 */ 8 #ifndef GroundMetal_h 9 #define GroundMetal_h 10 11 #ifdef HAVE_CONFIG_H 12 #include <chromium-bsu-config.h> 13 #endif 14 15 #include "compatibility.h" 16 17 #if defined(HAVE_APPLE_OPENGL_FRAMEWORK) || defined(HAVE_OPENGL_GL_H) 18 #include <OpenGL/gl.h> 19 #else 20 #include <GL/gl.h> 21 #endif 22 23 #include "Ground.h" 24 25 class GroundSegment; 26 27 //==================================================================== 28 class GroundMetal : public Ground 29 { 30 public: 31 GroundMetal(); 32 ~GroundMetal(); 33 34 void drawGL(); 35 void setVariation(int index); 36 37 void loadTextures(); 38 void deleteTextures(); 39 40 float size; 41 42 friend class GroundSegment; 43 friend class GroundMetalSegment; 44 }; 45 #endif // GroundMetal_h 46