X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=ROM2%2Fcoinmech.h;h=7940b0665e79425c00a1ab0bcc6052347b6a0e61;hb=27fb8a023fa0572ef4171624781460bc59537d49;hp=5514d0bfdfe872cf155e8c6506a581a467bd0e9d;hpb=4b7dfd1bd51aa3b60f59e189fb4e56f4cba092f5;p=uccvend-snackrom.git diff --git a/ROM2/coinmech.h b/ROM2/coinmech.h index 5514d0b..7940b06 100644 --- a/ROM2/coinmech.h +++ b/ROM2/coinmech.h @@ -1,6 +1,13 @@ #ifndef _COINMECH_H_ #define _COINMECH_H_ +#include "vend.h" + +extern volatile u16 coin_value; +extern volatile bool have_change; + void coin_eat(); +void coin_cost(u16 cost); /* specify the cost of an item. */ +void coinmech_init(); #endif /* _COINMECH_H_ */