Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 17, 2008, 11:38:23 PM (16 years ago)
Author:
rgrieder
Message:

svn save, just in case…
(doesn't compile at all!)

Location:
code/branches/hud/src/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/util/Math.cc

    r1566 r1609  
    3030
    3131#include "Math.h"
     32#include "Convert.h"
    3233
    3334/**
     
    123124    return (targetposition + targetvelocity * time);
    124125}
     126
     127unsigned long getUniqueNumber()
     128{
     129    static unsigned long aNumber = 135;
     130    return aNumber++;
     131}
     132
     133std::string getUniqueNumberStr()
     134{
     135    return convertToString(getUniqueNumber());
     136}
  • code/branches/hud/src/util/Math.h

    r1588 r1609  
    3333
    3434#include <ostream>
     35#include <string>
    3536
    3637#include <OgreMath.h>
     
    163164}
    164165
     166_UtilExport unsigned long getUniqueNumber();
     167_UtilExport std::string getUniqueNumberStr();
     168
    165169class _UtilExport IntVector2
    166170{
  • code/branches/hud/src/util/UtilPrereqs.h

    r1505 r1609  
    6161//-----------------------------------------------------------------------
    6262class ArgReader;
    63 class Convert;
    6463class MultiTypePrimitive;
    6564class MultiTypeString;
Note: See TracChangeset for help on using the changeset viewer.