From d4f7ab06cf6a8bd626ce476e80d3d02acaddf527 Mon Sep 17 00:00:00 2001 From: kichikuou Date: Mon, 6 Mar 2023 20:01:43 +0900 Subject: [PATCH] Add stub for DrawDungeon14.SetRasterScroll This function is used for the underwater effect in GALZOO. It should be implemented as a post-processing effect, but in the meantime let's stub it out to avoid runtime error. --- src/hll/DrawDungeon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hll/DrawDungeon.c b/src/hll/DrawDungeon.c index 6ecdd6e..db6a27f 100644 --- a/src/hll/DrawDungeon.c +++ b/src/hll/DrawDungeon.c @@ -408,6 +408,7 @@ HLL_LIBRARY(DrawDungeon, DRAW_DUNGEON_EXPORTS ); +HLL_WARN_UNIMPLEMENTED( , void, DrawDungeon14, SetRasterScroll, int surface, int type); HLL_WARN_UNIMPLEMENTED( , void, DrawDungeon14, SetRasterAmp, int nSurface, float fAmp); HLL_WARN_UNIMPLEMENTED( , void, DrawDungeon14, SetLapFilter, int surface, int type, int r, int g, int b); @@ -431,7 +432,7 @@ HLL_LIBRARY(DrawDungeon14, HLL_EXPORT(Init, DrawDungeon14_Init), DRAW_DUNGEON_EXPORTS, HLL_EXPORT(GetWalked, dungeon_get_walked), - HLL_TODO_EXPORT(SetRasterScroll, DrawDungeon14_SetRasterScroll), + HLL_EXPORT(SetRasterScroll, DrawDungeon14_SetRasterScroll), HLL_EXPORT(SetRasterAmp, DrawDungeon14_SetRasterAmp), HLL_EXPORT(SetLapFilter, DrawDungeon14_SetLapFilter), HLL_EXPORT(GetDrawMapObjectFlag, DrawDungeon14_GetDrawMapObjectFlag),