NS/releases/3.1/source/pm_shared/pm_debug.h
tankefugl ad7db200f6 made a copy
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@280 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-07-14 18:13:23 +00:00

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