Added toggle for 'boiling water' effect to the GUI.

This commit is contained in:
stainless
2001-11-10 23:34:43 +00:00
parent 7711914c37
commit 82db91f831
5 changed files with 27 additions and 4 deletions

View File

@@ -55,6 +55,8 @@ static int offset;
static int pheight=400;
static int radius=30;
extern char GUIEffect;
void DrawWater(void)
{
// tslast=tscurrent;
@@ -77,6 +79,9 @@ void DrawWater(void)
DrawWaterWithLight(Height[Hpage],1);
#endif
if (GUIEffect==2) { mode=0x0001; }
else { mode = 0x0004; }
if(mode&2) // && (tscurrent-tslast))
{
int x,y;