Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 945


Ignore:
Timestamp:
Mar 27, 2008, 10:13:19 PM (16 years ago)
Author:
rgrieder
Message:
  • moved ArgReader to util
  • some Prereqs cleanup
Location:
code/branches/input
Files:
2 added
2 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • code/branches/input/src/audio/AudioPrereqs.h

    r790 r945  
    2727
    2828/**
    29  @file  AudioPrereqs.h
    30  @brief Contains all the necessary forward declarations for all classes, structs and enums.
    31  */
     29  @file
     30  @brief Contains all the necessary forward declarations for all classes and structs.
     31*/
    3232
    3333#ifndef _AudioPrereqs_H__
  • code/branches/input/src/network/NetworkPrereqs.h

    r888 r945  
    2727
    2828/**
    29  @file  NetworkPrereqs.h
    30  @brief Contains all the necessary forward declarations for all classes, structs and enums.
    31  */
     29  @file
     30  @brief Contains all the necessary forward declarations for all classes and structs.
     31*/
    3232
    3333#ifndef _NetworkPrereqs_H__
     
    8484  struct PacketEnvelope;
    8585  struct QueueItem;
    86   struct synchData;
     86  struct syncData;
    8787  struct synchronisableVariable;
    8888}
  • code/branches/input/src/orxonox/Orxonox.cc

    r934 r945  
    5050//misc
    5151//#include "util/Sleep.h"
     52#include "util/ArgReader.h"
    5253
    5354// audio
     
    6162
    6263// objects
    63 #include "core/ArgReader.h"
    6464#include "core/Debug.h"
    6565#include "core/Factory.h"
     
    174174    std::string mode;
    175175
    176     ArgReader ar = ArgReader(argc, argv);
     176    ArgReader ar(argc, argv);
    177177    ar.checkArgument("mode", mode, false);
    178178    ar.checkArgument("data", this->dataPath_, false);
  • code/branches/input/src/orxonox/OrxonoxPrereqs.h

    r922 r945  
    2727
    2828/**
    29  @file  OrxonoxPrereqs.h
    30  @brief Contains all the necessary forward declarations for all classes and structs.
    31  */
     29  @file
     30  @brief Contains all the necessary forward declarations for all classes and structs.
     31*/
    3232
    3333#ifndef _OrxonoxPrereqs_H__
     
    5959//-----------------------------------------------------------------------
    6060
    61 // classes that have not yet been put into a namespace
    62 class InputManager;
    63 class SpaceShipSteering;
    64 
    6561namespace orxonox {
    66   class Ambient;
    67   class BaseObject;
    68   class Camera;
    6962  class GraphicsEngine;
    7063  struct InputEvent;
    7164  class InputEventListener;
    7265  class InputHandler;
    73   class Mesh;
     66  class Orxonox;
     67
     68  // objects
     69  class Ambient;
     70  class Camera;
     71  class Explosion;
     72  class Fighter;
    7473  class Model;
    7574  class NPC;
    76   class OrxListener;
    77   class Orxonox;
     75  class Projectile;
    7876  class Skybox;
    7977  class SpaceShip;
    80   class Tickable;
    81   class TickFrameListener;
    82   template <class T>
    83   class Timer;
    84   class TimerBase;
    85   class TimerFrameListener;
    8678  class WorldEntity;
    8779
     
    9385  class WeaponStation;
    9486
     87  // tools
     88  class BillboardSet;
     89  class Light;
     90  class Mesh;
     91  template <class T>
     92  class Timer;
     93  class TimerBase;
     94
     95  // particle
    9596  class ParticleInterface;
     97
     98  // hud
    9699  class HUD;
    97100}
  • code/branches/input/src/orxonox/core/CMakeLists.txt

    r919 r945  
    99  Error.cc
    1010  SignalHandler.cc
    11   ArgReader.cc
    1211  DebugLevel.cc
    1312  OutputHandler.cc
  • code/branches/input/src/orxonox/core/CorePrereqs.h

    r871 r945  
    2727
    2828/**
    29     @file  CorePrereq.h
    30     @brief Contains all the necessary forward declarations for all classes, structs and enums.
     29  @file
     30  @brief Contains all the necessary forward declarations for all classes and structs.
    3131*/
    3232
     
    6767  typedef std::string LanguageEntryLabel;
    6868
    69   class ArgReader;
    7069  class BaseFactory;
    7170  class BaseMetaObjectListElement;
     71  class BaseObject;
    7272  template <class T>
    7373  class ClassFactory;
     
    103103  template <class T>
    104104  class SubclassIdentifier;
     105  class Tickable;
    105106  template <class T, class O>
    106107  class XMLPortClassObjectContainer;
  • code/branches/input/src/util/CMakeLists.txt

    r871 r945  
    44
    55SET (UTIL_SRC_FILES
     6  ArgReader.cc
    67  Math.cc
    78  String.cc
  • code/branches/input/src/util/UtilPrereqs.h

    r871 r945  
    2727
    2828/**
    29  @file  UtilPrereq.h
    30  @brief Contains all the necessary forward declarations for all classes, structs and enums.
    31  */
     29  @file
     30  @brief Contains all the necessary forward declarations for all classes and structs.
     31*/
    3232
    3333#ifndef _UtilPrereqs_H__
     
    5959// Forward declarations
    6060//-----------------------------------------------------------------------
     61class ArgReader;
    6162class Convert;
    6263template <typename FromType, typename ToType>
  • code/branches/input/visual_studio/vc8/audio.vcproj

    r790 r945  
    273273                        >
    274274                        <File
    275                                 RelativePath="..\..\src\audio\_AudioObject.cc"
    276                                 >
    277                                 <FileConfiguration
    278                                         Name="Debug|Win32"
    279                                         ExcludedFromBuild="true"
    280                                         >
    281                                         <Tool
    282                                                 Name="VCCLCompilerTool"
    283                                         />
    284                                 </FileConfiguration>
    285                                 <FileConfiguration
    286                                         Name="Release|Win32"
    287                                         ExcludedFromBuild="true"
    288                                         >
    289                                         <Tool
    290                                                 Name="VCCLCompilerTool"
    291                                         />
    292                                 </FileConfiguration>
    293                                 <FileConfiguration
    294                                         Name="Release_SSE|Win32"
    295                                         ExcludedFromBuild="true"
    296                                         >
    297                                         <Tool
    298                                                 Name="VCCLCompilerTool"
    299                                         />
    300                                 </FileConfiguration>
    301                                 <FileConfiguration
    302                                         Name="Release_SSE2|Win32"
    303                                         ExcludedFromBuild="true"
    304                                         >
    305                                         <Tool
    306                                                 Name="VCCLCompilerTool"
    307                                         />
    308                                 </FileConfiguration>
    309                         </File>
    310                         <File
    311275                                RelativePath="..\..\src\audio\AudioBuffer.cc"
    312276                                >
  • code/branches/input/visual_studio/vc8/core.vcproj

    r917 r945  
    273273                        >
    274274                        <File
    275                                 RelativePath="..\..\src\orxonox\core\ArgReader.cc"
    276                                 >
    277                         </File>
    278                         <File
    279275                                RelativePath="..\..\src\orxonox\core\BaseObject.cc"
    280276                                >
     
    351347                        >
    352348                        <File
    353                                 RelativePath="..\..\src\orxonox\core\ArgReader.h"
    354                                 >
    355                         </File>
    356                         <File
    357349                                RelativePath="..\..\src\orxonox\core\BaseObject.h"
    358350                                >
  • code/branches/input/visual_studio/vc8/network.vcproj

    r790 r945  
    481481                        </File>
    482482                        <File
    483                                 RelativePath="..\..\src\network\PacketBufferTestExt.cc"
    484                                 >
    485                                 <FileConfiguration
    486                                         Name="Debug|Win32"
    487                                         ExcludedFromBuild="true"
    488                                         >
    489                                         <Tool
    490                                                 Name="VCCLCompilerTool"
    491                                         />
    492                                 </FileConfiguration>
    493                                 <FileConfiguration
    494                                         Name="Release|Win32"
    495                                         ExcludedFromBuild="true"
    496                                         >
    497                                         <Tool
    498                                                 Name="VCCLCompilerTool"
    499                                         />
    500                                 </FileConfiguration>
    501                                 <FileConfiguration
    502                                         Name="Release_SSE|Win32"
    503                                         ExcludedFromBuild="true"
    504                                         >
    505                                         <Tool
    506                                                 Name="VCCLCompilerTool"
    507                                         />
    508                                 </FileConfiguration>
    509                                 <FileConfiguration
    510                                         Name="Release_SSE2|Win32"
    511                                         ExcludedFromBuild="true"
    512                                         >
    513                                         <Tool
    514                                                 Name="VCCLCompilerTool"
    515                                         />
    516                                 </FileConfiguration>
    517                         </File>
    518                         <File
    519483                                RelativePath="..\..\src\network\PacketDecoder.cc"
    520484                                >
  • code/branches/input/visual_studio/vc8/orxonox.vcproj

    r922 r945  
    293293                        </File>
    294294                        <File
    295                                 RelativePath="..\..\src\orxonox\InputManager.cc"
    296                                 >
    297                                 <FileConfiguration
    298                                         Name="Debug|Win32"
    299                                         ExcludedFromBuild="true"
    300                                         >
    301                                         <Tool
    302                                                 Name="VCCLCompilerTool"
    303                                         />
    304                                 </FileConfiguration>
    305                         </File>
    306                         <File
    307295                                RelativePath="..\..\src\orxonox\Main.cc"
    308296                                >
     
    348336                                </FileConfiguration>
    349337                        </File>
    350                         <File
    351                                 RelativePath="..\..\src\orxonox\SpaceshipSteering.cc"
    352                                 >
    353                                 <FileConfiguration
    354                                         Name="Debug|Win32"
    355                                         ExcludedFromBuild="true"
    356                                         >
    357                                         <Tool
    358                                                 Name="VCCLCompilerTool"
    359                                         />
    360                                 </FileConfiguration>
    361                                 <FileConfiguration
    362                                         Name="Release|Win32"
    363                                         ExcludedFromBuild="true"
    364                                         >
    365                                         <Tool
    366                                                 Name="VCCLCompilerTool"
    367                                         />
    368                                 </FileConfiguration>
    369                                 <FileConfiguration
    370                                         Name="Release_SSE|Win32"
    371                                         ExcludedFromBuild="true"
    372                                         >
    373                                         <Tool
    374                                                 Name="VCCLCompilerTool"
    375                                         />
    376                                 </FileConfiguration>
    377                                 <FileConfiguration
    378                                         Name="Release_SSE2|Win32"
    379                                         ExcludedFromBuild="true"
    380                                         >
    381                                         <Tool
    382                                                 Name="VCCLCompilerTool"
    383                                         />
    384                                 </FileConfiguration>
    385                         </File>
    386338                        <Filter
    387339                                Name="hud"
     
    430382                                        RelativePath="..\..\src\orxonox\objects\SpaceShip.cc"
    431383                                        >
    432                                 </File>
    433                                 <File
    434                                         RelativePath="..\..\src\orxonox\objects\SpaceshipSteeringObject.cc"
    435                                         >
    436                                         <FileConfiguration
    437                                                 Name="Debug|Win32"
    438                                                 ExcludedFromBuild="true"
    439                                                 >
    440                                                 <Tool
    441                                                         Name="VCCLCompilerTool"
    442                                                 />
    443                                         </FileConfiguration>
    444                                         <FileConfiguration
    445                                                 Name="Release|Win32"
    446                                                 ExcludedFromBuild="true"
    447                                                 >
    448                                                 <Tool
    449                                                         Name="VCCLCompilerTool"
    450                                                 />
    451                                         </FileConfiguration>
    452                                         <FileConfiguration
    453                                                 Name="Release_SSE|Win32"
    454                                                 ExcludedFromBuild="true"
    455                                                 >
    456                                                 <Tool
    457                                                         Name="VCCLCompilerTool"
    458                                                 />
    459                                         </FileConfiguration>
    460                                         <FileConfiguration
    461                                                 Name="Release_SSE2|Win32"
    462                                                 ExcludedFromBuild="true"
    463                                                 >
    464                                                 <Tool
    465                                                         Name="VCCLCompilerTool"
    466                                                 />
    467                                         </FileConfiguration>
    468                                 </File>
    469                                 <File
    470                                         RelativePath="..\..\src\orxonox\objects\test1.cc"
    471                                         >
    472                                         <FileConfiguration
    473                                                 Name="Debug|Win32"
    474                                                 ExcludedFromBuild="true"
    475                                                 >
    476                                                 <Tool
    477                                                         Name="VCCLCompilerTool"
    478                                                         UsePrecompiledHeader="0"
    479                                                 />
    480                                         </FileConfiguration>
    481                                         <FileConfiguration
    482                                                 Name="Release|Win32"
    483                                                 ExcludedFromBuild="true"
    484                                                 >
    485                                                 <Tool
    486                                                         Name="VCCLCompilerTool"
    487                                                         UsePrecompiledHeader="0"
    488                                                 />
    489                                         </FileConfiguration>
    490                                         <FileConfiguration
    491                                                 Name="Release_SSE|Win32"
    492                                                 ExcludedFromBuild="true"
    493                                                 >
    494                                                 <Tool
    495                                                         Name="VCCLCompilerTool"
    496                                                         UsePrecompiledHeader="0"
    497                                                 />
    498                                         </FileConfiguration>
    499                                         <FileConfiguration
    500                                                 Name="Release_SSE2|Win32"
    501                                                 ExcludedFromBuild="true"
    502                                                 >
    503                                                 <Tool
    504                                                         Name="VCCLCompilerTool"
    505                                                         UsePrecompiledHeader="0"
    506                                                 />
    507                                         </FileConfiguration>
    508                                 </File>
    509                                 <File
    510                                         RelativePath="..\..\src\orxonox\objects\test2.cc"
    511                                         >
    512                                         <FileConfiguration
    513                                                 Name="Debug|Win32"
    514                                                 ExcludedFromBuild="true"
    515                                                 >
    516                                                 <Tool
    517                                                         Name="VCCLCompilerTool"
    518                                                         UsePrecompiledHeader="0"
    519                                                 />
    520                                         </FileConfiguration>
    521                                         <FileConfiguration
    522                                                 Name="Release|Win32"
    523                                                 ExcludedFromBuild="true"
    524                                                 >
    525                                                 <Tool
    526                                                         Name="VCCLCompilerTool"
    527                                                         UsePrecompiledHeader="0"
    528                                                 />
    529                                         </FileConfiguration>
    530                                         <FileConfiguration
    531                                                 Name="Release_SSE|Win32"
    532                                                 ExcludedFromBuild="true"
    533                                                 >
    534                                                 <Tool
    535                                                         Name="VCCLCompilerTool"
    536                                                         UsePrecompiledHeader="0"
    537                                                 />
    538                                         </FileConfiguration>
    539                                         <FileConfiguration
    540                                                 Name="Release_SSE2|Win32"
    541                                                 ExcludedFromBuild="true"
    542                                                 >
    543                                                 <Tool
    544                                                         Name="VCCLCompilerTool"
    545                                                         UsePrecompiledHeader="0"
    546                                                 />
    547                                         </FileConfiguration>
    548                                 </File>
    549                                 <File
    550                                         RelativePath="..\..\src\orxonox\objects\test3.cc"
    551                                         >
    552                                         <FileConfiguration
    553                                                 Name="Debug|Win32"
    554                                                 ExcludedFromBuild="true"
    555                                                 >
    556                                                 <Tool
    557                                                         Name="VCCLCompilerTool"
    558                                                         UsePrecompiledHeader="0"
    559                                                 />
    560                                         </FileConfiguration>
    561                                         <FileConfiguration
    562                                                 Name="Release|Win32"
    563                                                 ExcludedFromBuild="true"
    564                                                 >
    565                                                 <Tool
    566                                                         Name="VCCLCompilerTool"
    567                                                         UsePrecompiledHeader="0"
    568                                                 />
    569                                         </FileConfiguration>
    570                                         <FileConfiguration
    571                                                 Name="Release_SSE|Win32"
    572                                                 ExcludedFromBuild="true"
    573                                                 >
    574                                                 <Tool
    575                                                         Name="VCCLCompilerTool"
    576                                                         UsePrecompiledHeader="0"
    577                                                 />
    578                                         </FileConfiguration>
    579                                         <FileConfiguration
    580                                                 Name="Release_SSE2|Win32"
    581                                                 ExcludedFromBuild="true"
    582                                                 >
    583                                                 <Tool
    584                                                         Name="VCCLCompilerTool"
    585                                                         UsePrecompiledHeader="0"
    586                                                 />
    587                                         </FileConfiguration>
    588384                                </File>
    589385                                <File
     
    671467                        </File>
    672468                        <File
    673                                 RelativePath="..\..\src\orxonox\InputManager.h"
    674                                 >
    675                         </File>
    676                         <File
    677469                                RelativePath="..\..\src\orxonox\Orxonox.h"
    678470                                >
     
    690482                                >
    691483                        </File>
    692                         <File
    693                                 RelativePath="..\..\src\orxonox\SpaceshipSteering.h"
    694                                 >
    695                         </File>
    696484                        <Filter
    697485                                Name="hud"
     
    739527                                <File
    740528                                        RelativePath="..\..\src\orxonox\objects\SpaceShip.h"
    741                                         >
    742                                 </File>
    743                                 <File
    744                                         RelativePath="..\..\src\orxonox\objects\SpaceshipSteeringObject.h"
    745                                         >
    746                                 </File>
    747                                 <File
    748                                         RelativePath="..\..\src\orxonox\objects\Test.h"
    749                                         >
    750                                 </File>
    751                                 <File
    752                                         RelativePath="..\..\src\orxonox\objects\test1.h"
    753                                         >
    754                                 </File>
    755                                 <File
    756                                         RelativePath="..\..\src\orxonox\objects\test2.h"
    757                                         >
    758                                 </File>
    759                                 <File
    760                                         RelativePath="..\..\src\orxonox\objects\test3.h"
    761529                                        >
    762530                                </File>
  • code/branches/input/visual_studio/vc8/util.vcproj

    r917 r945  
    273273                        >
    274274                        <File
     275                                RelativePath="..\..\src\util\ArgReader.cc"
     276                                >
     277                        </File>
     278                        <File
    275279                                RelativePath="..\..\src\util\Math.cc"
    276280                                >
     
    293297                        </File>
    294298                        <File
    295                                 RelativePath="..\..\src\util\substring.cc"
     299                                RelativePath="..\..\src\util\SubString.cc"
    296300                                >
    297301                        </File>
     
    303307                        >
    304308                        <File
     309                                RelativePath="..\..\src\util\ArgReader.h"
     310                                >
     311                        </File>
     312                        <File
    305313                                RelativePath="..\..\src\util\Convert.h"
    306314                                >
     
    339347                        </File>
    340348                        <File
    341                                 RelativePath="..\..\src\util\substring.h"
     349                                RelativePath="..\..\src\util\SubString.h"
    342350                                >
    343351                        </File>
Note: See TracChangeset for help on using the changeset viewer.