implemented hexstrings, implemented MOVE, PUTCOLOR, GETCHAR, GETCOLOR, modified PUTCHAR, several fixes.
This commit is contained in:
@@ -7,6 +7,7 @@ enum t_tokentype {
|
||||
TOKEN_ERROR,
|
||||
TOKEN_NUMBER,
|
||||
TOKEN_STRING,
|
||||
TOKEN_HEXSTRING,
|
||||
|
||||
TOKEN_IDENTIFIER,
|
||||
TOKEN_LABEL,
|
||||
@@ -59,9 +60,13 @@ enum t_tokentype {
|
||||
TOKEN_SETSPRITE,
|
||||
TOKEN_PUTSPRITE,
|
||||
TOKEN_LOCATE,
|
||||
TOKEN_MOVE,
|
||||
TOKEN_PRINT,
|
||||
TOKEN_PUTCHAR,
|
||||
TOKEN_SETCHAR,
|
||||
TOKEN_PUTCHAR,
|
||||
TOKEN_GETCHAR,
|
||||
TOKEN_PUTCOLOR,
|
||||
TOKEN_GETCOLOR,
|
||||
TOKEN_KEYPRESSED,
|
||||
TOKEN_ANYKEY,
|
||||
TOKEN_UPDATESCR,
|
||||
@@ -80,6 +85,7 @@ void tkn_init(const char* buffer);
|
||||
void tkn_next();
|
||||
t_tokentype tkn_get_token();
|
||||
char* tkn_get_string();
|
||||
unsigned char* tkn_get_array();
|
||||
int tkn_get_value();
|
||||
int tkn_get_line();
|
||||
int tkn_get_row();
|
||||
|
||||
Reference in New Issue
Block a user