Sat, 16 Mar 2013 03:11:19 +0200
this thing got its own reinterpret_cast now. :P Added SetContents action for altering an object by contents and reinterpreting it.
#ifndef __MISC_H__ #define __MISC_H__ #include "common.h" #include "str.h" inline str GetWord (str& zString, ulong ulIndex) { return (zString / " ")[ulIndex]; } double GetWordFloat (str& s, const ushort n); long GetWordInt (str& s, const ushort n); vertex ParseVertex (str& s, const ushort n); void StripWhitespace (str& s); #endif // __MISC_H__