diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-27 13:54:57 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-01-27 17:38:11 +0100 |
| commit | b4f904ecdcf6b0857d28ab4a877ad0f3468153f7 (patch) | |
| tree | 656b7c75ff57963e18dac972e38baf9ba3d46ddb /src/unit/inc | |
| parent | 69f753d26f44c28668d23e0ba40bb3994141df82 (diff) | |
| download | jancity-b4f904ecdcf6b0857d28ab4a877ad0f3468153f7.tar.gz | |
Remove hp
Diffstat (limited to 'src/unit/inc')
| -rw-r--r-- | src/unit/inc/unit.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/unit/inc/unit.h b/src/unit/inc/unit.h index a200c63..d86704d 100644 --- a/src/unit/inc/unit.h +++ b/src/unit/inc/unit.h @@ -25,8 +25,6 @@ struct unit_target { struct instance *ins; enum unit_state state; - instance_sheltered_cb shelter; - instance_attacked_cb attack; instance_done_cb done; void *op; }; @@ -73,9 +71,7 @@ bool unit_can_harvest(const struct unit *u); bool unit_target_valid(const struct unit *u, const struct unit_target *t); void unit_set_target(struct unit *u, const struct unit_target *t); void unit_move_to(struct unit *u, unsigned long x, unsigned long y); -bool unit_attacked(struct instance *, instance_hp ap); void unit_update(struct unit *u); -instance_hp unit_maxhp(const struct unit *u); const char *unit_str(const struct unit *u); enum |
