ReC98/th03/score.hpp

18 lines
416 B
C++
Raw Permalink Normal View History

#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 */