X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;h=be5444b2e83a02293fd0a1c42b384ae9b637c688;hp=e06a01080e5c755c51574953b4636d76687adea8;hb=27592afb035feefb37bff84eb3b42a1c6bff5621;hpb=6f82bba8833f187abebab53375ac87905487cf8c diff --git a/main.c b/main.c index e06a010..be5444b 100644 --- a/main.c +++ b/main.c @@ -107,7 +107,6 @@ struct spacedot sdot[MAXSPACEDOTS]; // Other global variables char topline[1024]; char *initerror = ""; -char name[1024], debug1[1024]; float xship,yship = 240.0; // X position, 0..XSIZE float xvel,yvel; // Change in X position per tick. @@ -123,16 +122,13 @@ int maneuver = 0; int sound_flag = 1, music_flag = 0; int tail_plume = 0; // display big engine at the back? int friction = 0; // should there be friction? -int scorerank; -float fadetimer = 0,faderate; +float fadetimer = 0, faderate; -int pausedown = 0,paused = 0; +int pausedown = 0, paused = 0; // bangdot start (bd1) and end (bd2) position: int bd1 = 0, bd2 = 0; -int xoffset[NROCKS][MAXROCKHEIGHT]; - enum states { TITLE_PAGE, GAMEPLAY, @@ -145,8 +141,6 @@ enum states { enum states state = TITLE_PAGE; float state_timeout = 600.0; -const int fakesin[] = {0,1,0,-1}; -const int fakecos[] = {1,0,-1,0}; #define NSEQUENCE 2 char *sequence[] = { "Press SPACE to start",