summaryrefslogtreecommitdiff
path: root/noncore/games/sfcave-sdl/sfcave_game.h
Unidiff
Diffstat (limited to 'noncore/games/sfcave-sdl/sfcave_game.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/sfcave-sdl/sfcave_game.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/sfcave-sdl/sfcave_game.h b/noncore/games/sfcave-sdl/sfcave_game.h
index 92a0f5d..6dddf5e 100644
--- a/noncore/games/sfcave-sdl/sfcave_game.h
+++ b/noncore/games/sfcave-sdl/sfcave_game.h
@@ -1,39 +1,39 @@
1#ifndef __SFCAVE_GAME_H 1#ifndef __SFCAVE_GAME_H
2#define __SFCAVE_GAME_H 2#define __SFCAVE_GAME_H
3 3
4#include "SDL.h" 4#include <SDL/SDL.h>
5 5
6#include "rect.h" 6#include "rect.h"
7 7
8#include "sfcave.h" 8#include "sfcave.h"
9#include "terrain.h" 9#include "terrain.h"
10#include "player.h" 10#include "player.h"
11#include "game.h" 11#include "game.h"
12 12
13class SFCaveGame : public Game 13class SFCaveGame : public Game
14{ 14{
15public: 15public:
16 SFCaveGame( SFCave *p, int w, int h, int diff ); 16 SFCaveGame( SFCave *p, int w, int h, int diff );
17 ~SFCaveGame(); 17 ~SFCaveGame();
18 18
19 void init(); 19 void init();
20 void update( int state ); 20 void update( int state );
21 void draw( SDL_Surface *screen ); 21 void draw( SDL_Surface *screen );
22 22
23private: 23private:
24 24
25 int blockDistance; 25 int blockDistance;
26 int blockHeight; 26 int blockHeight;
27 int blockWidth; 27 int blockWidth;
28 int blockUpdateRate; 28 int blockUpdateRate;
29 29
30 Rect blocks[BLOCKSIZE]; 30 Rect blocks[BLOCKSIZE];
31 31
32 void addBlock(); 32 void addBlock();
33 void moveBlocks( int amountToMove ); 33 void moveBlocks( int amountToMove );
34 void drawBlocks( SDL_Surface *screen ); 34 void drawBlocks( SDL_Surface *screen );
35 bool checkCollisions(); 35 bool checkCollisions();
36 36
37}; 37};
38 38
39#endif 39#endif