aboutsummaryrefslogtreecommitdiffstats
path: root/src/gack.h
blob: fc1ed8691b26dd1dd683e641533646288b6e20fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include "gameCommon.h"

#ifndef GACK_H
#define GACK_H

#define GACK_NAME_MAX 256

typedef struct GackEntry GackEntry;
typedef void (*GackEntryCB)(GackEntry* entry, Game* game);

typedef struct GackEntry {
    char description;
    int cost;
    GackEntryCB callback;
} GackEntry;

typedef struct Gack {
} Gack;

void initGack(Gack* gack);
void updateGack(Gack* gack, Game* game);
void closeGack(Gack* gack);

#endif