iw4x-client/iw4/Components/Colors.hpp

18 lines
435 B
C++
Raw Normal View History

2015-12-23 08:45:53 -05:00
#define Q_IsColorString( p ) ( ( p ) && *( p ) == '^' && *( ( p ) + 1 ) && isdigit( *( ( p ) + 1 ) ) ) // ^[0-9]
namespace Components
{
class Colors : public Component
{
public:
Colors();
const char* GetName() { return "Colors"; };
static void ClientUserinfoChanged(int length);
static char* CL_GetClientName(int a1, int a2, char* buffer, size_t _length);
static void Strip(const char* in, char* out, int max);
};
}