/
server_dummies.h
88 lines (73 loc) · 3.24 KB
/
server_dummies.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/** @file server_dummies.h Dummy functions for the server.
* @ingroup server
*
* Empty dummy functions that replace certain client-only functionality on
* engine-side. Ideally none of these would be needed; each one represents a
* client-only function call that should not be done in common/shared code.
* (There should be no shared code outside libdeng1/2.)
*
* @todo Add a @c libdeng_gui for UI/graphics code. Many of these belong there
* instead of being exported out of the client executable for game plugins'
* needs.
*
* @authors Copyright © 2012-2013 Jaakko Keränen <jaakko.keranen@iki.fi>
*
* @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 SERVER_DUMMIES_H
#define SERVER_DUMMIES_H
#include <de/libdeng1.h>
#include "def_data.h"
#include "world/map.h"
#ifndef __SERVER__
# error "Attempted to include server's header in a non-server build"
#endif
DENG_EXTERN_C void Con_TransitionRegister();
DENG_EXTERN_C void Con_TransitionTicker(timespan_t t);
DENG_EXTERN_C void Con_SetProgress(int progress);
DENG_EXTERN_C void GL_Shutdown();
DENG_EXTERN_C void R_RenderPlayerView(int num);
DENG_EXTERN_C void R_SetBorderGfx(Uri const *const *paths);
DENG_EXTERN_C void R_SkyParams(int layer, int param, void *data);
DENG_EXTERN_C void R_InitSvgs(void);
DENG_EXTERN_C void R_ShutdownSvgs(void);
DENG_EXTERN_C struct font_s* R_CreateFontFromDef(ded_compositefont_t* def);
DENG_EXTERN_C void FR_Init(void);
/*DENG_EXTERN_C void Fonts_Init(void);
DENG_EXTERN_C fontschemeid_t Fonts_ParseScheme(const char* str);
//DENG_EXTERN_C fontid_t Fonts_ResolveUri(Uri const *uri);
DENG_EXTERN_C fontid_t Fonts_ResolveUriCString(const char* uri);
DENG_EXTERN_C void Fonts_ClearDefinitionLinks(void);
DENG_EXTERN_C void Fonts_ClearRuntime(void);*/
DENG_EXTERN_C void Rend_Init(void);
//DENG_EXTERN_C void Rend_DecorInitForMap();
//DENG_EXTERN_C void Rend_CacheForMap();
DENG_EXTERN_C void Rend_CacheForMobjType(int num);
//DENG_EXTERN_C void Rend_UpdateLightModMatrix();
DENG_EXTERN_C void Rend_ConsoleInit();
DENG_EXTERN_C void Rend_ConsoleResize(int force);
DENG_EXTERN_C void Rend_ConsoleOpen(int yes);
DENG_EXTERN_C void Rend_ConsoleToggleFullscreen();
DENG_EXTERN_C void Rend_ConsoleMove(int y);
DENG_EXTERN_C void Rend_ConsoleCursorResetBlink();
DENG_EXTERN_C void Sky_Ticker();
DENG_EXTERN_C void Models_Init();
DENG_EXTERN_C void Models_Shutdown();
DENG_EXTERN_C void Models_CacheForState(int stateIndex);
DENG_EXTERN_C void Cl_InitPlayers(void);
DENG_EXTERN_C void UI_Init();
DENG_EXTERN_C void UI_Ticker(timespan_t t);
DENG_EXTERN_C void UI2_Ticker(timespan_t t);
DENG_EXTERN_C void UI_Shutdown();
#endif // SERVER_DUMMIES_H