Byte order functions header. More...
#include "ufotypes.h"
Go to the source code of this file.
Functions | |
short | BigShort (uint16_t l) |
short | LittleShort (uint16_t l) |
int | BigLong (uint32_t l) |
int | LittleLong (uint32_t l) |
float | BigFloat (float l) |
float | LittleFloat (float l) |
void | Swap_Init (void) |
Byte order functions header.
Definition in file byte.h.
float BigFloat | ( | float | l | ) |
Definition at line 52 of file byte.c.
References _BigFloat.
Referenced by R_ModLoadAliasDPMModel(), and SV_ModLoadAliasDPMModel().
int BigLong | ( | uint32_t | l | ) |
Definition at line 44 of file byte.c.
Referenced by R_ModLoadAliasDPMModel(), and SV_ModLoadAliasDPMModel().
float LittleFloat | ( | float | l | ) |
Definition at line 56 of file byte.c.
References _LittleFloat.
Referenced by CMod_LoadPlanes(), CMod_LoadSubmodels(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD3Model(), R_ModLoadNormals(), R_ModLoadPlanes(), R_ModLoadSubmodels(), R_ModLoadTags(), R_ModLoadTexinfo(), R_ModLoadVertexes(), SV_ModLoadAliasMD2Model(), SV_ModLoadAliasMD3Model(), and SwapBSPFile().
int LittleLong | ( | uint32_t | l | ) |
Definition at line 48 of file byte.c.
Referenced by AddLump(), CheckBSPFile(), CIN_ROQ_DecodeChunk(), CIN_ROQ_PlayCinematic(), CM_AddMapTile(), CMod_LoadBrushes(), CMod_LoadLeafs(), CMod_LoadNodes(), CMod_LoadPlanes(), CMod_LoadRouting(), CMod_LoadSubmodels(), CMod_LoadSurfaces(), Com_GetScriptChecksum(), DoRouting(), LoadBSPFile(), LoadModel(), MD2Check(), MD2GLCmdsRemove(), MD2HeaderCheck(), MD2SkinEdit(), MD2SkinFix(), ModelWorker(), MP_LoadTeamMultiplayer(), MP_MultiplayerTeamSlotComments_f(), MP_SaveTeamMultiplayer(), NET_OOB_Printf(), NET_ReadLong(), NET_ReadMsg(), NET_WriteConstMsg(), NET_WriteLong(), NET_WriteMsg(), R_ModAddMapTile(), R_ModForName(), R_ModLoadAliasMD2Mesh(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD2Model(), R_ModLoadAliasMD3Model(), R_ModLoadLeafs(), R_ModLoadMDX(), R_ModLoadNodes(), R_ModLoadPlanes(), R_ModLoadSubmodels(), R_ModLoadSurfaces(), R_ModLoadSurfedges(), R_ModLoadTags(), R_ModLoadTexinfo(), SAV_GameLoad(), SAV_GameSave(), SV_LoadModelMinsMaxs(), SV_ModLoadAliasMD2Model(), SV_ModLoadAliasMD3Model(), SwapBSPFile(), WriteBSPFile(), and WriteToFile().
short LittleShort | ( | uint16_t | l | ) |
Definition at line 40 of file byte.c.
Referenced by CIN_ROQ_DecodeChunk(), CIN_ROQ_DecodeInfo(), CIN_ROQ_DecodeVideo(), CIN_ROQ_PlayCinematic(), CMod_LoadBrushSides(), CMod_LoadLeafBrushes(), CMod_LoadLeafs(), CMod_LoadNodes(), LoadTGA(), M_AddToSampleBuffer(), NET_PeekShort(), NET_ReadShort(), NET_WriteShort(), R_ModLoadAliasMD2MeshIndexed(), R_ModLoadAliasMD2MeshUnindexed(), R_ModLoadAliasMD3Model(), R_ModLoadEdges(), R_ModLoadLeafs(), R_ModLoadNodes(), R_ModLoadSurfaces(), and SwapBSPFile().
void Swap_Init | ( | void | ) |
Definition at line 87 of file byte.c.
References _BigFloat, _LittleFloat, Com_Printf(), FloatNoSwap(), and FloatSwap().
Referenced by main(), Qcommon_Init(), and TEST_Init().