/** Sets drawing flags for the CECHO command. */ static void COM_CEchoFlags_f(void) { if (COM_Argc() > 1) { const char *arg = COM_Argv(1); if (arg[0] && arg[0] == '0' && arg[1] && arg[1] == 'x') // Use hexadecimal! HU_SetCEchoFlags(axtoi(arg+2)); else HU_SetCEchoFlags(atoi(arg)); } else CONS_Printf(M_GetText("cechoflags <flags>: set CEcho flags, prepend with 0x to use hexadecimal\n")); }
/** Sets drawing flags for the CECHO command. */ static void COM_CEchoFlags_f(void) { if (COM_Argc() > 1) HU_SetCEchoFlags(atoi(COM_Argv(1))); }