pcb and initial code from https://github.com/das-labor/borgware-2d.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
172 B
13 lines
172 B
#include <stdint.h>
|
|
|
|
#ifndef SCORE_H
|
|
#define SCORE_H
|
|
|
|
static uint16_t score = 0;
|
|
|
|
void score_add(uint8_t);
|
|
void score_add (uint8_t in_score)
|
|
{
|
|
score += in_score;
|
|
}
|
|
#endif
|
|
|