mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
static-ize inline functions for Clang/LLVM
From /dev/humancontroller.
This commit is contained in:
parent
afa607c3b6
commit
68b3b0922b
1 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ void AAS_RoutingInfo(void)
|
||||||
// Returns: -
|
// Returns: -
|
||||||
// Changes Globals: -
|
// Changes Globals: -
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
ID_INLINE int AAS_ClusterAreaNum(int cluster, int areanum)
|
static ID_INLINE int AAS_ClusterAreaNum(int cluster, int areanum)
|
||||||
{
|
{
|
||||||
int side, areacluster;
|
int side, areacluster;
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ void AAS_InitTravelFlagFromType(void)
|
||||||
// Returns: -
|
// Returns: -
|
||||||
// Changes Globals: -
|
// Changes Globals: -
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
ID_INLINE int AAS_TravelFlagForType_inline(int traveltype)
|
static ID_INLINE int AAS_TravelFlagForType_inline(int traveltype)
|
||||||
{
|
{
|
||||||
int tfl;
|
int tfl;
|
||||||
|
|
||||||
|
@ -339,7 +339,7 @@ int AAS_EnableRoutingArea(int areanum, int enable)
|
||||||
// Returns: -
|
// Returns: -
|
||||||
// Changes Globals: -
|
// Changes Globals: -
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
ID_INLINE float AAS_RoutingTime(void)
|
static ID_INLINE float AAS_RoutingTime(void)
|
||||||
{
|
{
|
||||||
return AAS_Time();
|
return AAS_Time();
|
||||||
} //end of the function AAS_RoutingTime
|
} //end of the function AAS_RoutingTime
|
||||||
|
@ -379,7 +379,7 @@ int AAS_GetAreaContentsTravelFlags(int areanum)
|
||||||
// Returns: -
|
// Returns: -
|
||||||
// Changes Globals: -
|
// Changes Globals: -
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
ID_INLINE int AAS_AreaContentsTravelFlags_inline(int areanum)
|
static ID_INLINE int AAS_AreaContentsTravelFlags_inline(int areanum)
|
||||||
{
|
{
|
||||||
return aasworld.areacontentstravelflags[areanum];
|
return aasworld.areacontentstravelflags[areanum];
|
||||||
} //end of the function AAS_AreaContentsTravelFlags
|
} //end of the function AAS_AreaContentsTravelFlags
|
||||||
|
|
Loading…
Reference in a new issue