forked from len0rd/rockbox
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
This commit is contained in:
parent
6980c1e998
commit
9c6e217f29
25 changed files with 260 additions and 191 deletions
|
@ -50,7 +50,7 @@
|
|||
|
||||
static mobj_t *current_actor;
|
||||
|
||||
typedef enum {
|
||||
enum {
|
||||
DI_EAST,
|
||||
DI_NORTHEAST,
|
||||
DI_NORTH,
|
||||
|
@ -61,7 +61,8 @@ typedef enum {
|
|||
DI_SOUTHEAST,
|
||||
DI_NODIR,
|
||||
NUMDIRS
|
||||
} dirtype_t;
|
||||
};
|
||||
typedef unsigned dirtype_t;
|
||||
|
||||
void A_Fall(mobj_t *actor);
|
||||
void A_FaceTarget(mobj_t *actor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue