Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Camera:

  • Added new ViewMode ViewFPS

FPSPlayer:

  • fixed crosshair bug

FPSPlayer/KeyMapper/Globals:

  • started to implement crouch function
File:
1 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  }
Note: See TracChangeset for help on using the changeset viewer.