misc.h

Sat, 16 Mar 2013 03:12:31 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Sat, 16 Mar 2013 03:12:31 +0200
changeset 15
a78ccb3976b6
parent 13
3955ff2a7d72
child 18
a6732098fed8
permissions
-rw-r--r--

oops, forgot the new dialog files out

#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__

mercurial