Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10647 in orxonox.OLD for branches/hud/src/world_entities/tools


Ignore:
Timestamp:
May 3, 2007, 4:54:42 PM (18 years ago)
Author:
bknecht
Message:

Camera:

  • Added new ViewMode ViewFPS

FPSPlayer:

  • fixed crosshair bug

FPSPlayer/KeyMapper/Globals:

  • started to implement crouch function
Location:
branches/hud/src/world_entities/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/hud/src/world_entities/tools/camera.cc

    r10618 r10647  
    203203      this->setRelCoor(Vector(-0.05, this->viewTopDistance , 0));
    204204      this->target->setRelCoor(0,0,0);
     205      break;
     206    }
     207    case Camera::ViewFPS:
     208    {
     209      this->fovy = viewNormalFovy;
     210      this->toFovy = viewNormalFovy;
     211      this->setRelCoorSoft(this->viewFrontDistance, 0, 0, 5);
     212      this->target->setRelCoorSoft(Vector(10,0,0), 5);
    205213    }
    206214  }
  • branches/hud/src/world_entities/tools/camera.h

    r10618 r10647  
    3434    ViewLeft,
    3535    ViewRight,
    36     ViewTop
     36    ViewTop,
     37    ViewFPS
    3738  };
    3839  public:
Note: See TracChangeset for help on using the changeset viewer.