|
OpenCoD2-Plus
Call of Duty 2 client & server, rebuilt
|
Classes | |
| class | cod2snap.ParseError |
| class | cod2snap.MsgReader |
| class | cod2snap.ServerState |
Namespaces | |
| namespace | cod2snap |
Functions | |
| cod2snap._fields (text) | |
| cod2snap._zero (fields) | |
| cod2snap.read_playerstate_field (r, bits) | |
| cod2snap.read_delta_field (r, base, name, bits, plus_time=None) | |
| cod2snap.read_delta_struct (r, base, fields, plus_time=None) | |
| cod2snap.read_delta_fields (r, base, fields) | |
| cod2snap.read_hudelems (r) | |
| cod2snap.read_playerstate (r) | |
| cod2snap.grouped (values) | |
Variables | |
| cod2snap.SVC_DOWNLOAD | |
| cod2snap.SVC_SNAPSHOT | |
| cod2snap.SVC_EOF | |
| cod2snap.SVC_SNAPSHOT_PLUS | |
| int | cod2snap.PLUS_TIME_OFFSET_BITS = 11 |
| int | cod2snap.GENTITYNUM_BITS = 10 |
| int | cod2snap.MAX_GENTITIES = 1 << GENTITYNUM_BITS |
| int | cod2snap.CLIENTNUM_BITS = 6 |
| int | cod2snap.MAX_STATS = 6 |
| int | cod2snap.MAX_OBJECTIVES = 16 |
| int | cod2snap.OBJECTIVE_STATE_BITS = 3 |
| int | cod2snap.HUDELEM_BITS = 5 |
| int | cod2snap.MAX_HUDELEMS = 31 |
| int | cod2snap.FLOAT_INT_BIAS = 1 << 12 |
| int | cod2snap.HUDELEM_COORD_BIAS = 1 << 9 |
| int | cod2snap.ET_PLAYER = 1 |
| str | cod2snap._PS |
| str | cod2snap._ENTITY |
| str | cod2snap._CLIENT |
| str | cod2snap._OBJECTIVE = "origin[0] 0; origin[1] 0; origin[2] 0; icon 12; entNum 10; teamNum 4" |
| str | cod2snap._HUDELEM |
| cod2snap.PLAYERSTATE_FIELDS = _fields(_PS) | |
| cod2snap.ENTITY_FIELDS = _fields(_ENTITY) | |
| cod2snap.CLIENT_FIELDS = _fields(_CLIENT) | |
| cod2snap.OBJECTIVE_FIELDS = _fields(_OBJECTIVE) | |
| cod2snap.HUDELEM_FIELDS = _fields(_HUDELEM) | |