mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
rename console_t to old_console_t in preparation for a better version and
temporarily disable the client console plugin as it currently doesn't compile.
This commit is contained in:
parent
e12f1dcf9e
commit
138a4a1c14
4 changed files with 15 additions and 15 deletions
|
@ -42,7 +42,7 @@ typedef struct
|
||||||
int x; // offset in current line for next print
|
int x; // offset in current line for next print
|
||||||
int display; // bottom of console displays this line
|
int display; // bottom of console displays this line
|
||||||
int numlines; // number of non-blank text lines, used for backscroling
|
int numlines; // number of non-blank text lines, used for backscroling
|
||||||
} console_t;
|
} old_console_t;
|
||||||
|
|
||||||
typedef struct inputline_s
|
typedef struct inputline_s
|
||||||
{
|
{
|
||||||
|
@ -61,9 +61,9 @@ typedef struct inputline_s
|
||||||
void (*draw)(struct inputline_s *); // draw input line to screen
|
void (*draw)(struct inputline_s *); // draw input line to screen
|
||||||
} inputline_t;
|
} inputline_t;
|
||||||
|
|
||||||
extern console_t con_main;
|
extern old_console_t con_main;
|
||||||
extern console_t con_chat;
|
extern old_console_t con_chat;
|
||||||
extern console_t *con; // point to either con_main or con_chat
|
extern old_console_t *con; // point to either con_main or con_chat
|
||||||
|
|
||||||
extern int con_ormask;
|
extern int con_ormask;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
INCLUDES= -I$(top_srcdir)/include
|
INCLUDES= -I$(top_srcdir)/include
|
||||||
|
|
||||||
lib_LTLIBRARIES= libQFconsole.la
|
lib_LTLIBRARIES= libQFconsole.la
|
||||||
plugin_LTLIBRARIES= libconsole_client.la libconsole_server.la
|
plugin_LTLIBRARIES= libconsole_server.la #libconsole_client.la
|
||||||
|
|
||||||
common_sources= complete.c console.c inputline.c list.c
|
common_sources= complete.c console.c inputline.c list.c
|
||||||
client_sources= client.c
|
client_sources= client.c
|
||||||
|
@ -10,8 +10,8 @@ server_sources= server.c
|
||||||
libQFconsole_la_LDFLAGS= -version-info 1:0:0
|
libQFconsole_la_LDFLAGS= -version-info 1:0:0
|
||||||
libQFconsole_la_SOURCES= $(common_sources)
|
libQFconsole_la_SOURCES= $(common_sources)
|
||||||
|
|
||||||
libconsole_client_la_LDFLAGS= -version-info 1:0:0
|
#libconsole_client_la_LDFLAGS= -version-info 1:0:0
|
||||||
libconsole_client_la_SOURCES= $(client_sources)
|
#libconsole_client_la_SOURCES= $(client_sources)
|
||||||
|
|
||||||
libconsole_server_la_LDFLAGS= -version-info 1:0:0
|
libconsole_server_la_LDFLAGS= -version-info 1:0:0
|
||||||
libconsole_server_la_LIBADD= $(CURSES_LIBS)
|
libconsole_server_la_LIBADD= $(CURSES_LIBS)
|
||||||
|
|
|
@ -53,9 +53,9 @@ static const char rcsid[] =
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
console_t con_main;
|
old_console_t con_main;
|
||||||
console_t con_chat;
|
old_console_t con_chat;
|
||||||
console_t *con; // point to either con_main or con_chat
|
old_console_t *con; // point to either con_main or con_chat
|
||||||
|
|
||||||
int con_linewidth; // characters across screen
|
int con_linewidth; // characters across screen
|
||||||
int con_ormask;
|
int con_ormask;
|
||||||
|
@ -153,7 +153,7 @@ Con_MessageMode2_f (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Con_Resize (console_t *con)
|
Con_Resize (old_console_t *con)
|
||||||
{
|
{
|
||||||
char tbuf[CON_TEXTSIZE];
|
char tbuf[CON_TEXTSIZE];
|
||||||
int i, j, width, oldwidth, oldtotallines, numlines, numchars;
|
int i, j, width, oldwidth, oldtotallines, numlines, numchars;
|
||||||
|
|
|
@ -53,9 +53,9 @@ static const char rcsid[] =
|
||||||
#include "client.h"
|
#include "client.h"
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
|
|
||||||
console_t con_main;
|
old_console_t con_main;
|
||||||
console_t con_chat;
|
old_console_t con_chat;
|
||||||
console_t *con; // point to either con_main or con_chat
|
old_console_t *con; // point to either con_main or con_chat
|
||||||
|
|
||||||
int con_ormask;
|
int con_ormask;
|
||||||
int con_linewidth; // characters across screen
|
int con_linewidth; // characters across screen
|
||||||
|
@ -154,7 +154,7 @@ Con_MessageMode2_f (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
Con_Resize (console_t *con)
|
Con_Resize (old_console_t *con)
|
||||||
{
|
{
|
||||||
char tbuf[CON_TEXTSIZE];
|
char tbuf[CON_TEXTSIZE];
|
||||||
int i, j, width, oldwidth, oldtotallines, numlines, numchars;
|
int i, j, width, oldwidth, oldtotallines, numlines, numchars;
|
||||||
|
|
Loading…
Reference in a new issue