Subversion Repositories Kolibri OS

Rev

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

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