Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
generals.cpp File Reference
#include <wstring.h>
#include <tcp.h>
#include <wdebug.h>
#include "mydebug.h"
#include <ghttp/ghttp.h>
#include <cmath>
#include <cstdlib>
#include <algorithm>
#include <strstream>
#include "generals.h"
#include "global.h"

Go to the source code of this file.

Macros

#define W(x)
 

Functions

std::string intToString (int val)
 
std::string uintToString (unsigned int val)
 
MapBitSet MapSetUnion (const MapBitSet &a, const MapBitSet &b)
 
int MapSetCount (const MapBitSet &a)
 
int calcPingDelta (const GeneralsUser *a, const GeneralsUser *b)
 

Macro Definition Documentation

◆ W

#define W ( x)
Value:
setw(x) <<

Definition at line 204 of file generals.cpp.

Function Documentation

◆ calcPingDelta()

int calcPingDelta ( const GeneralsUser * a,
const GeneralsUser * b )

Definition at line 149 of file generals.cpp.

◆ intToString()

std::string intToString ( int val)

Definition at line 60 of file generals.cpp.

◆ MapSetCount()

int MapSetCount ( const MapBitSet & a)

Definition at line 115 of file generals.cpp.

◆ MapSetUnion()

MapBitSet MapSetUnion ( const MapBitSet & a,
const MapBitSet & b )

Definition at line 101 of file generals.cpp.

◆ uintToString()

std::string uintToString ( unsigned int val)

Definition at line 84 of file generals.cpp.