X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=globals.h;h=7f4731484b6559efad703e565867c04ed04a13aa;hp=7dc6569cfc02a0ddd935ce937190df0aac9b884e;hb=88a9e026caed5568363cefb7d49308b875dc5e4a;hpb=3cfde1edc98388c11d4efbbba7c8deaf56c4b1ae diff --git a/globals.h b/globals.h index 7dc6569..7f47314 100644 --- a/globals.h +++ b/globals.h @@ -2,7 +2,8 @@ #define VOR_GLOBALS_H #include -#include "SFont.h" +#include +#include "font.h" struct bangdots { // Bang dots have the same colour as shield dots. @@ -37,7 +38,7 @@ extern SDL_Surface *surf_rock[NROCKS], // THE ROCKS *surf_font_big; // The big font -extern SFont_Font *g_font; +extern font *g_font; // Structure global variables extern struct enginedots edot[MAXENGINEDOTS], *dotptr; @@ -49,11 +50,8 @@ extern char *initerror; extern float screendx, screendy; -// All movement is based on t_frame. -// All speeds are pixels/tick, with 20 ticks per second. -extern float t_frame; // length of this frame (in ticks = 1/20th second) - extern int score; +extern int g_easy; extern float fadetimer, faderate; extern int pausedown, paused; @@ -66,4 +64,6 @@ extern Uint16 heatcolor[W*3]; extern char *data_dir; +extern uint32_t initial_rocks, final_rocks; + #endif // VOR_GLOBALS_H