Subversion Repositories Kolibri OS

Rev

Rev 5229 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. #ifndef GAME_H
  2. #define GAME_H
  3.  
  4. #include "defines.h"
  5. #include "board.h"
  6.  
  7. static const char header[] = "2048";
  8. static struct process_table_entry proc_info = {0};
  9.  
  10. #define NEW_GAME_BUTTON (0xFF)
  11.  
  12. // Start a new game
  13. void game_init();
  14.  
  15. // Exit game
  16. void game_exit();
  17.  
  18. // Redraw game content
  19. void game_redraw();
  20.  
  21. // Move Up
  22. void game_move_up();
  23.  
  24. // Move Down
  25. void game_move_down();
  26.  
  27. // Move Left
  28. void game_move_left();
  29.  
  30. // Move Right
  31. void game_move_right();
  32.  
  33. #endif // GAME_H
  34.