Xonotic
|
#include "int.qh"
Go to the source code of this file.
Macros | |
#define | db_remove(db, key) db_put(db, key, "") |
#define | HM_DELETE(this) db_close(this) |
#define | HM_gets(this, k) db_get(this, k) |
#define | HM_NEW(this) (this = db_create()) |
#define | HM_sets(this, key, val) db_put(this, key, val) |
Typedefs | |
using | HashMap = int |
Functions | |
ERASEABLE void | db_close (int db) |
ERASEABLE int | db_create () |
ERASEABLE void | db_dump (int db, string filename) |
ERASEABLE string | db_get (int db, string key) |
ERASEABLE int | db_load (string filename) |
ERASEABLE void | db_put (int db, string key, string value) |
ERASEABLE void | db_save (int db, string filename) |
Variables | |
const int | DB_BUCKETS = 8192 |
#define db_remove | ( | db, | |
key | |||
) | db_put(db, key, "") |
Definition at line 98 of file map.qh.
Referenced by race_deleteTime(), and uid2name().
Definition at line 88 of file map.qh.
Referenced by SHUTDOWN().
Definition at line 29 of file map.qh.
Referenced by STATIC_INIT().
Definition at line 84 of file map.qh.
Referenced by CSQC_UpdateView(), GameCommand_database(), GameCommand_effectindexdump(), GenericCommand_rpn(), MapInfo_Cache_Destroy(), SHUTDOWN(), and Shutdown().
Definition at line 25 of file map.qh.
References buf_create.
Referenced by CSQC_Init(), CSQC_UpdateView(), GameCommand_effectindexdump(), GenericCommand_rpn(), MapInfo_Cache_Create(), and spawnfunc().
Definition at line 69 of file map.qh.
References argv(), ERASEABLE, fclose(), FILE_WRITE, fopen(), fputs(), LOG_FATALF, strcat(), and tokenizebyseparator.
Referenced by GameCommand_database(), and Shutdown().
Definition at line 91 of file map.qh.
References DB_BUCKETS.
Referenced by _getcommandkey(), ctf_CaptureRecord(), ctf_Initialize(), GameCommand_effectindexdump(), GenericCommand_rpn(), getladder(), HUD_Mod_Race(), MapInfo_Cache_Retrieve(), MapInfo_Cache_Store(), MUTATOR_HOOKFUNCTION(), race_readName(), race_readTime(), race_readUID(), race_SendAll(), uid2name(), and XonoticStatsList_getStats().
Definition at line 35 of file map.qh.
References argv(), buf_create, DB_BUCKETS, db_put(), ERASEABLE, fclose(), fgets(), FILE_READ, fopen(), stoi, and tokenizebyseparator.
Referenced by CSQC_Init(), GameCommand_database(), GenericCommand_rpn(), RestoreGame(), and spawnfunc().
Definition at line 101 of file map.qh.
References DB_BUCKETS.
Referenced by _getcommandkey(), ctf_CaptureRecord(), db_load(), GameCommand_effectindexdump(), GenericCommand_rpn(), getladder(), HUD_Mod_Race(), MapInfo_Cache_Store(), print_Effect_Index(), race_checkAndWriteName(), race_deleteTime(), race_SpeedAwardFrame(), race_writeTime(), and uid2name().
Definition at line 8 of file map.qh.
References DB_BUCKETS, fclose(), FILE_WRITE, fopen(), fputs(), ftos(), LOG_WARNF, and strcat().
Referenced by GameCommand_database(), GenericCommand_rpn(), and Shutdown().