git repos / blockattack-game

blame: source/code/global.hpp

normal view · raw

c53e6443 sago007 2012-04-17 11:04 1
/*
c53e6443 sago007 2012-04-17 11:04 2
===========================================================================
c53e6443 sago007 2012-04-17 11:04 3
blockattack - Block Attack - Rise of the Blocks
c53e6443 sago007 2012-04-17 11:04 4
Copyright (C) 2005-2012 Poul Sander
c53e6443 sago007 2012-04-17 11:04 5
c53e6443 sago007 2012-04-17 11:04 6
This program is free software: you can redistribute it and/or modify
c53e6443 sago007 2012-04-17 11:04 7
it under the terms of the GNU General Public License as published by
c53e6443 sago007 2012-04-17 11:04 8
the Free Software Foundation, either version 2 of the License, or
c53e6443 sago007 2012-04-17 11:04 9
(at your option) any later version.
c53e6443 sago007 2012-04-17 11:04 10
c53e6443 sago007 2012-04-17 11:04 11
This program is distributed in the hope that it will be useful,
c53e6443 sago007 2012-04-17 11:04 12
but WITHOUT ANY WARRANTY; without even the implied warranty of
c53e6443 sago007 2012-04-17 11:04 13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
c53e6443 sago007 2012-04-17 11:04 14
GNU General Public License for more details.
c53e6443 sago007 2012-04-17 11:04 15
c53e6443 sago007 2012-04-17 11:04 16
You should have received a copy of the GNU General Public License
c53e6443 sago007 2012-04-17 11:04 17
along with this program.  If not, see http://www.gnu.org/licenses/
c53e6443 sago007 2012-04-17 11:04 18
c53e6443 sago007 2012-04-17 11:04 19
Source information and contacts persons can be found at
c53e6443 sago007 2012-04-17 11:04 20
http://blockattack.sf.net
c53e6443 sago007 2012-04-17 11:04 21
===========================================================================
c53e6443 sago007 2012-04-17 11:04 22
*/
099916fc sago007 2011-06-10 17:39 23
099916fc sago007 2011-06-10 17:39 24
#ifndef _GLOBAL_HPP
099916fc sago007 2011-06-10 17:39 25
#define	_GLOBAL_HPP
099916fc sago007 2011-06-10 17:39 26
605138b3 sago007 2012-04-14 15:12 27
#include "CppSdlImageHolder.hpp"
099916fc sago007 2011-06-10 17:39 28
#include "Libs/NFont.h"
f3a1637d sago007 2015-11-14 21:32 29
#include <memory>
099916fc sago007 2011-06-10 17:39 30
099916fc sago007 2011-06-10 17:39 31
void MainMenu();
099916fc sago007 2011-06-10 17:39 32
void ResetFullscreen();
099916fc sago007 2011-06-10 17:39 33
f3a1637d sago007 2015-11-14 21:32 34
extern std::shared_ptr<CppSdl::CppSdlImageHolder>  menuMarked;
f3a1637d sago007 2015-11-14 21:32 35
extern std::shared_ptr<CppSdl::CppSdlImageHolder>  menuUnmarked;
099916fc sago007 2011-06-10 17:39 36
extern NFont nf_scoreboard_font;
099916fc sago007 2011-06-10 17:39 37
extern bool MusicEnabled;			//true if background music is enabled
099916fc sago007 2011-06-10 17:39 38
extern bool SoundEnabled;			//true if sound effects is enabled
099916fc sago007 2011-06-10 17:39 39
extern bool bFullscreen;			//true if game is running fullscreen
f6707482 sago007 2015-12-04 22:55 40
extern std::string player1name;
f6707482 sago007 2015-12-04 22:55 41
extern std::string player2name;
099916fc sago007 2011-06-10 17:39 42
extern SDL_Surface *screen;        //The whole screen;
7d604e02 sago007 2015-11-29 18:39 43
extern std::shared_ptr<CppSdl::CppSdlImageHolder> mouse;
7d604e02 sago007 2015-11-29 18:39 44
extern SDL_Surface* backgroundImage;
7d604e02 sago007 2015-11-29 18:39 45
extern bool highPriority;
7d604e02 sago007 2015-11-29 18:39 46
extern int verboseLevel;
099916fc sago007 2011-06-10 17:39 47
099916fc sago007 2011-06-10 17:39 48
#endif	/* _GLOBAL_HPP */
099916fc sago007 2011-06-10 17:39 49
1970-01-01 00:00 50