Changeset 1609 for code/branches/hud/src/util
- Timestamp:
- Jun 17, 2008, 11:38:23 PM (16 years ago)
- Location:
- code/branches/hud/src/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hud/src/util/Math.cc
r1566 r1609 30 30 31 31 #include "Math.h" 32 #include "Convert.h" 32 33 33 34 /** … … 123 124 return (targetposition + targetvelocity * time); 124 125 } 126 127 unsigned long getUniqueNumber() 128 { 129 static unsigned long aNumber = 135; 130 return aNumber++; 131 } 132 133 std::string getUniqueNumberStr() 134 { 135 return convertToString(getUniqueNumber()); 136 } -
code/branches/hud/src/util/Math.h
r1588 r1609 33 33 34 34 #include <ostream> 35 #include <string> 35 36 36 37 #include <OgreMath.h> … … 163 164 } 164 165 166 _UtilExport unsigned long getUniqueNumber(); 167 _UtilExport std::string getUniqueNumberStr(); 168 165 169 class _UtilExport IntVector2 166 170 { -
code/branches/hud/src/util/UtilPrereqs.h
r1505 r1609 61 61 //----------------------------------------------------------------------- 62 62 class ArgReader; 63 class Convert;64 63 class MultiTypePrimitive; 65 64 class MultiTypeString;
Note: See TracChangeset
for help on using the changeset viewer.