Import coco-planes 0.1.0 upstream source snapshot
Original author: Pierre Sarrazin. Preserve upstream GPLv3-or-later and file-specific notices. Source: http://sarrazip.com/dev/coco-planes-0.1.0.tar.gz Archive SHA-256: 29191e6ba225965caa637ee726e1189639dc7fcdf2b68310fb93fbffd56c9c52
This commit is contained in:
commit
7939132267
78 files changed
+6990
No files matched your search
@@ -0,0 +1,27 @@
|
||||
#ifndef _H_Score
|
||||
#define _H_Score
|
||||
|
||||
#include <coco.h>
|
||||
|
||||
|
||||
typedef struct Score
|
||||
{
|
||||
byte digits[2];
|
||||
} Score;
|
||||
|
||||
|
||||
void Score_init(Score *self);
|
||||
|
||||
|
||||
// Adds a point to the given Score, unless it has already reached WINNING_SCORE.
|
||||
//
|
||||
__gcccall void Score_addPoint(Score *self);
|
||||
|
||||
|
||||
// Returns TRUE iff this Score is equal to WINNING_SCORE.
|
||||
//
|
||||
__gcccall BOOL Score_isWinningScore(const Score *self);
|
||||
|
||||
|
||||
|
||||
#endif /* _H_Score */
|
||||
Reference in new issue
Block a user