![]() |
TrinityCore
|
#include "G3D/platform.h"#include "G3D/System.h"#include "G3D/debug.h"#include "G3D/fileutils.h"#include "G3D/TextOutput.h"#include "G3D/G3DGameUnits.h"#include "G3D/Crypto.h"#include "G3D/prompt.h"#include "G3D/stringutils.h"#include "G3D/Log.h"#include "G3D/Table.h"#include "G3D/GMutex.h"#include "G3D/units.h"#include "G3D/FileSystem.h"#include <time.h>#include <cstring>#include <cstdio>#include <cstdlib>#include <xmmintrin.h>
Include dependency graph for System.cpp:Classes | |
| class | G3D::BufferPool |
| class | G3D::BufferPool::MemBlock |
Namespaces | |
| G3D | |
Macros | |
| #define | MARK_LOG() |
| #define | checkBit(var, bit) ((var & (1 << bit)) ? true : false) |
| #define | REALPTR_TO_USERPTR(x) ((uint8*)(x) + sizeof(size_t)) |
| #define | USERPTR_TO_REALPTR(x) ((uint8*)(x) - sizeof(size_t)) |
| #define | USERSIZE_TO_REALSIZE(x) ((x) + sizeof(size_t)) |
| #define | REALSIZE_FROM_USERPTR(u) (*(size_t*)USERPTR_TO_REALPTR(ptr) + sizeof(size_t)) |
| #define | USERSIZE_FROM_USERPTR(u) (*(size_t*)USERPTR_TO_REALPTR(ptr)) |
Functions | |
| static bool | G3D::checkForCPUID () |
| static void | G3D::getG3DVersion (std::string &s) |
| static G3DEndian | G3D::checkEndian () |
| static std::string | G3D::computeAppName (const std::string &start) |
| void | G3D::initMem () |
| static void | G3D::var (TextOutput &t, const std::string &name, const std::string &val) |
| static void | G3D::var (TextOutput &t, const std::string &name, const bool val) |
| static void | G3D::var (TextOutput &t, const std::string &name, const int val) |
Variables | |
| static Table< std::string, std::string > | G3D::lastFound |
| static Array< std::string > | G3D::directoryArray |
| static BufferPool * | G3D::bufferpool = NULL |
| #define MARK_LOG | ( | ) |
| #define REALPTR_TO_USERPTR | ( | x | ) | ((uint8*)(x) + sizeof(size_t)) |
| #define REALSIZE_FROM_USERPTR | ( | u | ) | (*(size_t*)USERPTR_TO_REALPTR(ptr) + sizeof(size_t)) |
| #define USERPTR_TO_REALPTR | ( | x | ) | ((uint8*)(x) - sizeof(size_t)) |
| #define USERSIZE_FROM_USERPTR | ( | u | ) | (*(size_t*)USERPTR_TO_REALPTR(ptr)) |
| #define USERSIZE_TO_REALSIZE | ( | x | ) | ((x) + sizeof(size_t)) |
1.8.8