| 1 | /*************************************************************************** |
| 2 | score.h - description |
| 3 | ------------------- |
| 4 | begin : Sun Mar 11 2001 |
| 5 | copyright : (C) 2001 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef SCORE_H |
| 19 | #define SCORE_Hcxx . . $ `src/score.h:19:9`! |
| 20 | |
| 21 | #include "animatedcanvas.h"cxx . . $ `<file>/src/animatedcanvas.h`/ |
| 22 | |
| 23 | class Scorecxx . . $ Score# : public AnimatedCanvascxx . . $ AnimatedCanvas#{ |
| 24 | |
| 25 | public: |
| 26 | |
| 27 | Scorecxx . . $ Score#Score(d4f767463ce0a6b3).(int value=0); |
| 28 | virtual ~cxx . . $ Score#`~Score`(ced63f7c635d850d).Scorecxx . . $ Score#(); |
| 29 | |
| 30 | void inccxx . . $ Score#inc(cb2f890c2fdad230).(unsigned int value); |
| 31 | |
| 32 | void deccxx . . $ Score#dec(cb2f890c2fdad230).(unsigned int value); |
| 33 | |
| 34 | void sumUpcxx . . $ Score#sumUp(49f6e7a06ebc5aa8).(); |
| 35 | |
| 36 | int getValuecxx . . $ Score#getValue(b126dc7c1de90089).(); |
| 37 | |
| 38 | bool isChangedcxx . . $ Score#isChanged(c9857a73d68e59ba).(); |
| 39 | |
| 40 | void paintcxx . . $ Score#paint(dec28a01b93bce57).(VideoManagercxx . . $ VideoManager# * vm); |
| 41 | |
| 42 | void tickcxx . . $ Score#tick(49f6e7a06ebc5aa8).(); |
| 43 | |
| 44 | private: |
| 45 | static const unsigned int TickValuecxx . . $ Score#TickValue.=1; |
| 46 | static const unsigned int ScoreWidthcxx . . $ Score#ScoreWidth. = 80; |
| 47 | static const unsigned int ScoreHeightcxx . . $ Score#ScoreHeight. = 15; |
| 48 | static const unsigned int Digitscxx . . $ Score#Digits. = 8; |
| 49 | |
| 50 | unsigned int valuecxx . . $ Score#value.; |
| 51 | int deltacxx . . $ Score#delta.; |
| 52 | bool changedcxx . . $ Score#changed.; |
| 53 | }; |
| 54 | |
| 55 | #endif |
| 56 |