2
0
mirror of https://github.com/rehlds/metamod-r.git synced 2025-01-03 18:45:36 +03:00
metamod-r/sdk/common/con_nprint.h

41 lines
1023 B
C
Raw Normal View History

2016-07-04 09:07:29 +03:00
/***
*
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object code is restricted to non-commercial enhancements to products from
* Valve LLC. All other use, distribution, or modification is prohibited
* without written permission from Valve LLC.
*
****/
#if !defined( CON_NPRINTH )
#define CON_NPRINTH
#ifdef _WIN32
#ifndef __MINGW32__
#pragma once
#endif /* not __MINGW32__ */
#endif
2016-07-04 10:11:20 +03:00
#ifdef __cplusplus
extern "C" {
#endif
2016-07-04 09:07:29 +03:00
typedef struct con_nprint_s
{
int index; // Row #
float time_to_live; // # of seconds before it dissappears
float color[ 3 ]; // RGB colors ( 0.0 -> 1.0 scale )
} con_nprint_t;
void Con_NPrintf( int idx, char *fmt, ... );
void Con_NXPrintf( struct con_nprint_s *info, char *fmt, ... );
2016-07-04 10:11:20 +03:00
#ifdef __cplusplus
}
#endif
2016-07-04 09:07:29 +03:00
#endif