ns/releases/3.04/source/pm_shared/pm_debug.h

39 lines
1.2 KiB
C
Raw Normal View History

/***
*
* 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