sqwarmed/sdk_src/public/con_nprint.h

32 lines
1.0 KiB
C
Raw Normal View History

2024-08-29 19:18:30 -04:00
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Debug overlay / notfication printing
//
//=============================================================================//
#ifndef CON_NPRINT_H
#define CON_NPRINT_H
#ifdef _WIN32
#pragma once
#endif
//-----------------------------------------------------------------------------
// Purpose: Debug overlay / notfication printing
// NOTE: Structure cannot be changed by mods
//-----------------------------------------------------------------------------
typedef struct con_nprint_s
{
int index; // Row #
float time_to_live; // # of seconds before it disappears. -1 means to display for 1 frame then go away.
float color[ 3 ]; // RGB colors ( 0.0 -> 1.0 scale )
bool fixed_width_font;
} con_nprint_t;
// Print string on line idx
void Con_NPrintf( int idx, const char *fmt, ... );
// Customized printout
void Con_NXPrintf( const con_nprint_t *info, const char *fmt, ... );
#endif // CON_NPRINT_H