Alientech 0.01
An extendable game engine
C:/Alientech/tempClone/AlienCargoHold/ACHCommonUtils.h File Reference
#include <fstream>
#include <string>
#include "CAlienCargoHold.h"

Go to the source code of this file.

Namespaces

namespace  alien::utils

Functions

string alien::utils::readName (ifstream *file)
 Reads a name from a CargoHold file A name is defined as an unsigned character determining the length of the string followed by a null terminated string of characters.
int alien::utils::readInt (ifstream *file)
 Reads an integer from a CargoHold file.
unsigned alien::utils::readUnsigned (ifstream *file)
 Reads an unsigned integer from a CargoHold file.