~brzeti/obscure/trunk

« back to all changes in this revision

Viewing changes to src/chud.h

  • Committer: Arthur Skonecki
  • Date: 2008-12-01 19:46:23 UTC
  • Revision ID: admin@adb.cba.pl-20081201194623-zlv6oqx1cg46ytmf
added readme.src.txt file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CHUD_H
 
2
#define CHUD_H
 
3
 
 
4
#include <allegro.h>
 
5
#include <stdlib.h>
 
6
#include "cplayer.h"
 
7
#include "Define.h"
 
8
 
 
9
/**
 
10
        @author Adam <adam@cvops>
 
11
*/
 
12
class CHud{
 
13
 
 
14
private:
 
15
        int Height;
 
16
        RGB* rgb;
 
17
        BITMAP* imgbar; 
 
18
        CPlayer* player;
 
19
        
 
20
public:
 
21
        CHud(CPlayer*);
 
22
        ~CHud();        
 
23
        void OnRender(BITMAP*);
 
24
 
 
25
};
 
26
 
 
27
#endif