Imported kball_final_src_16dec2004.tar.gz
[kball.git] / include / stats.h
blobe02864e62ed7a3252d8ae35cd94b46c7677d43f1
1 // -----------------------------------------------
2 // stats.h
3 // -----------------------------------------------
4 // Statistics of gameplay for KBall
5 // -----------------------------------------------
6 // By Kronoman
7 // Copyright (c) 2004
8 // In loving memory of my father
9 // -----------------------------------------------
11 #ifndef KBALL_STATS_H
12 #define KBALL_STATS_H
14 #include <allegro.h>
16 class CGameStats
18 public:
19 CGameStats();
20 ~CGameStats();
22 void reset(); // reset stats
25 void print(BITMAP *bmp, int y, int color_fg, int color_bg, FONT *f); // print stats
27 void add_time(int h, int m, int s); // use this to update time, will keep it ok
29 // time stats (total time of gameplay)
30 int h, s, m;
32 // score
33 long int score;
35 // balls lost
36 int blost;
39 #endif