summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-31 21:12:38 +0000
committerIra Rice <irarice@gmail.com>2008-10-31 21:12:38 +0000
commitb28c963a566f685f71c3c404099fe7c65bfa0a70 (patch)
tree670d5d9a94a2eee2899d2f6376d66e94aaeb1177
parentc22fc71adacaf6222f7e6fb70f83758298f25904 (diff)
downloadmana-b28c963a566f685f71c3c404099fe7c65bfa0a70.tar.gz
mana-b28c963a566f685f71c3c404099fe7c65bfa0a70.tar.bz2
mana-b28c963a566f685f71c3c404099fe7c65bfa0a70.tar.xz
mana-b28c963a566f685f71c3c404099fe7c65bfa0a70.zip
Added a text patch done on TMW to increase the number of characters
supported (done by vargavind), as well as changing the effect used for critical updates (change of opinion on what looks better).
-rw-r--r--src/being.cpp4
-rw-r--r--src/gui/gui.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 3214b491..245e023e 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -220,8 +220,8 @@ void Being::showCrit()
}
// Show crit notice
- particleEngine->addTextRiseFadeOutEffect(text, font,
- mPx + 16, mPy - 16);
+ particleEngine->addTextSplashEffect(text, 255, 255, 255, font,
+ mPx + 16, mPy + 16);
}
void Being::handleAttack(Being *victim, int damage)
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 6d70d532..e386a85c 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -114,7 +114,7 @@ Gui::Gui(Graphics *graphics):
try {
mGuiFont = new gcn::ImageFont("graphics/gui/sansserif8.png",
" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ["
- "\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|"
+ "\\]^_`abcdefghijklmnopqrstuvwxyz{|}~|áÁéÉßøèÈ"
);
}
catch (gcn::Exception e)