Functions |
|
void * | RwMemLittleEndian32 (void *mem, RwUInt32 size) |
void * | RwMemLittleEndian16 (void *mem, RwUInt32 size) |
void * | RwMemNative32 (void *mem, RwUInt32 size) |
void * | RwMemNative16 (void *mem, RwUInt32 size) |
void * | RwMemRealToFloat32 (void *mem, RwUInt32 size) |
void * | RwMemFloat32ToReal (void *mem, RwUInt32 size) |
A set of utility functions intended to ease cross-platform compatibility of RenderWare data structures.
These functions include conversions from RenderWare's intrinsic types - RwInt32, RwInt16, RwReal, etc. - into platform-neutral forms.
|
RwMemFloat32ToReal is used to convert an array of 32-bit floats to an array of reals. This allows portability between machines that represent floating point numbers in different ways.
|
|
RwMemLittleEndian16 converts a specified chunk of memory to a little endian format suitable for writing out to a binary file. The binary format specifies little endian as a standard to permit compatibility across different endian-ness machines.
|
|
RwMemLittleEndian32 converts a specified chunk of memory to a little endian format suitable for writing out to a binary file. The binary format specifies little endian as a standard to permit compatibility across different endian-ness machines.
|
|
RwMemNative16 is used to convert the specified chunk of memory from a little endian format to native format after reading the chunk from a binary file. The binary format specifies little endian as a standard to permit compatibility across different endian- ness machines.
|
|
RwMemNative32 is used to convert the specified chunk of memory from a little endian format to native format after reading the chunk from a binary file. The binary format specifies little endian as a standard to permit compatibility across different endian- ness machines.
|
|
RwMemRealToFloat32 converts an array of reals to an array of 32 bit floats. This allows portability between machines which represent floating point numbers in different ways.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |