diff options
author | andrew <xdotftw@gmail.com> | 2014-02-14 15:21:16 +0100 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-02-14 15:21:16 +0100 |
commit | 5b92b877bcc0c5072dbea98b6c54106f954aa758 (patch) | |
tree | fa91320608d925cac74804fd44597198e2f3760e /src/World.h | |
parent | IDCount Serialization (diff) | |
download | cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar.gz cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar.bz2 cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar.lz cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar.xz cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.tar.zst cuberite-5b92b877bcc0c5072dbea98b6c54106f954aa758.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h index 02e56a247..a9b1ca2cb 100644 --- a/src/World.h +++ b/src/World.h @@ -552,6 +552,12 @@ public: bool ShouldUseChatPrefixes(void) const { return m_bUseChatPrefixes; } void SetShouldUseChatPrefixes(bool a_Flag) { m_bUseChatPrefixes = a_Flag; } + + /** Returns the map with the specified ID, NULL if out of range. */ + cMap * GetMapData(unsigned int a_ID); + + /** Creates a new map. Returns NULL on error */ + cMap * CreateMap(int a_CenterX, int a_CenterY, int a_Scale = 3); // tolua_end |