summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/flyterrain.h
blob: 6258fa008916a282a7467493e1cc8d0221771f27 (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/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