Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 11, 2008, 12:21:42 AM (16 years ago)
Author:
rgrieder
Message:
  • added XML loadable HUD
  • Radar and navi are not yet done
  • explanations follow with when things are finished
Location:
code/branches/hud/src/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/util/Convert.h

    r1505 r1588  
    298298    }
    299299};
     300
     301// convert to string Shortcut
     302template <class FromType>
     303std::string convertToString(FromType value)
     304{
     305  return getConvertedValue<FromType, std::string>(value);
     306}
    300307
    301308// convert from string
  • code/branches/hud/src/util/Math.h

    r1566 r1588  
    3939#include <OgreVector4.h>
    4040#include <OgreMatrix3.h>
     41#include <OgreMatrix4.h>
    4142#include <OgreQuaternion.h>
    4243#include <OgreColourValue.h>
     
    5051  typedef Ogre::Vector4 Vector4;
    5152  typedef Ogre::Matrix3 Matrix3;
     53  typedef Ogre::Matrix4 Matrix4;
    5254  typedef Ogre::Quaternion Quaternion;
    5355  typedef Ogre::ColourValue ColourValue;
Note: See TracChangeset for help on using the changeset viewer.