forked from len0rd/rockbox
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:
parent
01c6dcf6c7
commit
a855d62025
994 changed files with 336924 additions and 15 deletions
35
apps/plugins/sdl/SDL_mixer/timidity/tables.h
Normal file
35
apps/plugins/sdl/SDL_mixer/timidity/tables.h
Normal file
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
TiMidity -- Experimental MIDI to WAVE converter
|
||||
Copyright (C) 1995 Tuukka Toivonen <toivonen@clinet.fi>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the Perl Artistic License, available in COPYING.
|
||||
*/
|
||||
|
||||
#ifdef LOOKUP_SINE
|
||||
extern FLOAT_T sine(int x);
|
||||
#else
|
||||
#define sine(x) (sin((2*PI/1024.0) * (x)))
|
||||
#endif
|
||||
|
||||
#define SINE_CYCLE_LENGTH 1024
|
||||
extern int32 freq_table[];
|
||||
extern double vol_table[];
|
||||
extern double expr_table[];
|
||||
extern double bend_fine[];
|
||||
extern double bend_coarse[];
|
||||
extern uint8 *_l2u; /* 13-bit PCM to 8-bit u-law */
|
||||
extern uint8 _l2u_[]; /* used in LOOKUP_HACK */
|
||||
#ifdef LOOKUP_HACK
|
||||
extern int16 _u2l[];
|
||||
extern int32 *mixup;
|
||||
#ifdef LOOKUP_INTERPOLATION
|
||||
extern int8 *iplookup;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern void init_tables(void);
|
||||
|
||||
#define XMAPMAX 800
|
||||
extern int xmap[XMAPMAX][5];
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue