NS/dev/3.2-movements/source/mod/AvHClientUtil.h
tankefugl 1d385ec5bf o Created branch for movement codes
- added +attack2
- fade blink reworked
- onos charge reworked

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@348 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-11-14 20:18:27 +00:00

42 lines
1.7 KiB
C

//======== (C) Copyright 2002 Charles G. Cleveland All rights reserved. =========
//
// The copyright to the contents herein is the property of Charles G. Cleveland.
// The contents may be used and/or copied only with the written permission of
// Charles G. Cleveland, or in accordance with the terms and conditions stipulated in
// the agreement/contract under which the contents have been supplied.
//
// Purpose:
//
// $Workfile: AvHClientUtil.h $
// $Date: 2002/07/23 16:59:41 $
//
//-------------------------------------------------------------------------------
// $Log: AvHClientUtil.h,v $
// Revision 1.3 2002/07/23 16:59:41 Flayra
// - AvHCUWorldToScreen now returns true if the position is in front of player
//
// Revision 1.2 2002/05/23 02:34:00 Flayra
// - Post-crash checkin. Restored @Backup from around 4/16. Contains changes for last four weeks of development.
//
//===============================================================================
#ifndef AVH_CLIENTUTIL_H
#define AVH_CLIENTUTIL_H
#include "cl_dll/wrect.h"
#include "cl_dll/cl_dll.h"
#include "cl_dll/ammo.h"
#include "cl_dll/chudmisc.h"
#include "util/nowarnings.h"
#include "common/cl_entity.h"
#include "mod/AvHConstants.h"
#include "mod/AvHMessage.h"
#include "mod/AvHSpecials.h"
int AvHCUGetIconHeightForPlayer(AvHUser3 theUser3);
void AvHCUGetViewAngles(cl_entity_t* inEntity, float* outViewAngles);
void AvHCUGetViewOrigin(cl_entity_t* inEntity, float* outViewOrigin);
bool AvHCUWorldToScreen(float* inWorldCoords, float* outScreenCoords);
bool AvHCUGetIsEntityInPVSAndVisible(int inEntityIndex);
void AvHCUTrimExtraneousLocationText(string& ioTranslatedString);
#endif