From 3a38986e4358d3a989cef881386ecc654b36fa1c Mon Sep 17 00:00:00 2001 From: zelgadis Date: Mon, 12 Nov 2007 06:09:15 +0000 Subject: Lua map markers can now be generated in C code from map_lua_marker::parse_marker() by prefixing the Lua string with "lua_mapless:" rather than "lua:". Fog machines can be created and placed from within C code via place_fog_machine(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2843 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/cloud.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crawl-ref/source/cloud.h') diff --git a/crawl-ref/source/cloud.h b/crawl-ref/source/cloud.h index e0d02d27ed..157aa1932c 100644 --- a/crawl-ref/source/cloud.h +++ b/crawl-ref/source/cloud.h @@ -14,6 +14,14 @@ #include "externs.h" +enum fog_machine_type +{ + FM_GEYSER, + FM_SPREAD, + FM_BROWNIAN, + NUM_FOG_MACHINE_TYPES +}; + cloud_type random_smoke_type(); void delete_cloud( int cloud ); @@ -29,4 +37,7 @@ void manage_clouds(void); bool is_opaque_cloud(unsigned char cloud_idx); int steam_cloud_damage(const cloud_struct &cloud); +void place_fog_machine(fog_machine_type fm_type, cloud_type cl_type, + int x, int y, int size, int power); + #endif -- cgit v1.2.3-54-g00ecf