aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-24 21:20:03 -0400
committerPaul Gilbert2016-08-24 21:20:03 -0400
commite81e3aefde040a9a8e133c3c1059ea66e9d91db5 (patch)
tree07e7f9bbba00462b30bd7a7a5d4b185205e0139c /engines/titanic/core
parent456ed176716432b8c54fae5ed252db07d1c71dd7 (diff)
downloadscummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.tar.gz
scummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.tar.bz2
scummvm-rg350-e81e3aefde040a9a8e133c3c1059ea66e9d91db5.zip
TITANIC: Implemented CMissiveOMat class
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/game_object.cpp2
-rw-r--r--engines/titanic/core/game_object.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 3126aac228..0289e78823 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -1066,7 +1066,7 @@ void CGameObject::setMovieFrameRate(double rate) {
_surface->setMovieFrameRate(rate);
}
-void CGameObject::setTextBorder(const CString &str, int border, int borderRight) {
+void CGameObject::setText(const CString &str, int border, int borderRight) {
if (!_text)
_text = new CPetText();
_textBorder = border;
diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h
index d089ce5ed0..53e26b5f6b 100644
--- a/engines/titanic/core/game_object.h
+++ b/engines/titanic/core/game_object.h
@@ -491,9 +491,9 @@ protected:
void setMovieFrameRate(double rate);
/**
- * Set up the text borders for the object
+ * Set up the text and borders for the object
*/
- void setTextBorder(const CString &str, int border = 0, int borderRight = 0);
+ void setText(const CString &str, int border = 0, int borderRight = 0);
/**
* Sets whether the text will use borders