Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 25, 2007, 10:37:29 PM (17 years ago)
Author:
rgrieder
Message:
  • adapted the core to be an actual windows dll (only tested with MSVC)
  • misc header files dependency changes
Location:
code/branches/FICN/src/orxonox/core
Files:
1 added
19 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/ArgReader.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Benjamin Knecht <beni_at_orxonox.net>
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/**
    229 @file  Argreader.h
     
    1037#include <string>
    1138
     39#include "CorePrereqs.h"
     40
    1241namespace orxonox {
    1342
    14   class ArgReader
     43  class _CoreExport ArgReader
    1544  {
    1645    public:
  • code/branches/FICN/src/orxonox/core/ClassFactory.h

    r677 r682  
    3636#define _ClassFactory_H__
    3737
     38#include <string>
     39
     40#include "CorePrereqs.h"
     41
     42#include "Factory.h"
    3843#include "Identifier.h"
    3944#include "Debug.h"
  • code/branches/FICN/src/orxonox/core/ConfigValueContainer.cc

    r677 r682  
    2727
    2828#include <fstream>
    29 #include "ConfigValueContainer.h"
     29
    3030#include "../../misc/Tokenizer.h"
    3131#include "../../misc/String2Number.h"
     32#include "ConfigValueContainer.h"
    3233
    3334#define CONFIGFILEPATH "orxonox.ini"
  • code/branches/FICN/src/orxonox/core/ConfigValueContainer.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229    @file ConfigValueContainer.h
     
    1845#include <string>
    1946#include <list>
     47
     48#include "CorePrereqs.h"
    2049
    2150#include "OgreVector2.h"
     
    4170        If there is no section, the section and the entry are added to the end of the config-file.
    4271    */
    43     class ConfigValueContainer
     72    class _CoreExport ConfigValueContainer
    4473    {
    4574        public:
  • code/branches/FICN/src/orxonox/core/CoreIncludes.h

    r677 r682  
    2626 */
    2727
    28 #ifndef _CoreIncludes_H__
    29 #define _CoreIncludes_H__
    30 
    3128/**
    3229    @file CoreIncludes.h
     
    3936    the of the class implementation, so it gets executed before main().
    4037*/
     38
     39#ifndef _CoreIncludes_H__
     40#define _CoreIncludes_H__
     41
     42#include "CorePrereqs.h"
    4143
    4244// All needed header-files
  • code/branches/FICN/src/orxonox/core/Debug.h

    r670 r682  
    3737
    3838#include <stdio.h>
    39 
    40 int getSoftDebugLevel();
     39#include <iostream>
     40
     41#include "CorePrereqs.h"
     42
     43extern "C" _CoreExport int getSoftDebugLevel();
    4144
    4245// DEFINE ERROR MODES
  • code/branches/FICN/src/orxonox/core/DebugLevel.cc

    r670 r682  
    2727
    2828#include "CoreIncludes.h"
     29#include "Debug.h"
    2930#include "DebugLevel.h"
    30 #include "Debug.h"
    3131
    3232namespace orxonox
  • code/branches/FICN/src/orxonox/core/DebugLevel.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128#ifndef _DebugLevel_H__
    229#define _DebugLevel_H__
     30
     31#include "CorePrereqs.h"
    332
    433#include "OrxonoxClass.h"
     
    635namespace orxonox
    736{
    8     class DebugLevel : public OrxonoxClass
     37    class _CoreExport DebugLevel : public OrxonoxClass
    938    {
    1039        public:
  • code/branches/FICN/src/orxonox/core/Error.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128#ifndef _Error_H__
    229#define _Error_H__
    330
    4 #include <iostream>
    531#include <string>
     32
     33#include "CorePrereqs.h"
    634
    735namespace orxonox
    836{
    9         class Error
     37        class _CoreExport Error
    1038        {
    1139        public:
  • code/branches/FICN/src/orxonox/core/Factory.cc

    r677 r682  
    3131*/
    3232
    33 #include "Factory.h"
    3433#include "Identifier.h"
    3534#include "Debug.h"
    3635#include "../objects/BaseObject.h"
     36#include "Factory.h"
    3737
    3838namespace orxonox
  • code/branches/FICN/src/orxonox/core/Factory.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229    @file Factory.h
     
    2047#include <string>
    2148
     49#include "CorePrereqs.h"
     50
    2251namespace orxonox
    2352{
    2453    class BaseObject; // Forward declaration
    25     class Identifier; // Forward declaration
    2654
    2755    // ###############################
     
    2957    // ###############################
    3058    //! The Factory is used to map the name or the network ID of a class with its Identifier.
    31     class Factory
     59    class _CoreExport Factory
    3260    {
    3361        public:
     
    5381    // ###############################
    5482    //! Base-class of ClassFactory. Has to be defined separate because of circular dependencies.
    55     class BaseFactory
     83    class _CoreExport BaseFactory
    5684    {
    5785        public:
  • code/branches/FICN/src/orxonox/core/Identifier.h

    r677 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229    @file Identifier.h
     
    2552#define _Identifier_H__
    2653
    27 #include <iostream>
     54#include <string>
    2855#include <map>
    2956
     57#include "CorePrereqs.h"
     58
     59#include "ObjectList.h"
    3060#include "IdentifierList.h"
    31 #include "ObjectList.h"
    3261#include "Factory.h"
    33 #include "ConfigValueContainer.h"
    3462#include "Debug.h"
     63// These two files would actually be need, but they would produce
     64// circular dependencies. Anyway, it does compile without them
     65//#include "OrxonoxClass.h"
     66//#include "MetaObjectList.h"
    3567
    3668namespace orxonox
     
    5688        You can't directly create an Identifier, it's just the base-class for ClassIdentifier.
    5789    */
    58     class Identifier
     90    class _CoreExport Identifier
    5991    {
    6092        template <class T>
  • code/branches/FICN/src/orxonox/core/IdentifierList.h

    r673 r682  
    1 #ifndef _IdentifierList_H__
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    228/*!
    329    @file IdentifierList.h
     
    834*/
    935
     36#ifndef _IdentifierList_H__
    1037#define _IdentifierList_H__
    1138
    1239#include <string>
    1340
     41#include "CorePrereqs.h"
     42
    1443namespace orxonox
    1544{
    16     class Identifier; // Forward declaration
    17 
    1845    //! The list-element of the IdentifierList
    1946    class IdentifierListElement
     
    2754
    2855    //! The IdentifierList contains Identifiers
    29     class IdentifierList
     56    class _CoreExport IdentifierList
    3057    {
    3158        public:
  • code/branches/FICN/src/orxonox/core/Iterator.h

    r677 r682  
    4646#define _Iterator_H__
    4747
     48#include "CorePrereqs.h"
     49
     50#include "ObjectList.h"
    4851#include "Debug.h"
    4952
  • code/branches/FICN/src/orxonox/core/MetaObjectList.h

    r677 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229    @file MetaObjectList.h
     
    1037#ifndef _MetaObjectList_H__
    1138#define _MetaObjectList_H__
     39
     40#include "CorePrereqs.h"
    1241
    1342#include "ObjectList.h"
  • code/branches/FICN/src/orxonox/core/ObjectList.h

    r673 r682  
    3838#define _ObjectList_H__
    3939
     40#include "CorePrereqs.h"
     41
    4042namespace orxonox
    4143{
    42     class OrxonoxClass; // Forward declaration
    43 
    4444    // ###############################
    4545    // ###    ObjectListElement    ###
     
    7373    // ###       ObjectList        ###
    7474    // ###############################
    75     template <class T>
    76     class Iterator; // Forward declaration
    77 
    7875    //! The ObjectList contains all objects of a given class.
    7976    /**
  • code/branches/FICN/src/orxonox/core/OrxonoxClass.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Fabian 'x3n' Landau
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229    @file OrxonoxClass.h
     
    1037#define _OrxonoxClass_H__
    1138
     39#include <string>
     40
     41#include "CorePrereqs.h"
     42
     43#include "MetaObjectList.h"
    1244#include "Identifier.h"
    13 #include "IdentifierList.h"
    14 #include "ObjectList.h"
    15 #include "MetaObjectList.h"
    1645
    1746namespace orxonox
     
    2251        OrxonoxClass is needed to create the class-hierarchy at startup and to store the Identifier and the MetaObjectList.
    2352    */
    24     class OrxonoxClass
     53    class _CoreExport OrxonoxClass
    2554    {
    2655        public:
  • code/branches/FICN/src/orxonox/core/SignalHandler.cc

    r670 r682  
    2828#include <assert.h>
    2929
     30#include "Debug.h"
    3031#include "SignalHandler.h"
    31 #include "Debug.h"
    3232
    3333SignalHandler * SignalHandler::singletonRef = NULL;
  • code/branches/FICN/src/orxonox/core/SignalHandler.h

    r673 r682  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *
     4 *
     5 *   License notice:
     6 *
     7 *   This program is free software; you can redistribute it and/or
     8 *   modify it under the terms of the GNU General Public License
     9 *   as published by the Free Software Foundation; either version 2
     10 *   of the License, or (at your option) any later version.
     11 *
     12 *   This program is distributed in the hope that it will be useful,
     13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 *   GNU General Public License for more details.
     16 *
     17 *   You should have received a copy of the GNU General Public License
     18 *   along with this program; if not, write to the Free Software
     19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     20 *
     21 *   Author:
     22 *      Christoph Renner
     23 *   Co-authors:
     24 *      ...
     25 *
     26 */
     27
    128/*!
    229 * @file SignalHandler.h
     
    835#include <list>
    936#include <string>
     37
     38#include "CorePrereqs.h"
    1039
    1140typedef int (*SignalCallback)( void * someData );
     
    5887
    5988#else /* if defined __WIN32__ */
    60 class SignalHandler
     89
     90class _CoreExport SignalHandler
    6191{
    6292 public:
Note: See TracChangeset for help on using the changeset viewer.