repo.or.cz
/
kolibrios.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Replace cyrillic 'с' with latin 'c' in register names
[kolibrios.git]
/
programs
/
games
/
2048
/
config.h
blob
0a444d224a65b2aab7aed73cbadd394636b7778a
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