diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-12 06:09:15 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-11-12 06:09:15 +0000 |
commit | 3a38986e4358d3a989cef881386ecc654b36fa1c (patch) | |
tree | c0590eb69702ab13c945dfc9444a83117cb72ad6 /crawl-ref/source/mapmark.h | |
parent | 53ad48697e85f87bb7686d2e030fc3716994406d (diff) | |
download | crawl-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/mapmark.h')
-rw-r--r-- | crawl-ref/source/mapmark.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/mapmark.h b/crawl-ref/source/mapmark.h index f277295db7..a2d71e9567 100644 --- a/crawl-ref/source/mapmark.h +++ b/crawl-ref/source/mapmark.h @@ -87,7 +87,8 @@ class map_lua_marker : public map_marker, public dgn_event_listener { public: map_lua_marker(); - map_lua_marker(const std::string &s, const std::string &ctx); + map_lua_marker(const std::string &s, const std::string &ctx, + bool mapdef_marker = true); ~map_lua_marker(); void activate(bool verbose); |