Sat, 16 Mar 2013 03:12:31 +0200
oops, forgot the new dialog files out
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 | ||
13
3955ff2a7d72
Added logf function to write to message log. Write warnings of unparsable files into the message log.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
0
diff
changeset
|
11 | double GetWordFloat (str& s, const ushort n); |
3955ff2a7d72
Added logf function to write to message log. Write warnings of unparsable files into the message log.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
0
diff
changeset
|
12 | long GetWordInt (str& s, const ushort n); |
3955ff2a7d72
Added logf function to write to message log. Write warnings of unparsable files into the message log.
Santeri Piippo <crimsondusk64@gmail.com>
parents:
0
diff
changeset
|
13 | vertex ParseVertex (str& s, const ushort n); |
0 | 14 | void StripWhitespace (str& s); |
15 | ||
16 | #endif // __MISC_H__ |