summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/flyterrain.h
blob: 63b57319314744451e7df7d4336741e8e0d6b717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __FLYTERRAIN_H
#define __FLYTERRAIN_H

#include <SDL.h>

#include "terrain.h"

class FlyTerrain : public Terrain
{
public:
	FlyTerrain( int w, int h );
	~FlyTerrain();

	void drawTerrain( SDL_Surface *screen );
	int getScore( int difficulty, int dist );

	void displayScoreZones( bool val ) { showScoreZones = val; }

protected:
	bool showScoreZones;

	static int flyScoreZones[][3];

	void setPoint( int point );
};


#endif