From a365de1b0ab91f9c057196a601d96d2aed6e48fb Mon Sep 17 00:00:00 2001 From: Aleksey Veresov Date: Sun, 28 Feb 2021 23:29:25 +0300 Subject: o_O --- src/body.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/body.h (limited to 'src/body.h') diff --git a/src/body.h b/src/body.h new file mode 100644 index 0000000..fcb15bc --- /dev/null +++ b/src/body.h @@ -0,0 +1,26 @@ +#ifndef TT_INCLUDED_BODY +#define TT_INCLUDED_BODY + + +typedef struct tt_body { + int x; + int y; + int xrem; + int yrem; + int xvel; + int yvel; + int txrrow; + int txrcol; + int rem; + int anim; + int rate; + void (*collision_act)(struct tt_body *b); + char *msg; + int msglen; +} tt_body; + + +void tt_body_move(int d); + + +#endif -- cgit v1.2.3