mirror of https://github.com/nmlgc/ReC98.git
18 lines
416 B
C++
18 lines
416 B
C++
#ifndef TH03_SCORE_HPP
|
|
#define TH03_SCORE_HPP
|
|
|
|
#include "th03/common.h"
|
|
#include "th02/score.h"
|
|
|
|
struct score_lebcd_t {
|
|
// Not including the amount of continues used.
|
|
unsigned char digits[SCORE_DIGITS];
|
|
};
|
|
|
|
extern score_lebcd_t score_lebcd[PLAYER_COUNT];
|
|
|
|
// Adds the given amount of [score] points to the given player's [score_lebcd].
|
|
void pascal score_add(uint16_t score, bool pid);
|
|
|
|
#endif /* TH03_SCORE_HPP */
|