]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/client/interact.h
Client: unify error handling
[dragonblocks_alpha.git] / src / client / interact.h
1 #ifndef _INTERACT_H_
2 #define _INTERACT_H_
3
4 #include <stdbool.h>
5 #include "node.h"
6 #include "types.h"
7
8 extern struct InteractPointed {
9         bool exists;
10         v3s32 pos;
11         NodeType node;
12 } interact_pointed;
13
14 void interact_init();
15 void interact_deinit();
16 void interact_tick();
17 void interact_render();
18 void interact_use(bool left);
19
20 #endif // _INTERACT_H_