Sat, 16 Mar 2013 14:21:31 +0200
Added pointer serializing so I can keep track of all LDObject* members. This way I can replace them all properly when needed.
#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); // Float to string str ftoa (double fCoord); #endif // __MISC_H__