Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10698 in orxonox.OLD for trunk/src/world_entities/tools


Ignore:
Timestamp:
Jun 14, 2007, 5:33:43 PM (17 years ago)
Author:
snellen
Message:

merged adm, hud, vs-enhancements : beni's responsible for this commit. blame him!

Location:
trunk/src/world_entities/tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/tools/camera.cc

    r10618 r10698  
    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);
     213      break;
     214    }
     215    case Camera::ViewFPSZoom:
     216    {
     217      this->fovy = viewNormalFovy;
     218      this->toFovy = 30;
     219      this->setRelCoorSoft(2, 0, 0, 5);
     220      this->target->setRelCoorSoft(Vector(10,0,0), 5);
    205221    }
    206222  }
  • trunk/src/world_entities/tools/camera.h

    r10618 r10698  
    3434    ViewLeft,
    3535    ViewRight,
    36     ViewTop
     36    ViewTop,
     37    ViewFPS,
     38    ViewFPSZoom
    3739  };
    3840  public:
  • trunk/src/world_entities/tools/mount_point.cc

    r10618 r10698  
    2222
    2323#include "weapons/weapon_slot.h"
     24#include "weapons/weapon.h"
    2425
    2526#include "particles/particle_system.h"
     
    3637 * construct
    3738 */
    38 MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name)
     39MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center,  const std::string& name)
    3940{
    4041//   PRINTF(0)("Created mount point %s\n", name.c_str());
     
    153154                                    this->getRelDir()*Quaternion(M_PI, Vector(0,1,0)));
    154155    }
     156
    155157  }
    156158}
Note: See TracChangeset for help on using the changeset viewer.