source: GTP/trunk/App/Games/Jungle_Rumble/src/HUDRenderer.h @ 1378

Revision 1378, 663 bytes checked in by giegl, 18 years ago (diff)

GTPD - Jungle Rumble - integrate into GTP SVN structure

Line 
1#pragma once
2#include "renderer.h"
3#include <sstream>
4
5class HUDRenderer :
6        public Renderer
7{
8public:
9        HUDRenderer(void);
10        ~HUDRenderer(void);
11
12        virtual void init();
13        virtual void render();
14       
15        virtual void OnLostDevice( void* pUserContext );
16        virtual void OnDestroyDevice( void* pUserContext );
17        virtual HRESULT OnResetDevice( IDirect3DDevice9* pd3dDevice, const D3DSURFACE_DESC* pBackBufferSurfaceDesc, void* pUserContext );
18
19        virtual bool isLowerThan(Renderer* renderer);
20private:
21        LPD3DXFONT myFont;
22        D3DCOLOR fontColor;
23        RECT textRectangle;
24        RECT timeRectangle;
25        RECT ammoRectangle;
26        RECT helpRectangle;
27
28        LPD3DXSPRITE sprite;
29};
Note: See TracBrowser for help on using the repository browser.