FG_USING_STD(deque);
FG_USING_STD(vector);
+FG_USING_NAMESPACE(std);
+
#ifndef WIN32
typedef struct {
class fgText {
private:
- char msg[32];
float x, y;
+ char msg[32];
public:
- fgText( char *c = NULL, float x = 0, float y =0 )
- : x(x), y(y) {strncpy(msg,c,32-1);}
-
fgText( float x = 0, float y = 0, char *c = NULL )
: x(x), y(y) {strncpy(msg,c,32-1);}
}
void TextString( char *msg, float x, float y )
{
- HUD_TextList.add(fgText(msg, x, y));
+ HUD_TextList.add(fgText(x, y, msg));
}
int getStringWidth ( char *str )
{