mirror of
https://codeberg.org/hkzlab/TK2048.git
synced 2025-12-27 17:02:18 +11:00
Merged dii_refactoring, modularize code for 2.0
This commit is contained in:
parent
5d739383aa
commit
cfc455f1ca
37 changed files with 2101 additions and 249 deletions
16
src/dlog_data.h
Normal file
16
src/dlog_data.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef _DLOG_DATA_HEADER_
|
||||
#define _DLOG_DATA_HEADER_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define DLOG_MODE_START 0
|
||||
#define DLOG_MODE_WIN 1
|
||||
#define DLOG_MODE_LOSE 2
|
||||
|
||||
|
||||
typedef struct {
|
||||
uint8_t mode;
|
||||
uint16_t score;
|
||||
} dlog_data;
|
||||
|
||||
#endif /* _DLOG_DATA_HEADER_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue