mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Move enum vmflags_t to gameexec.c since it's an implementation detail.
git-svn-id: https://svn.eduke32.com/eduke32@3242 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
64c21a5e0a
commit
375d164138
2 changed files with 7 additions and 7 deletions
|
@ -112,12 +112,6 @@ extern void VM_AccessProjectile(int32_t iSet, int32_t lVar1, int32_t lLabelID, i
|
|||
*/
|
||||
|
||||
|
||||
enum vmflags_t {
|
||||
VM_RETURN = 0x00000001,
|
||||
VM_KILL = 0x00000002,
|
||||
VM_NOEXECUTE = 0x00000004,
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
int32_t g_i, g_p, g_x;
|
||||
int32_t *g_t;
|
||||
|
|
|
@ -48,6 +48,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
# define GAMEEXEC_STATIC static
|
||||
#endif
|
||||
|
||||
enum vmflags_t {
|
||||
VM_RETURN = 0x00000001,
|
||||
VM_KILL = 0x00000002,
|
||||
VM_NOEXECUTE = 0x00000004,
|
||||
};
|
||||
|
||||
vmstate_t vm;
|
||||
|
||||
int32_t g_errorLineNum;
|
||||
|
@ -767,7 +773,7 @@ void addweapon_maybeswitch(DukePlayer_t *ps, int32_t weap)
|
|||
P_AddWeaponNoSwitch(ps, weap);
|
||||
}
|
||||
|
||||
void addweapon_addammo_common(DukePlayer_t *ps, int32_t weap, int32_t amount)
|
||||
static void addweapon_addammo_common(DukePlayer_t *ps, int32_t weap, int32_t amount)
|
||||
{
|
||||
P_AddAmmo(weap, ps, amount);
|
||||
|
||||
|
|
Loading…
Reference in a new issue