editmapmsg command added

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4071 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2008-12-26 18:47:27 +00:00
parent 0aba25d6f8
commit b8bd958ed2
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -217,9 +217,17 @@ void mapmsg(char *s)
s_strncpy(hdr.maptitle, text, 128);
}
void getmapmsg(void)
{
string text;
s_strncpy(text, hdr.maptitle, 128);
result(text);
}
COMMAND(saycommand, ARG_CONC);
COMMAND(inputcommand, ARG_3STR);
COMMAND(mapmsg, ARG_1STR);
COMMAND(getmapmsg, ARG_NONE);
#if !defined(WIN32) && !defined(__APPLE__)
#include <X11/Xlib.h>