@@ -941,6 +941,7 @@ void level_fov(const FovContext & /*ctx*/);
941941[[nodiscard]] auto level_is_combustible (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
942942[[nodiscard]] auto level_is_corpse_on_death (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
943943[[nodiscard]] auto level_is_corridor (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
944+ [[nodiscard]] auto level_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
944945[[nodiscard]] auto level_is_crushable (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
945946[[nodiscard]] auto level_is_cursor_path_hazard (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
946947[[nodiscard]] auto level_is_cursor_path_none (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
@@ -1077,7 +1078,6 @@ void level_fov(const FovContext & /*ctx*/);
10771078[[nodiscard]] auto level_is_unused3 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
10781079[[nodiscard]] auto level_is_unused4 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
10791080[[nodiscard]] auto level_is_unused46 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
1080- [[nodiscard]] auto level_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
10811081[[nodiscard]] auto level_is_unused5 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
10821082[[nodiscard]] auto level_is_unused6 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
10831083[[nodiscard]] auto level_is_unused63 (Gamep g, Levelsp v, Levelp l, const bpoint &p, Thingp me = nullptr ) -> Thingp;
@@ -1162,6 +1162,7 @@ void level_fov(const FovContext & /*ctx*/);
11621162[[nodiscard]] auto level_is_combustible_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
11631163[[nodiscard]] auto level_is_corpse_on_death_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
11641164[[nodiscard]] auto level_is_corridor_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
1165+ [[nodiscard]] auto level_is_critical_to_level_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
11651166[[nodiscard]] auto level_is_crushable_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
11661167[[nodiscard]] auto level_is_cursor_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
11671168[[nodiscard]] auto level_is_cursor_path_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
@@ -1298,7 +1299,6 @@ void level_fov(const FovContext & /*ctx*/);
12981299[[nodiscard]] auto level_is_unused3_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
12991300[[nodiscard]] auto level_is_unused4_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
13001301[[nodiscard]] auto level_is_unused46_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
1301- [[nodiscard]] auto level_is_critical_to_level_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
13021302[[nodiscard]] auto level_is_unused5_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
13031303[[nodiscard]] auto level_is_unused6_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
13041304[[nodiscard]] auto level_is_unused63_cached (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> bool;
@@ -1381,6 +1381,7 @@ void level_fov(const FovContext & /*ctx*/);
13811381[[nodiscard]] auto level_alive_is_combustible (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
13821382[[nodiscard]] auto level_alive_is_corpse_on_death (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
13831383[[nodiscard]] auto level_alive_is_corridor (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
1384+ [[nodiscard]] auto level_alive_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
13841385[[nodiscard]] auto level_alive_is_crushable (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
13851386[[nodiscard]] auto level_alive_is_cursor_path_hazard (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
13861387[[nodiscard]] auto level_alive_is_cursor_path_none (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
@@ -1517,7 +1518,6 @@ void level_fov(const FovContext & /*ctx*/);
15171518[[nodiscard]] auto level_alive_is_unused3 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
15181519[[nodiscard]] auto level_alive_is_unused4 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
15191520[[nodiscard]] auto level_alive_is_unused46 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
1520- [[nodiscard]] auto level_alive_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
15211521[[nodiscard]] auto level_alive_is_unused5 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
15221522[[nodiscard]] auto level_alive_is_unused6 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
15231523[[nodiscard]] auto level_alive_is_unused63 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
@@ -1600,6 +1600,7 @@ void level_fov(const FovContext & /*ctx*/);
16001600[[nodiscard]] auto level_count_is_combustible (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
16011601[[nodiscard]] auto level_count_is_corpse_on_death (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
16021602[[nodiscard]] auto level_count_is_corridor (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
1603+ [[nodiscard]] auto level_count_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
16031604[[nodiscard]] auto level_count_is_crushable (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
16041605[[nodiscard]] auto level_count_is_cursor_path_hazard (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
16051606[[nodiscard]] auto level_count_is_cursor_path_none (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
@@ -1736,7 +1737,6 @@ void level_fov(const FovContext & /*ctx*/);
17361737[[nodiscard]] auto level_count_is_unused3 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
17371738[[nodiscard]] auto level_count_is_unused4 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
17381739[[nodiscard]] auto level_count_is_unused46 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
1739- [[nodiscard]] auto level_count_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
17401740[[nodiscard]] auto level_count_is_unused5 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
17411741[[nodiscard]] auto level_count_is_unused6 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
17421742[[nodiscard]] auto level_count_is_unused63 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> uint32_t;
@@ -1826,6 +1826,7 @@ void level_fov(const FovContext & /*ctx*/);
18261826[[nodiscard]] auto level_open_is_combustible (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
18271827[[nodiscard]] auto level_open_is_corpse_on_death (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
18281828[[nodiscard]] auto level_open_is_corridor (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
1829+ [[nodiscard]] auto level_open_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
18291830[[nodiscard]] auto level_open_is_crushable (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
18301831[[nodiscard]] auto level_open_is_cursor_path_hazard (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
18311832[[nodiscard]] auto level_open_is_cursor_path_none (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
@@ -1962,7 +1963,6 @@ void level_fov(const FovContext & /*ctx*/);
19621963[[nodiscard]] auto level_open_is_unused3 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
19631964[[nodiscard]] auto level_open_is_unused4 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
19641965[[nodiscard]] auto level_open_is_unused46 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
1965- [[nodiscard]] auto level_open_is_critical_to_level (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
19661966[[nodiscard]] auto level_open_is_unused5 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
19671967[[nodiscard]] auto level_open_is_unused6 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
19681968[[nodiscard]] auto level_open_is_unused63 (Gamep g, Levelsp v, Levelp l, const bpoint &p) -> Thingp;
0 commit comments