* Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build
This commit is contained in:
1 parent
857a5e264e
commit
e4b7a04d5c
24 files changed
+506
-795
No files matched your search
@@ -80,7 +80,7 @@ enum {
|
||||
RenderCompletedMsg = 2,
|
||||
};
|
||||
|
||||
static /*inline*/ void MsgPortInit(MsgPort *port)
|
||||
static /*ID_INLINE*/ void MsgPortInit(MsgPort *port)
|
||||
{
|
||||
#if USE_MACH_PORTS
|
||||
port->nsPort = [[NSMachPort alloc] init];
|
||||
@@ -106,7 +106,7 @@ static /*inline*/ void MsgPortInit(MsgPort *port)
|
||||
#endif
|
||||
}
|
||||
|
||||
static /*inline*/ void _SendMsg(MsgPort *port, unsigned int msgCode, void *msgData,
|
||||
static /*ID_INLINE*/ void _SendMsg(MsgPort *port, unsigned int msgCode, void *msgData,
|
||||
const char *functionName, const char *portName, const char *msgName)
|
||||
{
|
||||
int rc;
|
||||
@@ -173,7 +173,7 @@ static /*inline*/ void _SendMsg(MsgPort *port, unsigned int msgCode, void *msgDa
|
||||
#endif
|
||||
}
|
||||
|
||||
static /*inline*/ void _WaitMsg(MsgPort *port, unsigned int *msgCode, void **msgData,
|
||||
static /*ID_INLINE*/ void _WaitMsg(MsgPort *port, unsigned int *msgCode, void **msgData,
|
||||
const char *functionName, const char *portName)
|
||||
{
|
||||
int rc;
|
||||
|
||||
@@ -356,7 +356,7 @@ static qboolean maybeHide()
|
||||
return Sys_Hide();
|
||||
}
|
||||
|
||||
static inline void sendEventForCharacter(NSEvent *event, unichar character, qboolean keyDownFlag, int currentTime)
|
||||
static ID_INLINE void sendEventForCharacter(NSEvent *event, unichar character, qboolean keyDownFlag, int currentTime)
|
||||
{
|
||||
if (in_showevents->integer)
|
||||
Com_Printf("CHARACTER: 0x%02x down=%d\n", character, keyDownFlag);
|
||||
@@ -563,7 +563,7 @@ static inline void sendEventForCharacter(NSEvent *event, unichar character, qboo
|
||||
}
|
||||
}
|
||||
|
||||
static inline void processKeyEvent(NSEvent *keyEvent, qboolean keyDownFlag, int currentTime)
|
||||
static ID_INLINE void processKeyEvent(NSEvent *keyEvent, qboolean keyDownFlag, int currentTime)
|
||||
{
|
||||
NSEventType eventType;
|
||||
NSString *characters;
|
||||
@@ -578,7 +578,7 @@ static inline void processKeyEvent(NSEvent *keyEvent, qboolean keyDownFlag, int
|
||||
}
|
||||
}
|
||||
|
||||
static inline void sendEventForMaskChangeInFlags(int quakeKey, unsigned int modifierMask, unsigned int newModifierFlags, int currentTime)
|
||||
static ID_INLINE void sendEventForMaskChangeInFlags(int quakeKey, unsigned int modifierMask, unsigned int newModifierFlags, int currentTime)
|
||||
{
|
||||
BOOL oldHadModifier, newHasModifier;
|
||||
|
||||
@@ -590,7 +590,7 @@ static inline void sendEventForMaskChangeInFlags(int quakeKey, unsigned int modi
|
||||
}
|
||||
}
|
||||
|
||||
static inline void processFlagsChangedEvent(NSEvent *flagsChangedEvent, int currentTime)
|
||||
static ID_INLINE void processFlagsChangedEvent(NSEvent *flagsChangedEvent, int currentTime)
|
||||
{
|
||||
int newModifierFlags;
|
||||
|
||||
@@ -603,7 +603,7 @@ static inline void processFlagsChangedEvent(NSEvent *flagsChangedEvent, int curr
|
||||
currentModifierFlags = newModifierFlags;
|
||||
}
|
||||
|
||||
static inline void processSystemDefinedEvent(NSEvent *systemDefinedEvent, int currentTime)
|
||||
static ID_INLINE void processSystemDefinedEvent(NSEvent *systemDefinedEvent, int currentTime)
|
||||
{
|
||||
static int oldButtons = 0;
|
||||
int buttonsDelta;
|
||||
@@ -666,7 +666,7 @@ static inline void processSystemDefinedEvent(NSEvent *systemDefinedEvent, int cu
|
||||
}
|
||||
}
|
||||
|
||||
static inline void processEvent(NSEvent *event, int currentTime)
|
||||
static ID_INLINE void processEvent(NSEvent *event, int currentTime)
|
||||
{
|
||||
NSEventType eventType;
|
||||
|
||||
|
||||
+337
-337
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user