mirror of
https://github.com/ENSL/NS.git
synced 2024-12-13 06:00:49 +00:00
8ec7b4bf0b
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@352 67975925-1194-0748-b3d5-c16f83f1a3a1
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
/***
|
|
*
|
|
* Copyright (c) 1999, 2000, 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.
|
|
*
|
|
****/
|
|
#ifndef PM_DEBUG_H
|
|
#define PM_DEBUG_H
|
|
#pragma once
|
|
|
|
#include "types.h"
|
|
|
|
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 );
|
|
|
|
class DebugPoint
|
|
{
|
|
public:
|
|
DebugPoint() :x(0), y(0), z(0), mSize(5) { };
|
|
DebugPoint(float inX, float inY, float inZ, int inSize = 5) : x(inX), y(inY), z(inZ), mSize(inSize) {}
|
|
float x, y, z;
|
|
int mSize;
|
|
};
|
|
|
|
typedef vector< DebugPoint > DebugPointListType;
|
|
typedef vector<int> DebugEntityListType;
|
|
|
|
#endif // PMOVEDBG_H
|