borgware-2d/games/breakout/score.h

14 lines
172 B
C
Raw Normal View History

#include <stdint.h>
#ifndef SCORE_H
#define SCORE_H
static uint16_t score = 0;
void score_add(uint8_t);
2010-01-15 14:42:46 +00:00
void score_add (uint8_t in_score)
{
score += in_score;
}
#endif