- removed STACK_ARGS.
The only reason this even existed was that ZDoom's original VC projects used __fastcall. The CMake generated project do not, they stick to __cdecl. Since no performance gain can be seen by using __fastcall the best course of action is to just remove all traces of it from the source and forget that it ever existed.
This commit is contained in:
parent
76f00131ff
commit
db86385cf6
58 changed files with 232 additions and 211 deletions
|
|
@ -199,7 +199,7 @@ extern bool IsFloat (const char *str);
|
|||
|
||||
// PRIVATE FUNCTION PROTOTYPES ---------------------------------------------
|
||||
|
||||
static int STACK_ARGS SortPlayerClasses (const void *a, const void *b);
|
||||
static int SortPlayerClasses (const void *a, const void *b);
|
||||
static int S_DupPlayerSound (const char *pclass, int gender, int refid, int aliasref);
|
||||
static void S_SavePlayerSound (const char *pclass, int gender, int refid, int lumpnum, bool alias);
|
||||
static void S_RestorePlayerSounds();
|
||||
|
|
@ -1627,7 +1627,7 @@ void S_ShrinkPlayerSoundLists ()
|
|||
DefPlayerClass = S_FindPlayerClass (DefPlayerClassName);
|
||||
}
|
||||
|
||||
static int STACK_ARGS SortPlayerClasses (const void *a, const void *b)
|
||||
static int SortPlayerClasses (const void *a, const void *b)
|
||||
{
|
||||
return stricmp (((const FPlayerClassLookup *)a)->Name,
|
||||
((const FPlayerClassLookup *)b)->Name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue