2016-06-04 15:24:23 +02: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.
|
|
|
|
*
|
|
|
|
****/
|
|
|
|
//
|
|
|
|
// cl_dll.h
|
|
|
|
//
|
|
|
|
|
|
|
|
// 4-23-98 JOHN
|
|
|
|
|
|
|
|
//
|
|
|
|
// This DLL is linked by the client when they first initialize.
|
|
|
|
// This DLL is responsible for the following tasks:
|
|
|
|
// - Loading the HUD graphics upon initialization
|
|
|
|
// - Drawing the HUD graphics every frame
|
|
|
|
// - Handling the custum HUD-update packets
|
|
|
|
//
|
2017-12-10 21:40:41 +01:00
|
|
|
#pragma once
|
2021-06-20 00:53:07 +02:00
|
|
|
#if !defined(CL_DLL_H)
|
2017-12-03 21:52:35 +01:00
|
|
|
#define CL_DLL_H
|
2023-10-31 21:49:55 +01:00
|
|
|
#include "build.h"
|
2016-06-04 15:24:23 +02:00
|
|
|
typedef unsigned char byte;
|
|
|
|
typedef unsigned short word;
|
|
|
|
typedef float vec_t;
|
2020-02-12 09:34:05 +01:00
|
|
|
// redefine
|
|
|
|
//typedef int ( *pfnUserMsgHook )( const char *pszName, int iSize, void *pbuf );
|
2016-06-04 15:24:23 +02:00
|
|
|
|
|
|
|
#include "util_vector.h"
|
|
|
|
|
|
|
|
#include "../engine/cdll_int.h"
|
|
|
|
#include "../dlls/cdll_dll.h"
|
|
|
|
|
2023-10-31 21:25:07 +01:00
|
|
|
#if !XASH_WIN32
|
2016-06-04 15:24:23 +02:00
|
|
|
#define _cdecl
|
|
|
|
#endif
|
|
|
|
#include "exportdef.h"
|
|
|
|
#include <string.h>
|
2020-02-12 09:34:05 +01:00
|
|
|
#if HAVE_CMATH
|
|
|
|
#include <cmath>
|
|
|
|
#else
|
|
|
|
#include <math.h>
|
|
|
|
#endif
|
2017-07-14 17:34:44 +02:00
|
|
|
|
2016-06-04 15:24:23 +02:00
|
|
|
extern cl_enginefunc_t gEngfuncs;
|
|
|
|
#include "../engine/mobility_int.h"
|
|
|
|
extern mobile_engfuncs_t *gMobileEngfuncs;
|
2017-12-03 21:52:35 +01:00
|
|
|
#endif
|