diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-24 19:58:18 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-24 19:58:18 +1000 |
commit | 0345dadebf55980d765826e32854049e498d5759 (patch) | |
tree | aa500fb65cda08d165dc2a66062beedcbdcb30fc /demos/3rdparty/doom/tables.c | |
parent | c24512f6edaee109ac10c378e7e89218c48255b7 (diff) | |
download | uGFX-0345dadebf55980d765826e32854049e498d5759.tar.gz uGFX-0345dadebf55980d765826e32854049e498d5759.tar.bz2 uGFX-0345dadebf55980d765826e32854049e498d5759.zip |
Fixes to DOOM demo to remove some operating system dependancies.
Also now has working input (although not perfect) - Needs mouse or touch.
Also now supports screen size doubling when the screen is significantly larger than doom's screen.
Diffstat (limited to 'demos/3rdparty/doom/tables.c')
-rw-r--r-- | demos/3rdparty/doom/tables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/3rdparty/doom/tables.c b/demos/3rdparty/doom/tables.c index 9c5aa836..d2fa22e2 100644 --- a/demos/3rdparty/doom/tables.c +++ b/demos/3rdparty/doom/tables.c @@ -64,7 +64,7 @@ SlopeDiv -int finetangent[4096] = +const int finetangent[4096] = { -170910304,-56965752,-34178904,-24413316,-18988036,-15535599,-13145455,-11392683, -10052327,-8994149,-8137527,-7429880,-6835455,-6329090,-5892567,-5512368, @@ -581,7 +581,7 @@ int finetangent[4096] = }; -int finesine[10240] = +const int finesine[10240] = { 25,75,125,175,226,276,326,376, 427,477,527,578,628,678,728,779, @@ -1867,7 +1867,7 @@ int finesine[10240] = -angle_t tantoangle[2049] = +const angle_t tantoangle[2049] = { 0,333772,667544,1001315,1335086,1668857,2002626,2336395, 2670163,3003929,3337694,3671457,4005219,4338979,4672736,5006492, |