Revert "Move global variables to main()."

This reverts commit b842bd0095.
This commit is contained in:
2026-03-03 09:22:16 +01:00
parent b842bd0095
commit bc6881f851

View File

@@ -20,6 +20,11 @@
#include "event_manager.h" #include "event_manager.h"
#include "ship.h" #include "ship.h"
int run;
int redraw;
int show_help;
int show_info;
#include <stdio.h> #include <stdio.h>
#include <allegro5/allegro.h> #include <allegro5/allegro.h>
#include <allegro5/allegro_primitives.h> #include <allegro5/allegro_primitives.h>
@@ -45,10 +50,6 @@ const char *info_format =
"velY: %f px/sec"; "velY: %f px/sec";
int main() { int main() {
int run;
int redraw;
int show_help;
int show_info;
char title[32]; char title[32];
sprintf(title, "SpaceShipSim v%s", VERSION); sprintf(title, "SpaceShipSim v%s", VERSION);
puts(title); puts(title);