call BI_Init in the clients

This commit is contained in:
Bill Currie 2002-01-20 04:10:36 +00:00
parent 1168f1aa86
commit e8f6fced0b
6 changed files with 19 additions and 6 deletions

View file

@ -58,12 +58,16 @@ void Cbuf_InsertText (const char *text);
// inserted at the beginning of the buffer, before any remaining unexecuted // inserted at the beginning of the buffer, before any remaining unexecuted
// commands. // commands.
void Cbuf_Execute_Sets (void);
void Cbuf_Execute (void); void Cbuf_Execute (void);
// Pulls off \n terminated lines of text from the command buffer and sends // Pulls off \n terminated lines of text from the command buffer and sends
// them through Cmd_ExecuteString. Stops when the buffer is empty. // them through Cmd_ExecuteString. Stops when the buffer is empty.
// Normally called once per frame, but may be explicitly invoked. // Normally called once per frame, but may be explicitly invoked.
// Do not call inside a command function! // Do not call inside a command function!
struct progs_s;
void Cbuf_Progs_Init (struct progs_s *pr);
//=========================================================================== //===========================================================================
/* /*
@ -141,7 +145,6 @@ void Cmd_ForwardToServer (void);
void Cmd_StuffCmds_f (void); void Cmd_StuffCmds_f (void);
void Cbuf_Execute_Sets (void);
void Cmd_Exec_File (const char *path); void Cmd_Exec_File (const char *path);
extern char *com_token; extern char *com_token;

View file

@ -65,7 +65,8 @@ EXTRA_libqfnet_la_SOURCES= \
net_wipx.c net_udp.c net_wipx.c net_udp.c
cl_plugin_LIBS= \ cl_plugin_LIBS= \
$(CLIENT_PLUGIN_STATIC_LIBS) $(CLIENT_PLUGIN_STATIC_LIBS) \
$(top_builddir)/libs/gamecode/builtins/libQFcsqc.la
client_LIBFILES= \ client_LIBFILES= \
$(top_builddir)/libs/video/targets/libQFjs.la \ $(top_builddir)/libs/video/targets/libQFjs.la \
@ -81,8 +82,8 @@ common_LIBFILES= \
libasm.la \ libasm.la \
libqfnet.la \ libqfnet.la \
$(top_builddir)/libs/console/libQFconsole.la \ $(top_builddir)/libs/console/libQFconsole.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \ $(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/gib/libQFgib.la \ $(top_builddir)/libs/gib/libQFgib.la \
$(top_builddir)/libs/util/libQFutil.la $(top_builddir)/libs/util/libQFutil.la

View file

@ -34,6 +34,7 @@ static const char rcsid[] =
#include "QF/cdaudio.h" #include "QF/cdaudio.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/csqc.h"
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/gib.h" #include "QF/gib.h"
@ -938,6 +939,7 @@ Host_Init (quakeparms_t *parms)
Cbuf_Execute_Sets (); Cbuf_Execute_Sets ();
PR_Init (); PR_Init ();
BI_Init ();
V_Init (); V_Init ();
COM_Filesystem_Init (); COM_Filesystem_Init ();

View file

@ -303,3 +303,7 @@ console_client_PluginInfo (void)
return 0; return 0;
} }
void
BI_Init (void)
{
}

View file

@ -84,8 +84,8 @@ server_sources= crudefile.c sv_ccmds.c sv_cvar.c sv_ents.c \
qf_server_LIBS= \ qf_server_LIBS= \
$(SERVER_PLUGIN_STATIC_LIBS) \ $(SERVER_PLUGIN_STATIC_LIBS) \
$(top_builddir)/libs/models/libQFmodels.la \ $(top_builddir)/libs/models/libQFmodels.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \ $(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/console/libQFconsole.la \ $(top_builddir)/libs/console/libQFconsole.la \
$(top_builddir)/libs/util/libQFutil.la $(top_builddir)/libs/util/libQFutil.la
@ -99,13 +99,14 @@ qw_master_LDADD= $(NET_LIBS)
qw_master_LDFLAGS= $(common_ldflags) qw_master_LDFLAGS= $(common_ldflags)
cl_plugin_LIBS= \ cl_plugin_LIBS= \
$(CLIENT_PLUGIN_STATIC_LIBS) $(CLIENT_PLUGIN_STATIC_LIBS) \
$(top_builddir)/libs/gamecode/builtins/libQFcsqc.la
qf_client_LIBS= \ qf_client_LIBS= \
$(top_builddir)/libs/console/libQFconsole.la \ $(top_builddir)/libs/console/libQFconsole.la \
$(top_builddir)/libs/video/targets/libQFjs.la \ $(top_builddir)/libs/video/targets/libQFjs.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \ $(top_builddir)/libs/gamecode/builtins/libQFgamecode_builtins.la \
$(top_builddir)/libs/gamecode/engine/libQFgamecode.la \
$(top_builddir)/libs/audio/libQFcd.la \ $(top_builddir)/libs/audio/libQFcd.la \
$(top_builddir)/libs/audio/libQFsound.la \ $(top_builddir)/libs/audio/libQFsound.la \
$(top_builddir)/libs/util/libQFutil.la $(top_builddir)/libs/util/libQFutil.la

View file

@ -66,6 +66,7 @@ static const char rcsid[] =
#include "QF/cdaudio.h" #include "QF/cdaudio.h"
#include "QF/cmd.h" #include "QF/cmd.h"
#include "QF/console.h" #include "QF/console.h"
#include "QF/csqc.h"
#include "QF/cvar.h" #include "QF/cvar.h"
#include "QF/draw.h" #include "QF/draw.h"
#include "QF/input.h" #include "QF/input.h"
@ -1677,6 +1678,7 @@ Host_Init (void)
VID_Init_Cvars (); VID_Init_Cvars ();
PR_Init (); PR_Init ();
BI_Init ();
cl_Cmd_Init (); cl_Cmd_Init ();
V_Init (); V_Init ();