diff options
author | Cara Salter <cara@devcara.com> | 2022-08-15 23:43:52 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-08-15 23:43:52 -0400 |
commit | e6ae01729aeaffc560c59e7887c5743521677e4d (patch) | |
tree | 34ea1333a9c0ce85ac72852cd7fd1b85651dda9d /src/game.h | |
parent | f15f93f6e55d6c09b5f556f8fc8e21c29f549a96 (diff) | |
download | cmud-e6ae01729aeaffc560c59e7887c5743521677e4d.tar.gz cmud-e6ae01729aeaffc560c59e7887c5743521677e4d.zip |
data work
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..2fe6d3d --- /dev/null +++ b/src/game.h @@ -0,0 +1,36 @@ +/* + * ===================================================================================== + * + * Filename: game.h + * + * Description: Types and prototypes for the global action request tracker + * + * Version: 1.0 + * Created: 01/31/2022 11:55:50 AM + * Revision: none + * Compiler: gcc + * + * Author: Cara Salter <cara@devcara.com>, + * Organization: + * + * ===================================================================================== + */ + + +#ifndef _GAME_H +#define _GAME_H + +enum RequestType { + Msg, + MoveTo, + Attack +}; + +typedef struct { + enum RequestType type; + char* args[]; +} Request; + +int submit_request(Request req); + +#endif |