3f59fc8b77
This is a port of Wolf4SDL, which is derived from the original id software source release. The port runs on top of the SDL plugin runtime and is loaded as an overlay. Licensing of the game code is not an issue, as discussed below (essentially, the Debian project treats Wolf4SDL as GPLv2, with an email from John Carmack backing it up): http://forums.rockbox.org/index.php?topic=52872 Included is a copy of MAME's Yamaha OPL sound chip emulator (fmopl_gpl.c). This file was not part of the original Wolf4SDL source (which includes a non-GPL'd version), but was rather rebased from from a later MAME source which had been relicensed to GPLv2. Change-Id: I64c2ba035e0be7e2f49252f40640641416613439
20 lines
381 B
C
20 lines
381 B
C
#ifndef _WL_ATMOS_H_
|
|
#define _WL_ATMOS_H_
|
|
|
|
#if defined(USE_STARSKY) || defined(USE_RAIN) || defined(USE_SNOW)
|
|
void Init3DPoints();
|
|
#endif
|
|
|
|
#ifdef USE_STARSKY
|
|
void DrawStarSky(byte *vbuf, uint32_t vbufPitch);
|
|
#endif
|
|
|
|
#ifdef USE_RAIN
|
|
void DrawRain(byte *vbuf, uint32_t vbufPitch);
|
|
#endif
|
|
|
|
#ifdef USE_SNOW
|
|
void DrawSnow(byte *vbuf, uint32_t vbufPitch);
|
|
#endif
|
|
|
|
#endif
|