From 501558f88178a88e263e12f923e678bfaa5bf6ff Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Fri, 27 Jul 2007 00:03:28 +0000 Subject: increased vb size. added support for settings config variables from the chat line --- src/engine/client/gfx.cpp | 2 +- src/engine/config.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine') diff --git a/src/engine/client/gfx.cpp b/src/engine/client/gfx.cpp index a691863b..f6295620 100644 --- a/src/engine/client/gfx.cpp +++ b/src/engine/client/gfx.cpp @@ -23,7 +23,7 @@ struct custom_vertex vec4 color; }; -const int vertex_buffer_size = 2048*32; +const int vertex_buffer_size = 2048*64; //static custom_vertex vertices[4]; static custom_vertex *vertices = 0; static int num_vertices = 0; diff --git a/src/engine/config.h b/src/engine/config.h index 116ad9b4..09851d78 100644 --- a/src/engine/config.h +++ b/src/engine/config.h @@ -12,6 +12,7 @@ struct configuration extern configuration config; +void config_set(const char *line); void config_reset(); void config_load(const char *filename); void config_save(const char *filename); -- cgit 1.4.1