mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-21 21:16:22 +02:00
Quake 4 integrated with DoomRTX
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//----------------------------------------------------------------
|
||||
// Icon.h
|
||||
//
|
||||
// Copyright 2002-2004 Raven Software
|
||||
//----------------------------------------------------------------
|
||||
|
||||
#ifndef __ICON_H__
|
||||
#define __ICON_H__
|
||||
|
||||
class rvIcon {
|
||||
public:
|
||||
rvIcon();
|
||||
~rvIcon();
|
||||
void UpdateIcon( const idVec3 &origin, const idMat3 &axis );
|
||||
qhandle_t CreateIcon( const char *mtr, int suppressViewID = 0 );
|
||||
void FreeIcon( void );
|
||||
qhandle_t GetHandle( void ) const;
|
||||
|
||||
int GetHeight( void ) const;
|
||||
int GetWidth( void ) const;
|
||||
private:
|
||||
void Draw( jointHandle_t joint );
|
||||
void Draw( const idVec3 &origin );
|
||||
|
||||
renderEntity_t renderEnt;
|
||||
qhandle_t iconHandle;
|
||||
};
|
||||
|
||||
ID_INLINE qhandle_t rvIcon::GetHandle( void ) const {
|
||||
return iconHandle;
|
||||
}
|
||||
|
||||
#endif /* !_ICON_H_ */
|
||||
|
||||
Reference in New Issue
Block a user