~ubuntu-branches/debian/sid/ember/sid

« back to all changes in this revision

Viewing changes to src/components/ogre/environment/hydrax/src/Prerequisites.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Koch
  • Date: 2009-07-23 07:46:40 UTC
  • Revision ID: james.westby@ubuntu.com-20090723074640-wh0ukzis0kda36qv
Tags: upstream-0.5.6
Import upstream version 0.5.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
--------------------------------------------------------------------------------
 
3
This source file is part of Hydrax.
 
4
Visit ---
 
5
 
 
6
Copyright (C) 2008 Xavier Vergu�n Gonz�lez <xavierverguin@hotmail.com>
 
7
                                           <xavyiy@gmail.com>
 
8
 
 
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
 
12
version.
 
13
 
 
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.
 
17
 
 
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
--------------------------------------------------------------------------------
 
23
*/
 
24
 
 
25
#ifndef _Hydrax_Prerequisites_H_
 
26
#define _Hydrax_Prerequisites_H_
 
27
 
 
28
/// Include external headers
 
29
#include <Ogre.h>
 
30
 
 
31
/// Define the dll export qualifier if compiling for Windows
 
32
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
 
33
   #ifdef HYDRAX_LIB
 
34
     #define DllExport __declspec (dllexport)
 
35
   #else
 
36
     #define DllExport __declspec (dllimport)
 
37
   #endif
 
38
#else
 
39
   #define DllExport
 
40
#endif
 
41
 
 
42
/// Log macro
 
43
#define HydraxLOG(msg) Ogre::LogManager::getSingleton().logMessage("[Hydrax] " + Ogre::String(msg));
 
44
 
 
45
/// Hydrax defines
 
46
#define HYDRAX_VERSION_MAJOR 0
 
47
#define HYDRAX_VERSION_MINOR 4
 
48
#define HYDRAX_VERSION_PATCH 0
 
49
 
 
50
#define HYDRAX_RESOURCE_GROUP "Hydrax"
 
51
 
 
52
#define HYDRAX_IMAGE_CHECK_PIXELS 0 // See Image.cpp, 1 = Check pixels / 0 = No check pixels
 
53
                                    // Use it for debug mode only
 
54
 
 
55
#endif