summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/wi_stuff.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:12:39 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-05-29 08:12:39 +0000
commit9c6e217f29bb0a76ec153574a3d493b020e5fb60 (patch)
treeb38acde6c091b7f8b0e3205645f9d232f19eeabb /apps/plugins/doom/wi_stuff.c
parent6980c1e9988a7c959876ad77b760e042272a9ec2 (diff)
downloadrockbox-9c6e217f29bb0a76ec153574a3d493b020e5fb60.tar.gz
rockbox-9c6e217f29bb0a76ec153574a3d493b020e5fb60.zip
Doom plugin: In anticipation of moving to the EABI toolchain, because of its assumptions about enums being sized as ints, convert enum typdefs to int or unsigned depending upon whether they have negative values in the enumeration. This should effectively preserve the manner in which it is compiled under the old toolchain and avoids having to closely inspect and possibly change many places in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26368 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom/wi_stuff.c')
-rw-r--r--apps/plugins/doom/wi_stuff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/doom/wi_stuff.c b/apps/plugins/doom/wi_stuff.c
index 3d14d088d5..5aec366026 100644
--- a/apps/plugins/doom/wi_stuff.c
+++ b/apps/plugins/doom/wi_stuff.c
@@ -107,12 +107,13 @@
107// These animation variables, structures, etc. are used for the 107// These animation variables, structures, etc. are used for the
108// DOOM/Ultimate DOOM intermission screen animations. This is 108// DOOM/Ultimate DOOM intermission screen animations. This is
109// totally different from any sprite or texture/flat animations 109// totally different from any sprite or texture/flat animations
110typedef enum 110enum
111{ 111{
112 ANIM_ALWAYS, // determined by patch entry 112 ANIM_ALWAYS, // determined by patch entry
113 ANIM_RANDOM, // occasional 113 ANIM_RANDOM, // occasional
114 ANIM_LEVEL // continuous 114 ANIM_LEVEL // continuous
115} animenum_t; 115};
116typedef unsigned animenum_t;
116 117
117typedef struct 118typedef struct
118{ 119{