ReC98/th03/score.hpp

12 lines
315 B
C++
Raw Normal View History

#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);