summaryrefslogtreecommitdiff
path: root/src/body.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/body.h')
-rw-r--r--src/body.h43
1 files changed, 21 insertions, 22 deletions
diff --git a/src/body.h b/src/body.h
index 33cab2f..1204c9c 100644
--- a/src/body.h
+++ b/src/body.h
@@ -1,33 +1,32 @@
#ifndef TT_INCLUDED_BODY
#define TT_INCLUDED_BODY
-
-enum { colact_grib = 1,
- colact_gulag,
- colact_instgulag,
- colact_key,
- colact_door };
+enum {
+ colact_grib = 1,
+ colact_gulag,
+ colact_instgulag,
+ colact_key,
+ colact_door
+};
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;
- int collision_act;
+ int x;
+ int y;
+ int xrem;
+ int yrem;
+ int xvel;
+ int yvel;
+ int txrrow;
+ int txrcol;
+ int rem;
+ int anim;
+ int rate;
+ int collision_act;
char *msg;
- int msglen;
- int isdoor;
+ int msglen;
+ int isdoor;
} tt_body;
-
void tt_body_move(int d);
-
#endif