Add Cstrike PM from cs16nd
This commit is contained in:
parent
7792a1dd0b
commit
9b1b09e45e
|
@ -41,7 +41,7 @@ static int PM_boxpnt[6][4] =
|
|||
{ 7, 6, 4, 5 }, // -Z
|
||||
};
|
||||
|
||||
void PM_ShowClipBox( void )
|
||||
void PM_ShowClipBox(void)
|
||||
{
|
||||
#if defined( _DEBUG )
|
||||
vec3_t org;
|
||||
|
@ -274,7 +274,7 @@ Shows particles at that entities bbox
|
|||
Tries to shoot a ray out by about 128 units.
|
||||
================
|
||||
*/
|
||||
void PM_ViewEntity( void )
|
||||
void PM_ViewEntity(void)
|
||||
{
|
||||
vec3_t forward, right, up;
|
||||
float raydist = 256.0f;
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
#endif /* not __MINGW32__ */
|
||||
#endif
|
||||
|
||||
void PM_ViewEntity( void );
|
||||
void PM_ViewEntity(void);
|
||||
void PM_DrawBBox(vec3_t mins, vec3_t maxs, vec3_t origin, int pcolor, float life);
|
||||
void PM_ParticleLine(vec3_t start, vec3_t end, int pcolor, float life, float vert);
|
||||
void PM_ShowClipBox( void );
|
||||
void PM_ShowClipBox(void);
|
||||
|
||||
#endif // PMOVEDBG_H
|
||||
|
|
|
@ -193,7 +193,7 @@ typedef struct playermove_s
|
|||
void (*Con_NPrintf)( int idx, char *fmt, ... );
|
||||
void (*Con_DPrintf)( char *fmt, ... );
|
||||
void (*Con_Printf)( char *fmt, ... );
|
||||
double (*Sys_FloatTime)( void );
|
||||
double (*Sys_FloatTime)(void);
|
||||
void (*PM_StuckTouch)( int hitent, pmtrace_t *ptraceresult );
|
||||
int (*PM_PointContents) (float *p, int *truecontents /*filled in if this is non-null*/ );
|
||||
int (*PM_TruePointContents) (float *p);
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
/***
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* 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
|
||||
|
@ -12,26 +12,27 @@
|
|||
* without written permission from Valve LLC.
|
||||
*
|
||||
****/
|
||||
#if !defined( PM_MATERIALSH )
|
||||
#if !defined(PM_MATERIALSH)
|
||||
#define PM_MATERIALSH
|
||||
#ifdef _WIN32
|
||||
#ifndef __MINGW32__
|
||||
#pragma once
|
||||
#endif /* not __MINGW32__ */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define CBTEXTURENAMEMAX 13 // only load first n chars of name
|
||||
#define CBTEXTURENAMEMAX 17
|
||||
|
||||
#define CHAR_TEX_CONCRETE 'C' // texture types
|
||||
#define CHAR_TEX_METAL 'M'
|
||||
#define CHAR_TEX_DIRT 'D'
|
||||
#define CHAR_TEX_VENT 'V'
|
||||
#define CHAR_TEX_GRATE 'G'
|
||||
#define CHAR_TEX_TILE 'T'
|
||||
#define CHAR_TEX_SLOSH 'S'
|
||||
#define CHAR_TEX_WOOD 'W'
|
||||
#define CHAR_TEX_COMPUTER 'P'
|
||||
#define CHAR_TEX_GLASS 'Y'
|
||||
#define CHAR_TEX_FLESH 'F'
|
||||
#define CHAR_TEX_CONCRETE 'C'
|
||||
#define CHAR_TEX_METAL 'M'
|
||||
#define CHAR_TEX_DIRT 'D'
|
||||
#define CHAR_TEX_VENT 'V'
|
||||
#define CHAR_TEX_GRATE 'G'
|
||||
#define CHAR_TEX_TILE 'T'
|
||||
#define CHAR_TEX_SLOSH 'S'
|
||||
#define CHAR_TEX_WOOD 'W'
|
||||
#define CHAR_TEX_COMPUTER 'P'
|
||||
#define CHAR_TEX_GLASS 'Y'
|
||||
#define CHAR_TEX_FLESH 'F'
|
||||
#define CHAR_TEX_SNOW 'N'
|
||||
|
||||
#endif // !PM_MATERIALSH
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue