From 5805d1a42435c51bc57be4920cbfeee0de7f762c Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Fri, 16 Nov 2018 22:28:02 +0800 Subject: add drawing.h from drawing.c --- csrc/drawing.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 csrc/drawing.h 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 + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +#include +#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); -- cgit v1.2.3