spaceshipsim/src/globals.h

35 lines
1.1 KiB
C
Raw Normal View History

2018-03-25 10:08:19 +00:00
/*
* Copyright (C) 2018 Ortega Froysa, Nicolás <nortega@themusicinnoise.net>
* Author: Ortega Froysa, Nicolás <nortega@themusicinnoise.net>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#ifndef VERSION
# define VERSION "[version]"
#endif
2018-03-25 12:27:10 +00:00
#ifndef FPS
2018-03-25 12:53:40 +00:00
# define FPS 60.0f
2018-03-25 12:27:10 +00:00
#endif
2018-03-25 12:53:40 +00:00
#include <allegro5/allegro.h>
extern ALLEGRO_DISPLAY *display; ///< The allegro display.
extern int redraw; ///< Whether or not to redraw the screen.
2018-03-25 12:27:10 +00:00
extern int run; ///< Whether or not to continue running the simulation.