+/*!
+ * Pushes a Lua `pointed_thing` to the given Lua stack.
+ * \param csm If true, a client side pointed thing is pushed
+ * \param hitpoint If true, the exact pointing location is also pushed
+ */
+void push_pointed_thing(lua_State *L, const PointedThing &pointed, bool csm =
+ false, bool hitpoint = false);
+
+void push_objectRef (lua_State *L, const u16 id);
+
+void read_hud_element (lua_State *L, HudElement *elem);
+
+void push_hud_element (lua_State *L, HudElement *elem);
+
+bool read_hud_change (lua_State *L, HudElementStat &stat, HudElement *elem, void **value);
+
+void push_collision_move_result(lua_State *L, const collisionMoveResult &res);