Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1265


Ignore:
Timestamp:
May 13, 2008, 5:40:42 PM (16 years ago)
Author:
rgrieder
Message:
  • filled initialiser list of SpaceShip
  • adapted VS files in order to link network statically (circular depend.)
Location:
code/branches/merge
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/merge/src/network/GameStateManager.cc

    r1264 r1265  
    442442    }
    443443    COUT(4) << std::endl;
     444    return true;
    444445  }
    445446 
  • code/branches/merge/src/orxonox/objects/SpaceShip.cc

    r1264 r1265  
    6464    SpaceShip* SpaceShip::instance_s;
    6565
    66     SpaceShip::SpaceShip()
     66    SpaceShip::SpaceShip() :
     67      //testvector_(0,0,0),
     68      //bInvertYAxis_(false),
     69      setMouseEventCallback_(false),
     70      bLMousePressed_(false),
     71      bRMousePressed_(false),
     72      camNode_(0),
     73      cam_(0),
     74      camName_("CamNode"),
     75      tt_(0),
     76      greenNode_(0),
     77      redNode_(0),
     78      blinkTime_(0.0f),
     79      chNearNode_(0),
     80      chFarNode_(0),
     81      timeToReload_(0.0f),
     82      //reloadTime_(0.0f),
     83      maxSideAndBackSpeed_(0.0f),
     84      maxSpeed_(0.0f),
     85      maxRotation_(0.0f),
     86      translationAcceleration_(0.0f),
     87      rotationAcceleration_(0.0f),
     88      translationDamping_(0.0f),
     89      rotationDamping_(0.0f),
     90      maxRotationRadian_(0),
     91      rotationAccelerationRadian_(0),
     92      rotationDampingRadian_(0),
     93      zeroRadian_(0),
     94      mouseXRotation_(0),
     95      mouseYRotation_(0),
     96      mouseX_(0.0f),
     97      mouseY_(0.0f),
     98      emitterRate_(0.0f),
     99      server_(false)
    67100    {
    68101        RegisterObject(SpaceShip);
     
    73106        this->setConfigValues();
    74107
    75         this->setMouseEventCallback_ = false;
    76         this->bLMousePressed_ = false;
    77         this->bRMousePressed_ = false;
    78         this->mouseX_ = 0;
    79         this->mouseY_ = 0;
    80 
    81         this->camNode_ = 0;
    82         this->camName_ = "camNode";
    83 
    84         this->tt_ = 0;
    85         this->redNode_ = 0;
    86         this->greenNode_ = 0;
    87         this->blinkTime_ = 0;
    88 
    89         this->timeToReload_ = 0;
    90 
    91         this->maxSpeed_ = 0;
    92         this->maxSideAndBackSpeed_ = 0;
    93         this->maxRotation_ = 0;
    94         this->translationAcceleration_ = 0;
    95         this->rotationAcceleration_ = 0;
    96         this->translationDamping_ = 0;
    97         this->rotationDamping_ = 0;
    98 
    99         this->maxRotationRadian_ = 0;
    100         this->rotationAccelerationRadian_ = 0;
    101         this->rotationDampingRadian_ = 0;
    102         this->zeroRadian_ = Radian(0);
    103 
    104108        this->setRotationAxis(1, 0, 0);
    105109        this->setStatic(false);
    106 
    107         server_=false;
    108 
    109110
    110111        COUT(3) << "Info: SpaceShip was loaded" << std::endl;
  • code/branches/merge/visual_studio/network_properties.vsprops

    r1084 r1265  
    88        <Tool
    99                Name="VCCLCompilerTool"
    10                 PreprocessorDefinitions="NETWORK_SHARED_BUILD;WIN32_LEAN_AND_MEAN"
     10                PreprocessorDefinitions="NETWORK_STATIC_BUILD;WIN32_LEAN_AND_MEAN"
    1111        />
    1212        <Tool
  • code/branches/merge/visual_studio/orxonox_properties.vsprops

    r1223 r1265  
    88        <Tool
    99                Name="VCCLCompilerTool"
    10                 PreprocessorDefinitions="ORXONOX_SHARED_BUILD"
     10                PreprocessorDefinitions="ORXONOX_SHARED_BUILD;NETWORK_STATIC_BUILD"
    1111                UsePrecompiledHeader="2"
    1212                PrecompiledHeaderThrough="OrxonoxStableHeaders.h"
     
    1414        <Tool
    1515                Name="VCLinkerTool"
    16                 AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib"
     16                AdditionalDependencies="OgreMain$(CSS).lib tcl85t.lib enet$(CS).lib zlib$(CS).lib"
    1717                OutputFile="$(OutDir)$(ProjectName)$(CS).exe"
    18                 IgnoreDefaultLibraryNames=""
     18                IgnoreDefaultLibraryNames="LIBCMT;LIBCMTD"
    1919        />
    2020</VisualStudioPropertySheet>
  • code/branches/merge/visual_studio/vc8/network.vcproj

    r1064 r1265  
    1818                <Configuration
    1919                        Name="Debug|Win32"
    20                         ConfigurationType="2"
     20                        ConfigurationType="4"
    2121                        InheritedPropertySheets="$(SolutionDir)base_properties_debug.vsprops;..\network_properties.vsprops"
    2222                        CharacterSet="1"
     
    5050                        />
    5151                        <Tool
    52                                 Name="VCLinkerTool"
     52                                Name="VCLibrarianTool"
    5353                        />
    5454                        <Tool
     
    5656                        />
    5757                        <Tool
    58                                 Name="VCManifestTool"
    59                         />
    60                         <Tool
    6158                                Name="VCXDCMakeTool"
    6259                        />
     
    6663                        <Tool
    6764                                Name="VCFxCopTool"
    68                         />
    69                         <Tool
    70                                 Name="VCAppVerifierTool"
    71                         />
    72                         <Tool
    73                                 Name="VCWebDeploymentTool"
    7465                        />
    7566                        <Tool
  • code/branches/merge/visual_studio/vc8/orxonox.vcproj

    r1219 r1265  
    204204                                </File>
    205205                                <File
     206                                        RelativePath="..\..\src\orxonox\objects\CameraHandler.cc"
     207                                        >
     208                                </File>
     209                                <File
    206210                                        RelativePath="..\..\src\orxonox\objects\Explosion.cc"
    207211                                        >
     
    459463                                <File
    460464                                        RelativePath="..\..\src\orxonox\objects\Camera.h"
     465                                        >
     466                                </File>
     467                                <File
     468                                        RelativePath="..\..\src\orxonox\objects\CameraHandler.h"
    461469                                        >
    462470                                </File>
Note: See TracChangeset for help on using the changeset viewer.