mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-14 17:01:22 +00:00
136bf882f6
Font and text handling is very much part of user interface and at least partially independent of rendering, but does fit it better with GUI than genera UI (ie, both graphics and text mode), thus libQFgui as well as libQFui are built in the ui directory. The existing font related builtins have been moved into the ruamoko client library.
51 lines
1.2 KiB
C
51 lines
1.2 KiB
C
/*
|
|
bi_game_init.c
|
|
|
|
CSQC builtins init
|
|
|
|
Copyright (C) 2021 Bill Currie <bill@taniwha.org>
|
|
|
|
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, write to:
|
|
|
|
Free Software Foundation, Inc.
|
|
59 Temple Place - Suite 330
|
|
Boston, MA 02111-1307, USA
|
|
|
|
*/
|
|
#ifdef HAVE_CONFIG_H
|
|
# include "config.h"
|
|
#endif
|
|
|
|
#include "QF/progs.h"
|
|
#include "QF/ruamoko.h"
|
|
|
|
#include "rua_internal.h"
|
|
|
|
static void (*init_funcs[])(progs_t *, int) = {
|
|
RUA_GUI_Init,
|
|
RUA_Input_Init,
|
|
RUA_Mersenne_Init,
|
|
RUA_Model_Init,
|
|
RUA_Scene_Init,
|
|
};
|
|
|
|
VISIBLE void
|
|
RUA_Game_Init (progs_t *pr, int secure)
|
|
{
|
|
size_t i;
|
|
|
|
for (i = 0; i < sizeof (init_funcs) / sizeof (init_funcs[0]); i++)
|
|
init_funcs[i] (pr, secure);
|
|
}
|