Revision 1378,
663 bytes
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Rev | Line | |
---|
[1378] | 1 | #pragma once
|
---|
| 2 | #include "renderer.h"
|
---|
| 3 | #include <sstream>
|
---|
| 4 |
|
---|
| 5 | class HUDRenderer :
|
---|
| 6 | public Renderer
|
---|
| 7 | {
|
---|
| 8 | public:
|
---|
| 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);
|
---|
| 20 | private:
|
---|
| 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.