All pastes #616156 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-12 14:08 UTC
rendered paste body
	while(!msg_badread)
	{
                char *s;
                s = MSG_ReadStringLine();
		Cmd_TokenizeString(s);
                Con_Printf("%s tokenized to: \"%s\" \"%s\"\n", s, Cmd_Argv(0), Cmd_Argv(1));
                Con_Printf("vals: %i %i\n", Q_atoi(Cmd_Argv(0)), Q_atoi(Cmd_Argv(1)));
		switch(Q_atoi(Cmd_Argv(0)))
		{
		case PROTOCOL_VERSION_FTE:
			protextsupported = Q_atoi(Cmd_Argv(1));
			Con_Printf("Client supports 0x%x fte extensions\n", protextsupported);
			break;
                default:
                        Con_Printf("Client supports unrecognised extensions\n");
                        break;
		}
	}