]> git.r.bdr.sh - rbdr/pico-engine/blob - constants.h
first commit
[rbdr/pico-engine] / constants.h
1 #define MAXPATHLEN 1024
2
3 #define SCREEN_DEPTH 32
4 #define SCREEN_PROPS SDL_HWSURFACE|SDL_DOUBLEBUF
5 #define SCREEN_WIDTH 768
6 #define SCREEN_HEIGHT 480
7 #define TILE_WIDTH 101
8 #define TILE_HEIGHT 57
9 #define MAX_FPS 125
10 #define FRAME_TIME 1000/MAX_FPS
11
12 //speeds
13 #define MOVEMENT_FREQ 2
14 #define GRAVITY 1.2
15
16 //spritesheet dimensions
17 #define SPRITE_FRAMES_W 4
18 #define SPRITE_FRAMES_H 4
19 #define MAX_MAP_W 60
20 #define MAX_MAP_H 40
21
22 enum Direction {UP, RIGHT, DOWN, LEFT};
23 enum Enemy {NEUTRAL, EVIL, WEAPON, SUPEREVIL};