26 lines
582 B
C
26 lines
582 B
C
// THIS IS DECOMPILED PROPRIETARY CODE - USE AT YOUR OWN RISK.
|
|
//
|
|
// The original code belongs to Daisuke "Pixel" Amaya.
|
|
//
|
|
// Modifications and custom code are under the MIT licence.
|
|
// See LICENCE.txt for details.
|
|
|
|
#pragma once
|
|
|
|
enum FlashMode
|
|
{
|
|
FLASH_MODE_EXPLOSION = 1,
|
|
FLASH_MODE_FLASH = 2
|
|
};
|
|
|
|
extern unsigned long gFlashColor;
|
|
|
|
void InitFlash(void);
|
|
void SetFlash(int x, int y, FlashMode mode);
|
|
void ActFlash_Explosion(int flx, int fly);
|
|
void ActFlash_Flash(void);
|
|
void ActFlash(int flx, int fly);
|
|
void PutFlash(void);
|
|
void ResetFlash(void);
|
|
|
|
extern unsigned int gFlashMode; |