mirror of
https://codeberg.org/hkzlab/TK2048.git
synced 2026-01-08 02:19:20 +11:00
Add stubs for game graphics
This commit is contained in:
parent
5fe7310d14
commit
4a178dacbe
3 changed files with 7 additions and 0 deletions
|
|
@ -12,3 +12,7 @@
|
||||||
void draw_game_background(void) {
|
void draw_game_background(void) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void draw_tiles(void) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
void draw_game_background(void);
|
void draw_game_background(void);
|
||||||
|
void draw_tiles(void);
|
||||||
|
|
||||||
#endif /* _GAME_GRAPHICS_HEADER_ */
|
#endif /* _GAME_GRAPHICS_HEADER_ */
|
||||||
|
|
|
||||||
|
|
@ -56,6 +56,8 @@ __task int main(void) {
|
||||||
if(state.done) break;
|
if(state.done) break;
|
||||||
|
|
||||||
add_random_tile();
|
add_random_tile();
|
||||||
|
|
||||||
|
draw_tiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue