Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/libraries/util/UtilPrereqs.h @ 7418

Last change on this file since 7418 was 6417, checked in by rgrieder, 15 years ago

Merged presentation2 branch back to trunk.
Major new features:

  • Actual GUI with settings, etc.
  • Improved space ship steering (human interaction)
  • Rocket fire and more particle effects
  • Advanced sound framework
  • Property svn:eol-style set to native
File size: 3.4 KB
RevLine 
[792]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
[1505]3 *                    > www.orxonox.net <
[792]4 *
5 *
6 *   License notice:
7 *
8 *   This program is free software; you can redistribute it and/or
9 *   modify it under the terms of the GNU General Public License
10 *   as published by the Free Software Foundation; either version 2
11 *   of the License, or (at your option) any later version.
12 *
13 *   This program is distributed in the hope that it will be useful,
14 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *   GNU General Public License for more details.
17 *
18 *   You should have received a copy of the GNU General Public License
19 *   along with this program; if not, write to the Free Software
20 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21 *
22 *   Author:
23 *      Reto Grieder
24 *   Co-authors:
25 *      Fabian 'x3n' Landau
26 *
27 */
28
29/**
[5929]30@file
31@brief
32    Shared library macros, enums, constants and forward declarations for the util library
[1024]33*/
[1505]34
[792]35#ifndef _UtilPrereqs_H__
36#define _UtilPrereqs_H__
37
[2710]38#include "OrxonoxConfig.h"
[792]39
40//-----------------------------------------------------------------------
41// Shared library settings
42//-----------------------------------------------------------------------
[5929]43
[2710]44#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined( UTIL_STATIC_BUILD )
[792]45#  ifdef UTIL_SHARED_BUILD
46#    define _UtilExport __declspec(dllexport)
47#  else
48#    if defined( __MINGW32__ )
49#      define _UtilExport
50#    else
51#      define _UtilExport __declspec(dllimport)
52#    endif
53#  endif
54#elif defined ( ORXONOX_GCC_VISIBILITY )
55#  define _UtilExport  __attribute__ ((visibility("default")))
56#else
57#  define _UtilExport
58#endif
59
[5929]60//-----------------------------------------------------------------------
61// Enums
62//-----------------------------------------------------------------------
[792]63
[5929]64namespace orxonox
65{
66    namespace ScopeID
67    {
68        //!A list of available scopes for the Scope template.
69        enum Value
70        {
71            Root,
72            Graphics
73        };
74    }
75}
76
[792]77//-----------------------------------------------------------------------
78// Forward declarations
79//-----------------------------------------------------------------------
[3280]80
81namespace orxonox
82{
[5929]83    class Clock;
[3280]84    class Exception;
85    class ExprParser;
86    class IntVector2;
87    class IntVector3;
88    class MultiType;
89    class OutputHandler;
[6105]90    class OutputListener;
[5929]91    template <ScopeID::Value>
92    class Scope;
93    template <class, ScopeID::Value>
94    class ScopedSingleton;
95    class ScopeListener;
[3280]96    class SignalHandler;
[5929]97    template <class T>
98    class Singleton;
[3280]99    class SubString;
100}
101
[3196]102namespace Ogre
103{
104    class Radian;
105    class Degree;
106    class Vector2;
107    class Vector3;
108    class Vector4;
109    class Matrix3;
110    class Matrix4;
111    class Quaternion;
112    class ColourValue;
113}
[1747]114namespace orxonox
115{
[3196]116    using Ogre::Radian;
117    using Ogre::Degree;
118    using Ogre::Vector2;
119    using Ogre::Vector3;
120    using Ogre::Vector4;
121    using Ogre::Matrix3;
122    using Ogre::Matrix4;
123    using Ogre::Quaternion;
124    using Ogre::ColourValue;
[3280]125}
[3196]126
[3280]127namespace Loki
128{
129    class ScopeGuardImplBase;
130    typedef const ScopeGuardImplBase& ScopeGuard;
[1747]131}
132
[6417]133// Just so you don't have to include StringUtils.h everywhere just for this
134namespace orxonox
135{
136    extern _UtilExport std::string BLANKSTRING;
137}
138
139
[792]140#endif /* _UtilPrereqs_H__ */
Note: See TracBrowser for help on using the repository browser.