2
--------------------------------------------------------------------------------
3
This source file is part of Hydrax.
6
Copyright (C) 2008 Xavier Vergu�n Gonz�lez <xavierverguin@hotmail.com>
9
This program is free software; you can redistribute it and/or modify it under
10
the terms of the GNU Lesser General Public License as published by the Free Software
11
Foundation; either version 2 of the License, or (at your option) any later
14
This program is distributed in the hope that it will be useful, but WITHOUT
15
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
18
You should have received a copy of the GNU Lesser General Public License along with
19
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20
Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21
http://www.gnu.org/copyleft/lesser.txt.
22
--------------------------------------------------------------------------------
25
#ifndef _Hydrax_Prerequisites_H_
26
#define _Hydrax_Prerequisites_H_
28
/// Include external headers
31
/// Define the dll export qualifier if compiling for Windows
32
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
34
#define DllExport __declspec (dllexport)
36
#define DllExport __declspec (dllimport)
43
#define HydraxLOG(msg) Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));
46
#define HYDRAX_VERSION_MAJOR 0
47
#define HYDRAX_VERSION_MINOR 4
48
#define HYDRAX_VERSION_PATCH 0
50
#define HYDRAX_RESOURCE_GROUP "Hydrax"
52
#define HYDRAX_IMAGE_CHECK_PIXELS 0 // See Image.cpp, 1 = Check pixels / 0 = No check pixels
53
// Use it for debug mode only