mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-05-10 19:13:44 +00:00
Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95)
This commit is contained in:
parent
f369fa48c8
commit
1fdae0c128
52 changed files with 184 additions and 60 deletions
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AQUARIAMENUITEM_H
|
||||||
|
#define AQUARIAMENUITEM_H
|
||||||
|
|
||||||
#include "../BBGE/BitmapFont.h"
|
#include "../BBGE/BitmapFont.h"
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
@ -257,3 +258,4 @@ protected:
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AQUARIAPROGRESSBAR_H
|
||||||
|
#define AQUARIAPROGRESSBAR_H
|
||||||
|
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
|
||||||
|
@ -34,3 +35,4 @@ protected:
|
||||||
float perc;
|
float perc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,9 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AUTOMAP_H
|
||||||
|
#define AUTOMAP_H
|
||||||
|
|
||||||
#include "../BBGE/ActionMapper.h"
|
#include "../BBGE/ActionMapper.h"
|
||||||
#include "../BBGE/RenderObject.h"
|
#include "../BBGE/RenderObject.h"
|
||||||
|
|
||||||
|
@ -47,3 +49,4 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AVATAR_H
|
||||||
|
#define AVATAR_H
|
||||||
|
|
||||||
#include "../BBGE/Particles.h"
|
#include "../BBGE/Particles.h"
|
||||||
#include "../BBGE/BitmapFont.h"
|
#include "../BBGE/BitmapFont.h"
|
||||||
|
@ -544,6 +545,4 @@ protected:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef COLLIDEENTITY_H
|
||||||
|
#define COLLIDEENTITY_H
|
||||||
|
|
||||||
#include "Entity.h"
|
#include "Entity.h"
|
||||||
|
|
||||||
|
@ -41,3 +42,5 @@ protected:
|
||||||
void bounce(float ba);
|
void bounce(float ba);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef ENTITY_H
|
||||||
|
#define ENTITY_H
|
||||||
|
|
||||||
#include "../BBGE/AnimatedSprite.h"
|
#include "../BBGE/AnimatedSprite.h"
|
||||||
#include "../BBGE/StateMachine.h"
|
#include "../BBGE/StateMachine.h"
|
||||||
|
@ -606,3 +607,4 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef FLOCKENTITY_H
|
||||||
|
#define FLOCKENTITY_H
|
||||||
|
|
||||||
#include "CollideEntity.h"
|
#include "CollideEntity.h"
|
||||||
|
|
||||||
|
@ -67,3 +68,5 @@ protected:
|
||||||
FlockEntity *nearestFlockMate;
|
FlockEntity *nearestFlockMate;
|
||||||
float nearestDistance;
|
float nearestDistance;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef GAME_H
|
||||||
|
#define GAME_H
|
||||||
|
|
||||||
#include "../ExternalLibs/tinyxml.h"
|
#include "../ExternalLibs/tinyxml.h"
|
||||||
#include "../BBGE/DebugFont.h"
|
#include "../BBGE/DebugFont.h"
|
||||||
|
@ -1249,3 +1250,5 @@ bool Game::isObstructed(const TileVector &tile, int t /* = -1 */) const
|
||||||
{
|
{
|
||||||
return (getGrid(tile) & t);
|
return (getGrid(tile) & t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef GRIDRENDER_H
|
||||||
|
#define GRIDRENDER_H
|
||||||
|
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
|
||||||
|
@ -150,3 +151,4 @@ protected:
|
||||||
std::vector<SongLinePoint> pts;
|
std::vector<SongLinePoint> pts;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AQ_PATH_H
|
||||||
|
#define AQ_PATH_H
|
||||||
|
|
||||||
#include "../BBGE/Base.h"
|
#include "../BBGE/Base.h"
|
||||||
#include "../BBGE/Particles.h"
|
#include "../BBGE/Particles.h"
|
||||||
|
@ -149,3 +150,4 @@ public:
|
||||||
void parseWarpNodeData(const std::string &dataString);
|
void parseWarpNodeData(const std::string &dataString);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef PATHFINDING_H
|
||||||
|
#define PATHFINDING_H
|
||||||
|
|
||||||
#include "../BBGE/Base.h"
|
#include "../BBGE/Base.h"
|
||||||
//#include "Astar.h"
|
//#include "Astar.h"
|
||||||
|
@ -803,7 +804,7 @@ private: // data
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SCHOOLFISH_H
|
||||||
|
#define SCHOOLFISH_H
|
||||||
|
|
||||||
#include "FlockEntity.h"
|
#include "FlockEntity.h"
|
||||||
|
|
||||||
|
@ -50,3 +51,4 @@ protected:
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SCRIPTINTERFACE_H
|
||||||
|
#define SCRIPTINTERFACE_H
|
||||||
|
|
||||||
#include "../BBGE/Base.h"
|
#include "../BBGE/Base.h"
|
||||||
|
|
||||||
|
@ -101,3 +102,5 @@ protected:
|
||||||
|
|
||||||
lua_State *baseState;
|
lua_State *baseState;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,9 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SCRIPTEDENTITY_H
|
||||||
|
#define SCRIPTEDENTITY_H
|
||||||
|
|
||||||
#include "CollideEntity.h"
|
#include "CollideEntity.h"
|
||||||
#include "Segmented.h"
|
#include "Segmented.h"
|
||||||
#include "Hair.h"
|
#include "Hair.h"
|
||||||
|
@ -112,3 +114,5 @@ protected:
|
||||||
void onExitState(int action);
|
void onExitState(int action);
|
||||||
virtual void deathNotify(RenderObject *r);
|
virtual void deathNotify(RenderObject *r);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SEGMENTED_H
|
||||||
|
#define SEGMENTED_H
|
||||||
|
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
|
||||||
|
@ -53,3 +54,4 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SHOT_H
|
||||||
|
#define SHOT_H
|
||||||
|
|
||||||
#include "CollideEntity.h"
|
#include "CollideEntity.h"
|
||||||
#include "Segmented.h"
|
#include "Segmented.h"
|
||||||
|
@ -192,3 +193,4 @@ protected:
|
||||||
void onEndOfLife();
|
void onEndOfLife();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef STATS_ACH_H
|
||||||
|
#define STATS_ACH_H
|
||||||
|
|
||||||
#ifdef BBGE_BUILD_ACHIEVEMENTS_INTERNAL
|
#ifdef BBGE_BUILD_ACHIEVEMENTS_INTERNAL
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
@ -172,4 +173,4 @@ private:
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef TILEVECTOR_H
|
||||||
|
#define TILEVECTOR_H
|
||||||
|
|
||||||
#include "../BBGE/Vector.h"
|
#include "../BBGE/Vector.h"
|
||||||
|
|
||||||
|
@ -55,3 +56,4 @@ public:
|
||||||
int x,y;
|
int x,y;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef TOOLTIP_H
|
||||||
|
#define TOOLTIP_H
|
||||||
|
|
||||||
#include "../BBGE/BitmapFont.h"
|
#include "../BBGE/BitmapFont.h"
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
@ -51,4 +52,4 @@ protected:
|
||||||
Quad *back;
|
Quad *back;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef USERSETTINGS_H
|
||||||
|
#define USERSETTINGS_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
@ -182,3 +183,5 @@ public:
|
||||||
void save();
|
void save();
|
||||||
void apply();
|
void apply();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef WATERFONT_H
|
||||||
|
#define WATERFONT_H
|
||||||
|
|
||||||
#include "../BBGE/BitmapFont.h"
|
#include "../BBGE/BitmapFont.h"
|
||||||
|
|
||||||
|
@ -31,3 +32,4 @@ protected:
|
||||||
void onUpdate(float dt);
|
void onUpdate(float dt);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef WATERSURFACERENDER_H
|
||||||
|
#define WATERSURFACERENDER_H
|
||||||
|
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
|
|
||||||
|
@ -32,4 +33,4 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef AQ_WEB_H
|
||||||
|
#define AQ_WEB_H
|
||||||
|
|
||||||
#include "../BBGE/Quad.h"
|
#include "../BBGE/Quad.h"
|
||||||
#include "Entity.h"
|
#include "Entity.h"
|
||||||
|
@ -44,3 +45,4 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef ACTIONINPUT_H
|
||||||
|
#define ACTIONINPUT_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -53,3 +54,5 @@ enum InputSetType
|
||||||
INPUTSET_MOUSE = 3,
|
INPUTSET_MOUSE = 3,
|
||||||
INPUTSET_OTHER = 4
|
INPUTSET_OTHER = 4
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef ACTIONSET_H
|
||||||
|
#define ACTIONSET_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -47,3 +48,5 @@ public:
|
||||||
|
|
||||||
std::string insertInputIntoString(const std::string &string);
|
std::string insertInputIntoString(const std::string &string);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_BASE_H
|
||||||
|
#define BBGE_BASE_H
|
||||||
|
|
||||||
#ifdef BBGE_BUILD_WINDOWS
|
#ifdef BBGE_BUILD_WINDOWS
|
||||||
|
|
||||||
|
@ -296,3 +297,5 @@ void openURL(const std::string &url);
|
||||||
|
|
||||||
std::string underscoresToSpaces(const std::string &str);
|
std::string underscoresToSpaces(const std::string &str);
|
||||||
std::string spacesToUnderscores(const std::string &str);
|
std::string spacesToUnderscores(const std::string &str);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BITMAPFONT_H
|
||||||
|
#define BITMAPFONT_H
|
||||||
|
|
||||||
//#include "DrawText.h"
|
//#include "DrawText.h"
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
@ -101,3 +102,4 @@ protected:
|
||||||
int textWidth;
|
int textWidth;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BLOOMEFFECT_H
|
||||||
|
#define BLOOMEFFECT_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
#include "FrameBuffer.h"
|
#include "FrameBuffer.h"
|
||||||
|
@ -44,3 +45,4 @@ protected:
|
||||||
bool useFrameBuffer;
|
bool useFrameBuffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef COLLISION_H
|
||||||
|
#define COLLISION_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
|
||||||
|
@ -142,3 +143,4 @@ public:
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef COMMONEVENTS_H
|
||||||
|
#define COMMONEVENTS_H
|
||||||
|
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
|
|
||||||
|
@ -46,3 +47,5 @@ public:
|
||||||
private:
|
private:
|
||||||
std::string state;
|
std::string state;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef DARKLAYER_H
|
||||||
|
#define DARKLAYER_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
#include "FrameBuffer.h"
|
#include "FrameBuffer.h"
|
||||||
|
@ -52,3 +53,4 @@ protected:
|
||||||
GLuint format;
|
GLuint format;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef DEBUGFONT_H
|
||||||
|
#define DEBUGFONT_H
|
||||||
|
|
||||||
#include "Core.h"
|
#include "Core.h"
|
||||||
#include "BaseText.h"
|
#include "BaseText.h"
|
||||||
|
@ -66,3 +67,4 @@ public:
|
||||||
virtual void buttonPress(DebugButton *db){}
|
virtual void buttonPress(DebugButton *db){}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef EFFECTS_H
|
||||||
|
#define EFFECTS_H
|
||||||
|
|
||||||
#include "Vector.h"
|
#include "Vector.h"
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
@ -57,4 +58,5 @@ protected:
|
||||||
bool enabled[FXT_MAX];
|
bool enabled[FXT_MAX];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef FILEVARS_H
|
||||||
|
#define FILEVARS_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
|
||||||
|
@ -34,3 +35,5 @@ protected:
|
||||||
std::map<std::string,float> floats;
|
std::map<std::string,float> floats;
|
||||||
std::map<std::string, int> ints;
|
std::map<std::string, int> ints;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_FLAGS_H
|
||||||
|
#define BBGE_FLAGS_H
|
||||||
|
|
||||||
#ifdef BBGE_BUILD_WINDOWS
|
#ifdef BBGE_BUILD_WINDOWS
|
||||||
typedef unsigned __int32 uint32;
|
typedef unsigned __int32 uint32;
|
||||||
|
@ -44,3 +45,4 @@ public:
|
||||||
uint32 flags;
|
uint32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef FRAMEBUFFER_H
|
||||||
|
#define FRAMEBUFFER_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
|
||||||
|
@ -57,3 +58,4 @@ protected:
|
||||||
bool enabled, inited;
|
bool enabled, inited;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef GRADIENT_H
|
||||||
|
#define GRADIENT_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
|
||||||
|
@ -37,3 +38,5 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
Vector ulc0, ulc1, ulc2, ulc3;
|
Vector ulc0, ulc1, ulc2, ulc3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef LENSFLARE_H
|
||||||
|
#define LENSFLARE_H
|
||||||
|
|
||||||
#include "Quad.h"
|
#include "Quad.h"
|
||||||
|
|
||||||
|
@ -34,3 +35,5 @@ protected:
|
||||||
void onUpdate(float dt);
|
void onUpdate(float dt);
|
||||||
std::vector <Quad*> flares;
|
std::vector <Quad*> flares;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_MODEL_H
|
||||||
|
#define BBGE_MODEL_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
|
||||||
|
@ -57,3 +58,5 @@ protected:
|
||||||
float m_lodLevel;
|
float m_lodLevel;
|
||||||
std::string m_path;
|
std::string m_path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,9 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef POINTSPRITES_H
|
||||||
|
#define POINTSPRITES_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
|
||||||
#ifdef BBGE_BUILD_WINDOWS
|
#ifdef BBGE_BUILD_WINDOWS
|
||||||
|
@ -34,3 +36,4 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef PRECACHER_H
|
||||||
|
#define PRECACHER_H
|
||||||
|
|
||||||
#include "Quad.h"
|
#include "Quad.h"
|
||||||
|
|
||||||
|
@ -37,3 +38,5 @@ private:
|
||||||
bool cleaned;
|
bool cleaned;
|
||||||
void (*loadProgressCallback)();
|
void (*loadProgressCallback)();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef QUADTRAIL_H
|
||||||
|
#define QUADTRAIL_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
|
||||||
|
@ -60,3 +61,5 @@ protected:
|
||||||
void onRender();
|
void onRender();
|
||||||
void onUpdate(float dt);
|
void onUpdate(float dt);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_RECT_H
|
||||||
|
#define BBGE_RECT_H
|
||||||
|
|
||||||
#include "Vector.h"
|
#include "Vector.h"
|
||||||
|
|
||||||
|
@ -70,3 +71,5 @@ public:
|
||||||
}
|
}
|
||||||
int x1, y1, x2, y2;
|
int x1, y1, x2, y2;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef RENDEROBJECT_INLINE_H
|
||||||
|
#define RENDEROBJECT_INLINE_H
|
||||||
|
|
||||||
inline bool RenderObject::isOnScreen()
|
inline bool RenderObject::isOnScreen()
|
||||||
{
|
{
|
||||||
|
@ -70,3 +71,5 @@ Vector RenderObject::getFollowCameraPosition() const
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef ROUNDEDRECT_H
|
||||||
|
#define ROUNDEDRECT_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
|
@ -67,3 +68,5 @@ protected:
|
||||||
bool mbd;
|
bool mbd;
|
||||||
bool noNested;
|
bool noNested;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SCREENTRANSITION_H
|
||||||
|
#define SCREENTRANSITION_H
|
||||||
|
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
|
||||||
|
@ -46,3 +47,4 @@ protected:
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SCRIPTOBJECT_H
|
||||||
|
#define SCRIPTOBJECT_H
|
||||||
|
|
||||||
enum ScriptObjectType
|
enum ScriptObjectType
|
||||||
{
|
{
|
||||||
|
@ -79,3 +80,5 @@ public:
|
||||||
// public to allow the static compile check in ScriptInterface.cpp to work
|
// public to allow the static compile check in ScriptInterface.cpp to work
|
||||||
ScriptObjectType _objtype;
|
ScriptObjectType _objtype;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_SHADER_H
|
||||||
|
#define BBGE_SHADER_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
|
|
||||||
|
@ -52,3 +53,5 @@ protected:
|
||||||
static bool _wasInited;
|
static bool _wasInited;
|
||||||
static bool _useShaders;
|
static bool _useShaders;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SIMPLEISTRINGSTREAM_H
|
||||||
|
#define SIMPLEISTRINGSTREAM_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This class implements a lightweight version of the std::istringstream
|
* This class implements a lightweight version of the std::istringstream
|
||||||
|
@ -730,6 +731,8 @@ inline SimpleIStringStream &SimpleIStringStream::operator>>(std::string &target)
|
||||||
#undef VERIFY_SETUP
|
#undef VERIFY_SETUP
|
||||||
#undef VERIFY
|
#undef VERIFY
|
||||||
|
|
||||||
|
#endif // SIMPLEISTRINGSTREAM_H
|
||||||
|
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
/*************************************************************************/
|
/*************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,9 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SKELETALSPRITE_H
|
||||||
|
#define SKELETALSPRITE_H
|
||||||
|
|
||||||
#include "Quad.h"
|
#include "Quad.h"
|
||||||
#include "SimpleIStringStream.h"
|
#include "SimpleIStringStream.h"
|
||||||
// for 2d system only
|
// for 2d system only
|
||||||
|
@ -273,4 +275,4 @@ protected:
|
||||||
void onUpdate(float dt);
|
void onUpdate(float dt);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef SOUNDMANAGER_H
|
||||||
|
#define SOUNDMANAGER_H
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
@ -250,3 +251,5 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
extern SoundManager *sound;
|
extern SoundManager *sound;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
#pragma once
|
#ifndef BBGE_TTFFONT_H
|
||||||
|
#define BBGE_TTFFONT_H
|
||||||
|
|
||||||
#include "Base.h"
|
#include "Base.h"
|
||||||
#include "RenderObject.h"
|
#include "RenderObject.h"
|
||||||
|
@ -69,3 +70,5 @@ protected:
|
||||||
TTFFont *font;
|
TTFFont *font;
|
||||||
int hw,h;
|
int hw,h;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue