Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include "config.h"
#include <endian.h>
#include <byteswap.h>
Go to the source code of this file.
Macros | |
#define | le32_to_cpu(x) ( bswap_32( x ) ) |
#define | le16_to_cpu(x) ( bswap_16( x ) ) |
#define | le64_to_cpu(x) ( DONTUSE__NXSwapBigDoubleToLittleEndian( x ) ) |
Functions | |
double | DONTUSE__NXSwapBigDoubleToLittleEndian (double x) |
float | VSSwapHostFloatToLittle (float x) |
double | VSSwapHostDoubleToLittle (double x) |
unsigned int | VSSwapHostIntToLittle (unsigned int x) |
unsigned short | VSSwapHostShortToLittle (unsigned short x) |
Definition at line 56 of file endianness.h.
Referenced by LoadTex(), reads(), and VSSwapHostShortToLittle().
Definition at line 55 of file endianness.h.
Referenced by DONTUSE__NXSwapBigDoubleToLittleEndian(), LoadTex(), readf(), ReadFloat(), readi(), ReadInt(), VSSwapHostFloatToLittle(), and VSSwapHostIntToLittle().
#define le64_to_cpu | ( | x) | ( DONTUSE__NXSwapBigDoubleToLittleEndian( x ) ) |
Definition at line 57 of file endianness.h.
Referenced by VSSwapHostDoubleToLittle().
|
inline |
|
inline |
Definition at line 78 of file endianness.h.
References le64_to_cpu.
Definition at line 65 of file endianness.h.
References f, i, le32_to_cpu, and x.
Referenced by Mesh::LoadMeshes(), Quaternion::netswap(), Matrix::netswap(), weapon_info::netswap(), and GFXColor::netswap().
Definition at line 83 of file endianness.h.
References le32_to_cpu.
Referenced by Mesh::LoadMeshes(), and weapon_info::netswap().
|
inline |
Definition at line 88 of file endianness.h.
References le16_to_cpu.
Referenced by getWeaponInfoFromBuffer().