/* Definitions useful for our sprite world */ /* Definitions that are particular to a particular logic module are in "logicdir/logicdir.h", i.e. netlogic/netlogic.h Note especially that this includes timing constants, etc. */ #include "rect.h" #define SCREEN_WIDTH 640 #define SCREEN_HEIGHT 480 #define SOUND_DELAY 6 #define FADE_STEPS 40 /* Time in 60'th of second between frames */ #define FRAME_DELAY 2 #define MAX_SPRITES 100 #define MAX_SPRITE_FRAMES 60 #define MAX_STARS 30 #define SHIP_FRAMES 48 #define SPRITES_WIDTH 32 #define SPRITE_PRECISION 4 /* internal <--> screen precision */ #define VEL_FACTOR 4 #define VEL_MAX (8<