30ef1a01d0
- 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
19 lines
319 B
C
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
|