mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-02 09:31:12 +00:00
Split off the old console parser into idparse.[ch] and prepared the cbuf
struct and support functions for GIB mark III. Oh yeah, I'm back.
This commit is contained in:
parent
ad8176d68c
commit
a93b221272
11 changed files with 242 additions and 137 deletions
|
@ -31,6 +31,7 @@ static const char rcsid[] =
|
|||
# include "config.h"
|
||||
#endif
|
||||
#include "QF/cbuf.h"
|
||||
#include "QF/idparse.h" // For now, use the id console parser
|
||||
#include "QF/progs.h"
|
||||
|
||||
static cbuf_t *cbuf; //FIXME use a properly allocated cbuf rather than this hack
|
||||
|
@ -39,7 +40,7 @@ static inline void
|
|||
check_cbuf (void)
|
||||
{
|
||||
if (!cbuf)
|
||||
cbuf = Cbuf_New ();
|
||||
cbuf = Cbuf_New (COM_extract_line, COM_parse_line, NULL, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -39,6 +39,7 @@ static const char rcsid[] =
|
|||
#endif
|
||||
|
||||
#include "QF/cbuf.h"
|
||||
#include "QF/idparse.h"
|
||||
#include "QF/keys.h"
|
||||
#include "QF/progs.h"
|
||||
#include "QF/zone.h"
|
||||
|
@ -49,7 +50,7 @@ static inline void
|
|||
check_cbuf (void)
|
||||
{
|
||||
if (!cbuf)
|
||||
cbuf = Cbuf_New ();
|
||||
cbuf = Cbuf_New (COM_extract_line, COM_parse_line, NULL, NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue