FG_USING_STD(deque);
FG_USING_STD(vector);
-FG_USING_NAMESPACE(std);
#ifndef WIN32
typedef struct {
class fgText {
private:
- float x, y;
char msg[32];
+ float x, y;
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(x, y, msg));
+ HUD_TextList.add(fgText(msg, x, y));
}
int getStringWidth ( char *str )
{