git.ucc.asn.au
/
uccvend-snackrom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README to reflect new repository structure
[uccvend-snackrom.git]
/
ROM2
/
coinmech.h
diff --git
a/ROM2/coinmech.h
b/ROM2/coinmech.h
index
5514d0b
..
7940b06
100644
(file)
--- a/
ROM2/coinmech.h
+++ b/
ROM2/coinmech.h
@@
-1,6
+1,13
@@
#ifndef _COINMECH_H_
#define _COINMECH_H_
#ifndef _COINMECH_H_
#define _COINMECH_H_
+#include "vend.h"
+
+extern volatile u16 coin_value;
+extern volatile bool have_change;
+
void coin_eat();
void coin_eat();
+void coin_cost(u16 cost); /* specify the cost of an item. */
+void coinmech_init();
#endif /* _COINMECH_H_ */
#endif /* _COINMECH_H_ */
UCC
git Repository :: git.ucc.asn.au