]>
git.r.bdr.sh - rbdr/pico-engine/blob - constants.h
1 #define MAXPATHLEN 1024
3 #define SCREEN_DEPTH 32
4 #define SCREEN_PROPS SDL_HWSURFACE|SDL_DOUBLEBUF
5 #define SCREEN_WIDTH 768
6 #define SCREEN_HEIGHT 480
10 #define FRAME_TIME 1000/MAX_FPS
13 #define MOVEMENT_FREQ 2
16 //spritesheet dimensions
17 #define SPRITE_FRAMES_W 4
18 #define SPRITE_FRAMES_H 4
22 enum Direction
{UP
, RIGHT
, DOWN
, LEFT
};
23 enum Enemy
{NEUTRAL
, EVIL
, WEAPON
, SUPEREVIL
};