diff --git a/docs/game_data/lua_enums.txt b/docs/game_data/lua_enums.txt index aa1c9a6b9..9c0f59b9b 100644 --- a/docs/game_data/lua_enums.txt +++ b/docs/game_data/lua_enums.txt @@ -2392,6 +2392,10 @@ SCREEN = { TRANSITION = 13, WIN = 16 } +SHAPE = { + RECTANGLE = 1, + CIRCLE = 2 +} SHOP_TYPE = { CAVEMAN_SHOP = 10, CLOTHING_SHOP = 1, diff --git a/src/game_api/entity.hpp b/src/game_api/entity.hpp index 94be9bdf5..346a9e1a6 100644 --- a/src/game_api/entity.hpp +++ b/src/game_api/entity.hpp @@ -334,7 +334,7 @@ class Entity virtual bool is_in_liquid() = 0; virtual bool check_type_properties_flags_19() = 0; // checks (properties_flags >> 0x12) & 1; for hermitcrab checks if he's invisible; can't get it to trigger virtual uint32_t get_type_field_60() = 0; - virtual void set_invisible(bool) = 0; + virtual void set_invisible(bool value) = 0; virtual void handle_turning_left(bool apply) = 0; // if disabled, monsters don't turn left and keep walking in the wall (and other right-left issues) virtual void set_draw_depth(uint8_t draw_depth) = 0; virtual void resume_ai() = 0; // works on entities with ai_func != 0; runs when companions are let go from being held. AI resumes anyway in 1.23.3