kolibrios/programs/games/2048/config.h
raandoom 30ef1a01d0 2048:
- added last game loading
TODO:
 - optimize tile drawing: maybe separate canvas for every tile

git-svn-id: svn://kolibrios.org@5248 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-19 22:28:11 +00:00

19 lines
319 B
C

#ifndef CONFIG_H
#define CONFIG_H
#include "defines.h"
typedef struct {
__u32 score;
__u32 highscore;
__u32 value_map[BOARD_COUNT * BOARD_COUNT];
} config_state;
// Get saved highscore
__u8 config_load(config_state* st);
// Save current highscore
__u8 config_save(config_state* st);
#endif // CONFIG_H