kolibrios/programs/games/2048/game.h
raandoom 3fdad8ab94 2048:
- fix flickering (canvas drawing added)
TODO:
 - optimize tile drawing: maybe separate canvas for every tile
 - game over screen
 - last game save / load
 - record save / load

git-svn-id: svn://kolibrios.org@5231 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-14 17:05:58 +00:00

34 lines
471 B
C

#ifndef GAME_H
#define GAME_H
#include "defines.h"
#include "board.h"
static const char header[] = "2048";
static struct process_table_entry proc_info = {0};
#define NEW_GAME_BUTTON (0xFF)
// Start a new game
void game_init();
// Exit game
void game_exit();
// Redraw game content
void game_redraw();
// Move Up
void game_move_up();
// Move Down
void game_move_down();
// Move Left
void game_move_left();
// Move Right
void game_move_right();
#endif // GAME_H