summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-11-16 22:28:02 +0800
committerIru Cai <mytbk920423@gmail.com>2018-11-16 22:28:33 +0800
commit5805d1a42435c51bc57be4920cbfeee0de7f762c (patch)
treea432a895c06c57868ca7e6d4cfcefbf5857a032f
parent5f84666b4b50308fac9e79fc70badf76ac4b6e53 (diff)
downloadrich4-5805d1a42435c51bc57be4920cbfeee0de7f762c.tar.xz
add drawing.h from drawing.c
-rw-r--r--csrc/drawing.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/csrc/drawing.h b/csrc/drawing.h
new file mode 100644
index 0000000..85786db
--- /dev/null
+++ b/csrc/drawing.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2018 Iru Cai <mytbk920423@gmail.com>
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#include <windows.h>
+#include "graph_struct.h"
+
+extern struct graph_st st_46caec;
+extern RECT draw_rect; // @ 0x4861b8
+
+void set_rect(int left, int top, int right, int bottom);
+int graph_overlay0(int width, int height, uint16_t *pix, struct graph_st *gtop, int xpos, int ypos);
+int graph_overlay(uint32_t width, uint32_t height, uint16_t *pix, struct graph_st * gtop, int xpos, int ypos, int a6);
+void graph_st_overlay(struct graph_st * a0, struct graph_st * a1, int xpos, int ypos);
+void fullscreen_overlay(uint16_t *a0, struct graph_st *a1, int xpos, int ypos);
+void fcn_417191(int a0);
+void IntersectRect_4cd(RECT *r0);
+void player_say(int p, int t, const char *s);
+void move_animation(int obj, int x1, int y1, int x2, int y2, int T);
+int overlay_fullscreen(uint16_t *a0, struct graph_st *a1, int a2, int a3);
+void graph_overlay2(int a0, uint16_t *a1, struct graph_st *a2,
+ int xpos, int ypos, int a2x, int a2y, int width, int height, int a9);
+void overlay_fullwidth(uint16_t *a0, struct graph_st *a1,
+ int a2, int a3, int a4, int a5, int a6, int a7);