Subversion Repositories Kolibri OS

Rev

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

  1. #ifndef CONFIG_H
  2. #define CONFIG_H
  3.  
  4. #include "defines.h"
  5.  
  6. typedef struct {
  7.     __u32 score;
  8.     __u32 highscore;
  9.     __u32 value_map[BOARD_COUNT * BOARD_COUNT];
  10. } config_state;
  11.  
  12. // Get saved highscore
  13. __u8 config_load(config_state* st);
  14.  
  15. // Save current highscore
  16. __u8 config_save(config_state* st);
  17.  
  18. #endif // CONFIG_H
  19.