Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"
#include "lib/lib.h"
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "lib/app_hooks.h"
#include "lib/sysdep/sysdep.h"
Functions | |
u32 | u64_hi (u64 x) |
u32 | u64_lo (u64 x) |
return upper 32-bits More... | |
u16 | u32_hi (u32 x) |
return lower 32-bits More... | |
u16 | u32_lo (u32 x) |
return upper 16-bits More... | |
u64 | u64_from_u32 (u32 hi, u32 lo) |
return lower 16-bits More... | |
u32 | u32_from_u16 (u16 hi, u16 lo) |
assemble u64 from u32 More... | |
u8 | u8_from_double (double in) |
convert double to u8; verifies number is in range. More... | |
u16 | u16_from_double (double in) |
convert double to u16; verifies number is in range. More... | |
u16 u16_from_double | ( | double | in | ) |
convert double to u16; verifies number is in range.
u8 u8_from_double | ( | double | in | ) |
convert double to u8; verifies number is in range.