summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-11-17 20:30:38 +0800
committerIru Cai <mytbk920423@gmail.com>2018-11-17 20:33:26 +0800
commit380ff1b2d1a1e9057abd1f21884eb78702e7b73a (patch)
treed20ee87dc87a1d1a40dd734746e6d4fe54f9fc1c
parent4f5cb4051ad244ba9b15a952fc151ad6a54eee3a (diff)
downloadrich4-380ff1b2d1a1e9057abd1f21884eb78702e7b73a.tar.xz
speak_words
-rw-r--r--csrc/drawing.c2
-rw-r--r--csrc/font.c7
2 files changed, 7 insertions, 2 deletions
diff --git a/csrc/drawing.c b/csrc/drawing.c
index 9e720eb..78fd403 100644
--- a/csrc/drawing.c
+++ b/csrc/drawing.c
@@ -328,7 +328,7 @@ void player_say(int p, int t, const char *s)
fullscreen_overlay(sfdesc1.lpSurface, data_0207->chunk_tab[nn - 1], 240, 130);
if (esi == 5) {
eax = (s[1] - '0') * 1000 + (s[2] - '0') * 100 + (s[3] - '0') * 10 + (s[4] - '0');
- fcn.0045441a(eax);
+ speak_words(eax);
}
} else {
draw_some_text(0, s, 200, 130, 5);
diff --git a/csrc/font.c b/csrc/font.c
index 6e86ee8..1ab8909 100644
--- a/csrc/font.c
+++ b/csrc/font.c
@@ -190,6 +190,11 @@ void fcn_00456328(struct graph_st *a1, struct graph_st *a2,
graph_overlay_2a(a1->width, a1->gdata, a2, a3, a4, a5, a6, a7, a8, 0);
}
+void speak_words(int n)
+{
+ /* TODO */
+}
+
void draw_some_text(struct graph_st *gg, const char *str, int a3, int a4, int a5)
{
DDSURFACEDESC desc; /* esp */
@@ -205,7 +210,7 @@ void draw_some_text(struct graph_st *gg, const char *str, int a3, int a4, int a5
if (str[0] == '#') {
int t = (str[1] - '0') * 1000 + (str[2] - '0') * 100 +
(str[3] - '0') * 10 + (str[4] - '0');
- fcn.0045441a(t);
+ speak_words(t);
str += 5;
}
IDirectDrawSurface_GetDC(pddrawsf3, &hDC);