Port of Duke Nukem 3D

This ports Fabien Sanglard's Chocolate Duke to run on a version of SDL
for Rockbox.

Change-Id: I8f2c4c78af19de10c1633ed7bb7a997b43256dd9
This commit is contained in:
Franklin Wei 2017-01-21 15:18:31 -05:00
parent 01c6dcf6c7
commit a855d62025
994 changed files with 336924 additions and 15 deletions

View file

@ -20,7 +20,7 @@
#include <stddef.h>
#define MAX_STDIO_FILES 8
#define MAX_STDIO_FILES 11
#undef FILE
#define FILE _FILE_
@ -42,6 +42,8 @@
#define ferror _ferror_
#define feof _feof_
#define fprintf _fprintf_
#define stdout _stdout_
#define stderr _stderr_
typedef struct {
int fd;
@ -49,6 +51,8 @@ typedef struct {
int error;
} _FILE_;
extern _FILE_ *_stdout_, *_stderr_;
_FILE_ *_fopen_(const char *path, const char *mode);
int _fclose_(_FILE_ *stream);
int _fflush_(_FILE_ *stream);