diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-27 00:03:28 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-07-27 00:03:28 +0000 |
| commit | 501558f88178a88e263e12f923e678bfaa5bf6ff (patch) | |
| tree | d9d0340ead12d4fbc630ce09f10653464ee17993 /src/engine | |
| parent | 8cff53e9d5a525397fb27414665996e3db3e5f09 (diff) | |
| download | zcatch-501558f88178a88e263e12f923e678bfaa5bf6ff.tar.gz zcatch-501558f88178a88e263e12f923e678bfaa5bf6ff.zip | |
increased vb size. added support for settings config variables from the chat line
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/client/gfx.cpp | 2 | ||||
| -rw-r--r-- | src/engine/config.h | 1 |
2 files changed, 2 insertions, 1 deletions
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); |