mirror of https://github.com/nmlgc/ReC98.git
12 lines
307 B
C
12 lines
307 B
C
#include "th02/score.h"
|
|
|
|
typedef struct {
|
|
// Stored without the last 0 digit.
|
|
unsigned char digits[SCORE_DIGITS];
|
|
} score_lebcd_t;
|
|
|
|
extern score_lebcd_t score_lebcd[PLAYER_COUNT];
|
|
|
|
// Adds the given amount of [points] to the given player's [score_lebcd].
|
|
void pascal score_add(uint16_t points, bool pid);
|