summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-12 06:09:15 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2007-11-12 06:09:15 +0000
commit3a38986e4358d3a989cef881386ecc654b36fa1c (patch)
treec0590eb69702ab13c945dfc9444a83117cb72ad6 /crawl-ref/source/cloud.h
parent53ad48697e85f87bb7686d2e030fc3716994406d (diff)
downloadcrawl-ref-3a38986e4358d3a989cef881386ecc654b36fa1c.tar.gz
crawl-ref-3a38986e4358d3a989cef881386ecc654b36fa1c.zip
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
Diffstat (limited to 'crawl-ref/source/cloud.h')
-rw-r--r--crawl-ref/source/cloud.h11
1 files changed, 11 insertions, 0 deletions
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