/
cl_world.h
67 lines (56 loc) · 1.99 KB
/
cl_world.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/** @file cl_world.h Clientside world management.
*
* @authors Copyright © 2003-2013 Jaakko Keränen <jaakko.keranen@iki.fi>
* @authors Copyright © 2006-2013 Daniel Swanson <danij@dengine.net>
*
* @par License
* GPL: http://www.gnu.org/licenses/gpl.html
*
* <small>This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. This program is distributed in the hope that it
* will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details. You should have received a copy of the GNU
* General Public License along with this program; if not, see:
* http://www.gnu.org/licenses</small>
*/
#ifndef DENG_CLIENT_WORLD_MAP_H
#define DENG_CLIENT_WORLD_MAP_H
/**
* Clears the arrays that track active plane and polyobj mover thinkers.
*/
void Cl_InitTransTables();
/**
* Removes all the active movers.
*/
void Cl_ResetTransTables();
/**
* Handles the PSV_MATERIAL_ARCHIVE packet sent by the server. The list of
* materials is stored until the client disconnects.
*/
void Cl_ReadServerMaterials();
/**
* Handles the PSV_MOBJ_TYPE_ID_LIST packet sent by the server.
*/
void Cl_ReadServerMobjTypeIDs();
/**
* Handles the PSV_MOBJ_STATE_ID_LIST packet sent by the server.
*/
void Cl_ReadServerMobjStateIDs();
int Cl_LocalMobjType(int serverMobjType);
int Cl_LocalMobjState(int serverMobjState);
/**
* Reads a sector delta from the PSV_FRAME2 message buffer and applies it to the world.
*/
void Cl_ReadSectorDelta(int deltaType);
/**
* Reads a side delta from the message buffer and applies it to the world.
*/
void Cl_ReadSideDelta(int deltaType);
/**
* Reads a poly delta from the message buffer and applies it to the world.
*/
void Cl_ReadPolyDelta();
#endif // DENG_CLIENT_WORLD_MAP_H