Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 6, 2009, 1:59:00 AM (15 years ago)
Author:
landauf
Message:

Merged gui branch back to trunk.

I did 2 small changes in IngameManager.cc on line 777 and 888 (yes, really), because const_reverse_iterator strangely doesn't work on MinGW.

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/objects/worldentities/ControllableEntity.cc

    r2851 r2896  
    3434#include "core/CoreIncludes.h"
    3535#include "core/ConfigValueIncludes.h"
    36 #include "core/Core.h"
     36#include "core/GameMode.h"
    3737#include "core/XMLPort.h"
    3838#include "core/Template.h"
     
    245245            this->startLocalHumanControl();
    246246
    247             if (!Core::isMaster())
     247            if (!GameMode::isMaster())
    248248            {
    249249                this->client_overwrite_ = this->server_overwrite_;
     
    357357            if (!this->isDynamic())
    358358            {
    359                 if (Core::isMaster())
     359                if (GameMode::isMaster())
    360360                {
    361361                    this->server_position_ = this->getPosition();
     
    472472    void ControllableEntity::setPosition(const Vector3& position)
    473473    {
    474         if (Core::isMaster())
     474        if (GameMode::isMaster())
    475475        {
    476476            MobileEntity::setPosition(position);
     
    487487    void ControllableEntity::setOrientation(const Quaternion& orientation)
    488488    {
    489         if (Core::isMaster())
     489        if (GameMode::isMaster())
    490490        {
    491491            MobileEntity::setOrientation(orientation);
     
    502502    void ControllableEntity::setVelocity(const Vector3& velocity)
    503503    {
    504         if (Core::isMaster())
     504        if (GameMode::isMaster())
    505505        {
    506506            MobileEntity::setVelocity(velocity);
     
    517517    void ControllableEntity::setAngularVelocity(const Vector3& velocity)
    518518    {
    519         if (Core::isMaster())
     519        if (GameMode::isMaster())
    520520        {
    521521            MobileEntity::setAngularVelocity(velocity);
     
    533533    {
    534534        MobileEntity::setWorldTransform(worldTrans);
    535         if (Core::isMaster())
     535        if (GameMode::isMaster())
    536536        {
    537537            this->server_position_ = this->getPosition();
Note: See TracChangeset for help on using the changeset viewer.