Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OgreParticlePluginPrerequisites.h
Go to the documentation of this file.
1 // Copyright (C) 2006-2012 Dylan Blair
3 //
4 // email: dblair@alumni.cs.utexas.edu
5 //
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License, or (at your option) any later version.
10 //
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
15 //
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 
21 #ifndef OGRE_PARTICLE_PLUGIN_PREREQUISITES_H
22 #define OGRE_PARTICLE_PLUGIN_PREREQUISITES_H
23 
24 #include "../../Libs/Utils_LIB/UTypes.h"
25 
26 #ifdef _WIN32
27 //Get rid of MSVC++ warning - "decorated name length exceeded, name was truncated"
28 //One situation where this warning will be issued is when your code contains
29 //templates specialized on templates repeatedly. For example, a map of maps (from
30 //the Standard C++ Library). In this situation, you can make your typedefs a type
31 //(struct, for example) that contains the map.
32 //You might, however, decide to not restructure your code. It is possible to ship
33 //an application that generates C4503, but if you get link time errors on a
34 //truncated symbol, it will be more difficult to determine the type of the symbol
35 //in the error. Debugging will also be more difficult; the debugger will also have
36 //difficultly mapping symbol name to type name. The correctness of the program,
37 //however, is unaffected by the truncated name.
38 #pragma warning(disable:4503)
39 #endif
40 
41 #include "OgrePrerequisites.h"
42 
43 //-----------------------------------------------------------------------
44 // Windows Settings
45 //-----------------------------------------------------------------------
46 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32) && !defined(OGRE_STATIC_LIB)
47 # ifdef OGREPARTICLEPLUGIN_EXPORTS
48 # define _OgreParticleFXExport __declspec(dllexport)
49 # else
50 # if defined( __MINGW32__ )
51 # define _OgreParticleFXExport
52 # else
53 # define _OgreParticleFXExport __declspec(dllimport)
54 # endif
55 # endif
56 #elif defined ( OGRE_GCC_VISIBILITY )
57 # define _OgreParticleFXExport __attribute__ ((visibility("default")))
58 #else
59 # define _OgreParticleFXExport
60 #endif
61 
62 #endif //OGRE_PARTICLE_PLUGIN_PREREQUISITES_H