00001 #ifndef __FLYTERRAIN_H 00002 #define __FLYTERRAIN_H 00003 00004 #include <SDL/SDL.h> 00005 00006 #include "terrain.h" 00007 00008 class FlyTerrain : public Terrain 00009 { 00010 public: 00011 FlyTerrain( int w, int h ); 00012 ~FlyTerrain(); 00013 00014 void drawTerrain( SDL_Surface *screen ); 00015 int getScore( int difficulty, int dist ); 00016 00017 void displayScoreZones( bool val ) { showScoreZones = val; } 00018 00019 protected: 00020 bool showScoreZones; 00021 00022 static int flyScoreZones[][3]; 00023 00024 void setPoint( int point ); 00025 }; 00026 00027 00028 #endif 00029
1.4.2