summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-22 22:22:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-22 23:21:10 +0300
commit6b92425b46de741d4cda35027083fd988ac4e942 (patch)
tree4ea1b96d494d267ed3ceb835d611d4b095bc51f7 /src/being.h
parent0fcce97fe86721f4b426250a32f461ad951f6d99 (diff)
downloadmv-6b92425b46de741d4cda35027083fd988ac4e942.tar.gz
mv-6b92425b46de741d4cda35027083fd988ac4e942.tar.bz2
mv-6b92425b46de741d4cda35027083fd988ac4e942.tar.xz
mv-6b92425b46de741d4cda35027083fd988ac4e942.zip
Add option to accept language messages in any languge.
This messages will be showed in language or general tab.
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being.h b/src/being.h
index 00dfbfe74..f41df41eb 100644
--- a/src/being.h
+++ b/src/being.h
@@ -253,7 +253,9 @@ class Being : public ActorSprite, public ConfigListener
* @param text The text that should appear.
* @param time The amount of time the text should stay in milliseconds.
*/
- void setSpeech(const std::string &text, int time = 0);
+ void setSpeech(const std::string &text,
+ const std::string &channel = "",
+ int time = 0);
/**
* Puts a damage bubble above this being.