store results in memory
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "common.h"
|
||||
#include <stddef.h>
|
||||
#define GRAPH_DAYS 30
|
||||
#include <time.h>
|
||||
|
||||
enum mode_t {
|
||||
WINDOW = 0,
|
||||
@@ -21,4 +21,8 @@ size_t get_intention_size();
|
||||
Mode get_mode();
|
||||
void set_mode(Mode mode);
|
||||
|
||||
// returns 1 for win, 0 for loss
|
||||
U32 get_result(struct tm *time);
|
||||
void set_result(struct tm *time, U32 result);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user