Lua: Allow creating gas clouds

Use the gas clouds in the Clouds themeroom.
Use the existing visible_region_at() in the vision code.
This commit is contained in:
Pasi Kallinen
2024-01-19 17:54:19 +02:00
parent da4bf5a87e
commit 2212cf27ec
6 changed files with 102 additions and 10 deletions

View File

@@ -2560,6 +2560,7 @@ extern void save_regions(NHFILE *) NONNULLARG1;
extern void rest_regions(NHFILE *) NONNULLARG1;
extern void region_stats(const char *, char *, long *, long *) NONNULLPTRS;
extern NhRegion *create_gas_cloud(coordxy, coordxy, int, int);
extern NhRegion *create_gas_cloud_selection(struct selectionvar *, int);
extern boolean region_danger(void);
extern void region_safety(void);