Fri, 15 Mar 2013 20:11:18 +0200
Initial commit
0 | 1 | #ifndef __MISC_H__ |
2 | #define __MISC_H__ | |
3 | ||
4 | #include "common.h" | |
5 | #include "str.h" | |
6 | ||
7 | inline str GetWord (str& zString, ulong ulIndex) { | |
8 | return (zString / " ")[ulIndex]; | |
9 | } | |
10 | ||
11 | double GetWordFloat (str& s, int n); | |
12 | long GetWordInt (str& s, int n); | |
13 | vertex ParseVertex (str& s, int n); | |
14 | void StripWhitespace (str& s); | |
15 | ||
16 | #endif // __MISC_H__ |