From 81a57bb3fa5250fde82568a4ed5e8bb9e749b5d1 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 22 Mar 2007 23:20:57 +0000 Subject: [PATCH] patch from phrosty for vc2005 support. includes fixes for a bunch of gcc-isms that crept in over the years. --- include/QF/plugin/cd.h | 1 + include/QF/plugin/input.h | 1 + include/win32/dirent.h | 27 +- libs/audio/renderer/snd_mem.c | 4 + libs/console/complete.c | 8 +- libs/console/console.c | 5 +- libs/console/filelist.c | 2 +- libs/console/inputline.c | 2 +- libs/gamecode/engine/pr_parse.c | 6 +- libs/gib/exp.c | 4 + libs/gib/gib_builtin.c | 6 +- libs/gib/gib_classes.c | 76 +- libs/gib/gib_execute.c | 2 +- libs/gib/gib_function.c | 89 +- libs/gib/gib_semantics.c | 4 + libs/gib/gib_thread.c | 22 +- libs/gib/regex.c | 16 +- libs/ruamoko/rua_obj.c | 4 + libs/ruamoko/rua_string.c | 4 + libs/util/cbuf.c | 4 +- libs/util/dirent.c | 22 + libs/util/llist.c | 3 +- libs/util/pakfile.c | 2 + libs/util/qfplist.c | 6 +- libs/util/quakefs.c | 16 +- libs/util/quakeio.c | 9 +- libs/util/sizebuf.c | 9 +- libs/util/sys.c | 6 + libs/util/wadfile.c | 2 + libs/util/zone.c | 2 +- libs/video/renderer/gl/gl_rmain.c | 68 +- libs/video/renderer/gl/gl_sky.c | 2 +- libs/video/renderer/gl/gl_sky_clip.c | 4 + libs/video/targets/old_keys.c | 4 + libs/video/targets/vtxarray.c | 16 +- qw/source/cl_chat.c | 123 +- qw/source/cl_demo.c | 2 + qw/source/cl_main.c | 4 + qw/source/cl_tent.c | 1 + qw/source/sv_demo.c | 2 + qw/source/sv_main.c | 4 +- qw/source/sv_recorder.c | 2 + tools/qfbsp/source/qfbsp.c | 3 + tools/qflight/source/noise.c | 3 + tools/qflight/source/vis.c | 3 + vc2005/QuakeForge.sln | 356 +++++ vc2005/builtins/builtins.vcproj | 386 +++++ vc2005/clean.ps1 | 8 + vc2005/common/common.vcproj | 410 ++++++ vc2005/console/console.vcproj | 418 ++++++ vc2005/console_client/console_client.vcproj | 386 +++++ vc2005/console_server/console_server.vcproj | 370 +++++ vc2005/engine/engine.vcproj | 450 ++++++ vc2005/gib/gib.vcproj | 506 +++++++ vc2005/image/image.vcproj | 394 +++++ vc2005/include/config.h | 1452 +++++++++++++++++++ vc2005/models/models.vcproj | 410 ++++++ vc2005/modelsgl/modelsgl.vcproj | 474 ++++++ vc2005/net/net.vcproj | 378 +++++ vc2005/qfbsp/qfbsp.vcproj | 576 ++++++++ vc2005/qfclient/qfclient.vcproj | 816 +++++++++++ vc2005/qflight/qflight.vcproj | 552 +++++++ vc2005/qfserver/qfserver.vcproj | 576 ++++++++ vc2005/qfvis/qfvis.vcproj | 488 +++++++ vc2005/qw/qw.vcproj | 378 +++++ vc2005/ruamoko/ruamoko.vcproj | 466 ++++++ vc2005/sound/sound.vcproj | 450 ++++++ vc2005/util/util.vcproj | 666 +++++++++ vc2005/video/video.vcproj | 690 +++++++++ 69 files changed, 12432 insertions(+), 229 deletions(-) create mode 100644 vc2005/QuakeForge.sln create mode 100644 vc2005/builtins/builtins.vcproj create mode 100644 vc2005/clean.ps1 create mode 100644 vc2005/common/common.vcproj create mode 100644 vc2005/console/console.vcproj create mode 100644 vc2005/console_client/console_client.vcproj create mode 100644 vc2005/console_server/console_server.vcproj create mode 100644 vc2005/engine/engine.vcproj create mode 100644 vc2005/gib/gib.vcproj create mode 100644 vc2005/image/image.vcproj create mode 100644 vc2005/include/config.h create mode 100644 vc2005/models/models.vcproj create mode 100644 vc2005/modelsgl/modelsgl.vcproj create mode 100644 vc2005/net/net.vcproj create mode 100644 vc2005/qfbsp/qfbsp.vcproj create mode 100644 vc2005/qfclient/qfclient.vcproj create mode 100644 vc2005/qflight/qflight.vcproj create mode 100644 vc2005/qfserver/qfserver.vcproj create mode 100644 vc2005/qfvis/qfvis.vcproj create mode 100644 vc2005/qw/qw.vcproj create mode 100644 vc2005/ruamoko/ruamoko.vcproj create mode 100644 vc2005/sound/sound.vcproj create mode 100644 vc2005/util/util.vcproj create mode 100644 vc2005/video/video.vcproj diff --git a/include/QF/plugin/cd.h b/include/QF/plugin/cd.h index cee9d0886..99a62f7b8 100644 --- a/include/QF/plugin/cd.h +++ b/include/QF/plugin/cd.h @@ -50,6 +50,7 @@ typedef struct cd_funcs_s { } cd_funcs_t; typedef struct cd_data_s { + int unused; /* C requires that a struct or union has at least one member */ } cd_data_t; #endif // __QF_plugin_cd_h_ diff --git a/include/QF/plugin/input.h b/include/QF/plugin/input.h index 0073a106d..015ba5343 100644 --- a/include/QF/plugin/input.h +++ b/include/QF/plugin/input.h @@ -47,6 +47,7 @@ typedef struct input_funcs_s { } input_funcs_t; typedef struct input_data_s { + int unused; /* C requires that a struct or union has at least one member */ } input_data_t; #endif // __QF_plugin_input_h_ diff --git a/include/win32/dirent.h b/include/win32/dirent.h index 70d46ad40..409851855 100644 --- a/include/win32/dirent.h +++ b/include/win32/dirent.h @@ -26,10 +26,13 @@ #ifndef _DIRENT_H_ #define _DIRENT_H_ +#ifdef HAVE__MINGW_H /* All the headers include this file. */ #include <_mingw.h> +#endif #include +#include /* for FILENAME_MAX in VC2005 (phrosty) */ #ifndef RC_INVOKED @@ -73,12 +76,12 @@ extern "C" { char dd_name[1]; } DIR; - DIR *__cdecl opendir (const char *); - struct dirent *__cdecl readdir (DIR *); - int __cdecl closedir (DIR *); - void __cdecl rewinddir (DIR *); - long __cdecl telldir (DIR *); - void __cdecl seekdir (DIR *, long); + DIR *opendir (const char *); + struct dirent * readdir (DIR *); + int closedir (DIR *); + void rewinddir (DIR *); + long telldir (DIR *); + void seekdir (DIR *, long); /* wide char versions */ @@ -122,12 +125,12 @@ extern "C" { - _WDIR *__cdecl _wopendir (const wchar_t *); - struct _wdirent *__cdecl _wreaddir (_WDIR *); - int __cdecl _wclosedir (_WDIR *); - void __cdecl _wrewinddir (_WDIR *); - long __cdecl _wtelldir (_WDIR *); - void __cdecl _wseekdir (_WDIR *, long); + _WDIR *_wopendir (const wchar_t *); + struct _wdirent *_wreaddir (_WDIR *); + int _wclosedir (_WDIR *); + void _wrewinddir (_WDIR *); + long _wtelldir (_WDIR *); + void _wseekdir (_WDIR *, long); #ifdef __cplusplus diff --git a/libs/audio/renderer/snd_mem.c b/libs/audio/renderer/snd_mem.c index 1d78672c5..01e907d93 100644 --- a/libs/audio/renderer/snd_mem.c +++ b/libs/audio/renderer/snd_mem.c @@ -38,6 +38,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include "QF/cvar.h" #include "QF/dstring.h" #include "QF/sound.h" diff --git a/libs/console/complete.c b/libs/console/complete.c index 1c8445c4a..4f867671e 100644 --- a/libs/console/complete.c +++ b/libs/console/complete.c @@ -63,6 +63,7 @@ Con_BasicCompleteCommandLine (inputline_t *il) char *s; const char *cmd = "", **list[3] = {0, 0, 0}; int cmd_len, c, i, v, o; + cbuf_t *cbuf; s = il->lines[il->edit_line] + 1; @@ -71,7 +72,7 @@ Con_BasicCompleteCommandLine (inputline_t *il) s = strdup(s); - cbuf_t* cbuf = con_module->data->console->cbuf; + cbuf = con_module->data->console->cbuf; if (cbuf->interpreter->complete) { @@ -160,10 +161,11 @@ Con_BasicCompleteCommandLine (inputline_t *il) if (cmd) { unsigned int bound = max(0, (int) strlen(s) - (int) cmd_len); + const char* overwrite; if (cmd_len > 0) while (bound < strlen(s) && strncmp(s+bound, cmd, strlen(s+bound))) bound++; - const char* overwrite = va("%.*s%.*s", bound, s, cmd_len, cmd); + overwrite = va("%.*s%.*s", bound, s, cmd_len, cmd); il->lines[il->edit_line][1] = '/'; strncpy(il->lines[il->edit_line] + 2, overwrite, strlen(overwrite)); @@ -176,7 +178,7 @@ Con_BasicCompleteCommandLine (inputline_t *il) } for (i = 0; i < 3; i++) if (list[i]) - free (list[i]); + free ((void*)list[i]); free(s); } diff --git a/libs/console/console.c b/libs/console/console.c index 1f61d811d..ececd3292 100644 --- a/libs/console/console.c +++ b/libs/console/console.c @@ -77,8 +77,11 @@ Con_Interp_f(cvar_t* var) if (con_module && interp) { + cbuf_t *new; + Sys_Printf("Switching to interpreter '%s'\n", var->string); - cbuf_t *new = Cbuf_New(interp); + + new = Cbuf_New(interp); if (con_module->data->console->cbuf) { diff --git a/libs/console/filelist.c b/libs/console/filelist.c index af38e1009..aebfd6b67 100644 --- a/libs/console/filelist.c +++ b/libs/console/filelist.c @@ -111,7 +111,7 @@ filelist_print (filelist_t *filelist) for (i = 0; i < filelist->count; i++) list[i] = filelist->list[i]; Con_DisplayList (list, con_linewidth); - free (list); + free ((void*)list); } } diff --git a/libs/console/inputline.c b/libs/console/inputline.c index ee5600fad..0f4308aba 100644 --- a/libs/console/inputline.c +++ b/libs/console/inputline.c @@ -58,7 +58,7 @@ Con_CreateInputLine (int lines, int lsize, char prompt) int i; size = sizeof (inputline_t); // space for the header - size += sizeof (char *[lines]); // space for the line pointers + size += sizeof(char*) * lines; // space for the line pointers size += lines * lsize; // space for the lines themselves inputline = calloc (1, size); diff --git a/libs/gamecode/engine/pr_parse.c b/libs/gamecode/engine/pr_parse.c index 143712bbe..bf8973434 100644 --- a/libs/gamecode/engine/pr_parse.c +++ b/libs/gamecode/engine/pr_parse.c @@ -40,6 +40,10 @@ static __attribute__ ((used)) const char rcsid[] = #include #include +#ifdef HAVE_MALLOC_H +#include +#endif + #include "QF/cbuf.h" #include "QF/crc.h" #include "QF/cvar.h" @@ -393,7 +397,7 @@ static void ED_SpawnEntities (progs_t *pr, plitem_t *entity_list) { edict_t *ent; - int inhibit; + int inhibit = 0; plitem_t *entity; plitem_t *item; int i; diff --git a/libs/gib/exp.c b/libs/gib/exp.c index 5ed7e39e0..5a2e9608d 100644 --- a/libs/gib/exp.c +++ b/libs/gib/exp.c @@ -19,6 +19,10 @@ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include diff --git a/libs/gib/gib_builtin.c b/libs/gib/gib_builtin.c index 13454aaa0..a6fa01bf0 100644 --- a/libs/gib/gib_builtin.c +++ b/libs/gib/gib_builtin.c @@ -331,7 +331,7 @@ GIB_Return_f (void) argv[i-1] = GIB_Argv(i); GIB_Reply (g->reply.obj, g->reply.mesg, GIB_Argc()-1, argv); - free (argv); + free ((void*)argv); g->dnotify = NULL; } else if (GIB_Argc () > 1 && sp && sp->interpreter == &gib_interp && GIB_DATA (sp)->waitret) { @@ -381,7 +381,7 @@ GIB_Runexported_f (void) for (i = 0; i < Cmd_Argc(); i++) args[i] = Cmd_Argv(i); GIB_Function_Execute (sub, f, args, Cmd_Argc()); - free (args); + free ((void*)args); } } @@ -987,7 +987,7 @@ GIB_Emit_f (void) GIB_Object_Signal_Emit (GIB_DATA(cbuf_active)->reply.obj, GIB_Argc () - 1, argv); - free (argv); + free ((void*)argv); } } diff --git a/libs/gib/gib_classes.c b/libs/gib/gib_classes.c index 8be77f73d..cea8230b5 100644 --- a/libs/gib/gib_classes.c +++ b/libs/gib/gib_classes.c @@ -184,27 +184,28 @@ Object_Class_New_f (gib_object_t *obj, gib_method_t *method, void *data, return 0; } +static const char **g_occ_reply; +static unsigned int g_occ_i = 0; + +static qboolean occ_iterator (gib_class_t *class, void *unused) +{ + g_occ_reply[g_occ_i++] = class->name; + return false; +} + static int Object_Class_Children_f (gib_object_t *obj, gib_method_t *method, void *data, gib_object_t *sender, gib_message_t mesg) { - const char **reply; unsigned int size; - unsigned int i = 0; - - auto qboolean iterator (gib_class_t *class, void *unused); - qboolean - iterator (gib_class_t *class, void *unused) - { - reply[i++] = class->name; - return false; - } + + g_occ_i = 0; size = llist_size (obj->class->children); if (size) { - reply = malloc (sizeof (char *) * size); - llist_iterate (obj->class->children, LLIST_ICAST (iterator)); - GIB_Reply (obj, mesg, size, reply); + g_occ_reply = malloc (sizeof (char *) * size); + llist_iterate (obj->class->children, LLIST_ICAST (occ_iterator)); + GIB_Reply (obj, mesg, size, g_occ_reply); } else GIB_Reply (obj, mesg, 0, NULL); return 0; @@ -448,7 +449,7 @@ ObjectHash_Get_f (gib_object_t *obj, gib_method_t *method, void *data, for (r = refs, i = 0; *r; r++, i++) reply[i] = (*r)->obj->handstr; GIB_Reply (obj, mesg, len, reply); - free (reply); + free ((void*)reply); } else GIB_Reply (obj, mesg, 0, NULL); return 0; @@ -601,6 +602,22 @@ Scrobj_Method_f (gib_object_t *obj, gib_method_t *method, void *data, return 0; } +static void gcbs_mtabfree (void *mtab, void *unused) +{ + free (mtab); +} + +static enum {CLASS, INSTANCE} g_gcbs_mode; +static const char *g_gcbs_name; + +static const char *gcbs_fname (const char *str) +{ + if (g_gcbs_mode == INSTANCE) + return va ("__%s_%s__", g_gcbs_name, str); + else + return va ("%s::%s", g_gcbs_name, str); +} + void GIB_Classes_Build_Scripted (const char *name, const char *parentname, gib_tree_t *tree, gib_script_t *script) @@ -609,35 +626,20 @@ GIB_Classes_Build_Scripted (const char *name, const char *parentname, llist_t *methods, *cmethods; gib_methodtab_t *mtab, *cmtab; gib_classdesc_t desc; - enum {CLASS, INSTANCE} mode = INSTANCE; - - auto void mtabfree (void *mtab, void *unused); - void - mtabfree (void *mtab, void *unused) - { - free (mtab); - } - auto const char *fname (const char *str); - const char * - fname (const char *str) - { - if (mode == INSTANCE) - return va ("__%s_%s__", name, str); - else - return va ("%s::%s", name, str); - } + g_gcbs_mode = INSTANCE; + g_gcbs_name = name; - methods = llist_new (mtabfree, NULL, NULL); - cmethods = llist_new (mtabfree, NULL, NULL); + methods = llist_new (gcbs_mtabfree, NULL, NULL); + cmethods = llist_new (gcbs_mtabfree, NULL, NULL); for (line = tree; line; line = line->next) switch (line->type) { case TREE_T_LABEL: if (!strcmp (line->str, "class")) - mode = CLASS; + g_gcbs_mode = CLASS; else if (!strcmp (line->str, "instance")) - mode = INSTANCE; + g_gcbs_mode = INSTANCE; break; case TREE_T_CMD: if (!strcmp (line->children->str, @@ -652,7 +654,7 @@ GIB_Classes_Build_Scripted (const char *name, const char *parentname, last->next; last = last->next); data->func = GIB_Function_Define - (fname + (gcbs_fname (line->children->next->str), last->str, last->children, @@ -670,7 +672,7 @@ GIB_Classes_Build_Scripted (const char *name, const char *parentname, new->data = data; new->name = line->children->next->str; new->func = Scrobj_Method_f; - if (mode == INSTANCE) + if (g_gcbs_mode == INSTANCE) llist_append (methods, new); else llist_append (cmethods, new); diff --git a/libs/gib/gib_execute.c b/libs/gib/gib_execute.c index 67bd56be2..1b9bcbf44 100644 --- a/libs/gib/gib_execute.c +++ b/libs/gib/gib_execute.c @@ -262,7 +262,7 @@ GIB_Execute (cbuf_t * cbuf) return; if (cbuf->args->argc - 2 > maxmesg) { maxmesg += 32; - mesg = realloc (mesg, sizeof (char *) * maxmesg); + mesg = realloc ((void*)mesg, sizeof (char *) * maxmesg); } for (i = 2; i < cbuf->args->argc; i++) mesg[i-2] = cbuf->args->argv[i]->str; diff --git a/libs/gib/gib_function.c b/libs/gib/gib_function.c index 856a29196..3b8fa223d 100644 --- a/libs/gib/gib_function.c +++ b/libs/gib/gib_function.c @@ -160,33 +160,41 @@ GIB_Function_Find (const char *name) return (gib_function_t *) Hash_Find (gib_functions, name); } +static cbuf_t *g_fpa_cbuf; +static const char **g_fpa_args; +static unsigned int g_fpa_argc; +static hashtab_t *g_fpa_zero = 0; +static unsigned int g_fpa_i, g_fpa_ind; + +static qboolean fpa_iterate (char *arg, llist_node_t *node) +{ + gib_var_t *var = GIB_Var_Get_Complex (&GIB_DATA(g_fpa_cbuf)->locals, &g_fpa_zero, + arg, &g_fpa_ind, true); + + if (!var->array[0].value) + var->array[0].value = dstring_newstr (); + dstring_copystr (var->array[0].value, g_fpa_args[g_fpa_i]); + g_fpa_i++; + return g_fpa_i < g_fpa_argc; +} + static void GIB_Function_Prepare_Args (cbuf_t * cbuf, const char **args, unsigned int argc, llist_t *arglist) { - static hashtab_t *zero = 0; - unsigned int i, ind; - gib_var_t *var; + gib_var_t *var; + unsigned int i; static char argss[] = "args"; - auto qboolean iterate (char *arg, llist_node_t *node); - qboolean - iterate (char *arg, llist_node_t *node) - { - var = GIB_Var_Get_Complex (&GIB_DATA(cbuf)->locals, &zero, - arg, &ind, true); - if (!var->array[0].value) - var->array[0].value = dstring_newstr (); - dstring_copystr (var->array[0].value, args[i]); - i++; - return i < argc; - } - - i = 1; llist_iterate (arglist, LLIST_ICAST (iterate)); + g_fpa_cbuf = cbuf; + g_fpa_args = args; + g_fpa_argc = argc; + + g_fpa_i = 1; llist_iterate (arglist, LLIST_ICAST (fpa_iterate)); var = - GIB_Var_Get_Complex (&GIB_DATA (cbuf)->locals, &zero, argss, - &ind, true); + GIB_Var_Get_Complex (&GIB_DATA (cbuf)->locals, &g_fpa_zero, argss, + &g_fpa_ind, true); var->array = realloc (var->array, sizeof (struct gib_varray_s) * argc); memset (var->array + 1, 0, (argc - 1) * sizeof (struct gib_varray_s)); var->size = argc; @@ -199,33 +207,42 @@ GIB_Function_Prepare_Args (cbuf_t * cbuf, const char **args, unsigned int } } +static cbuf_t *g_fpad_cbuf; +static dstring_t **g_fpad_args; +static unsigned int g_fpad_argc; +static hashtab_t *g_fpad_zero = 0; +static unsigned int g_fpad_i, g_fpad_ind; + +static qboolean fpad_iterate (char *arg, llist_node_t *node) +{ + gib_var_t *var; + + var = GIB_Var_Get_Complex (&GIB_DATA(g_fpad_cbuf)->locals, &g_fpad_zero, + arg, &g_fpad_ind, true); + if (!var->array[0].value) + var->array[0].value = dstring_newstr (); + dstring_copystr (var->array[0].value, g_fpad_args[g_fpad_i]->str); + g_fpad_i++; + return g_fpad_i < g_fpad_argc; +} + static void GIB_Function_Prepare_Args_D (cbuf_t * cbuf, dstring_t **args, unsigned int argc, llist_t *arglist) { - static hashtab_t *zero = 0; - unsigned int i, ind; + unsigned int i; gib_var_t *var; static char argss[] = "args"; - auto qboolean iterate (char *arg, llist_node_t *node); - qboolean - iterate (char *arg, llist_node_t *node) - { - var = GIB_Var_Get_Complex (&GIB_DATA(cbuf)->locals, &zero, - arg, &ind, true); - if (!var->array[0].value) - var->array[0].value = dstring_newstr (); - dstring_copystr (var->array[0].value, args[i]->str); - i++; - return i < argc; - } + g_fpad_cbuf = cbuf; + g_fpad_args = args; + g_fpad_argc = argc; - i = 1; llist_iterate (arglist, LLIST_ICAST (iterate)); + i = 1; llist_iterate (arglist, LLIST_ICAST (fpad_iterate)); var = - GIB_Var_Get_Complex (&GIB_DATA (cbuf)->locals, &zero, argss, - &ind, true); + GIB_Var_Get_Complex (&GIB_DATA (cbuf)->locals, &g_fpad_zero, argss, + &g_fpad_ind, true); var->array = realloc (var->array, sizeof (struct gib_varray_s) * argc); memset (var->array + 1, 0, (argc - 1) * sizeof (struct gib_varray_s)); var->size = argc; diff --git a/libs/gib/gib_semantics.c b/libs/gib/gib_semantics.c index 3a0169dce..d3b0d49ad 100644 --- a/libs/gib/gib_semantics.c +++ b/libs/gib/gib_semantics.c @@ -28,6 +28,10 @@ */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "QF/qtypes.h" diff --git a/libs/gib/gib_thread.c b/libs/gib/gib_thread.c index b0f764e7b..5ea7f6a2a 100644 --- a/libs/gib/gib_thread.c +++ b/libs/gib/gib_thread.c @@ -86,21 +86,19 @@ GIB_Thread_Count (void) return llist_size (gib_threads); } +static qboolean te_iterator (cbuf_t *cbuf, llist_node_t *node) +{ + if (GIB_DATA(cbuf)->program) + Cbuf_Execute_Stack (cbuf); + else + Cbuf_DeleteStack ((cbuf_t *) llist_remove (node)); + return true; +} + VISIBLE void GIB_Thread_Execute (void) { - auto qboolean iterator (cbuf_t *cbuf, llist_node_t *node); - qboolean - iterator (cbuf_t *cbuf, llist_node_t *node) - { - if (GIB_DATA(cbuf)->program) - Cbuf_Execute_Stack (cbuf); - else - Cbuf_DeleteStack ((cbuf_t *) llist_remove (node)); - return true; - } - - llist_iterate (gib_threads, LLIST_ICAST (iterator)); + llist_iterate (gib_threads, LLIST_ICAST (te_iterator)); } void diff --git a/libs/gib/regex.c b/libs/gib/regex.c index 4d49426c8..8e6e5bcb5 100644 --- a/libs/gib/regex.c +++ b/libs/gib/regex.c @@ -65,6 +65,11 @@ #ifdef STDC_HEADERS #include + +#ifdef HAVE_MALLOC_H +#include +#endif + #else char *malloc (); char *realloc (); @@ -197,7 +202,9 @@ init_syntax_once (void) #include #else /* not __GNUC__ or HAVE_ALLOCA_H */ #ifndef _AIX /* Already did AIX, up at the top. */ +#ifndef _WIN32 char *alloca (); +#endif #endif /* not _AIX */ #endif /* not HAVE_ALLOCA_H */ #endif /* not __GNUC__ */ @@ -2841,7 +2848,7 @@ re_set_registers (bufp, regs, num_regs, starts, ends) regs->start = regs->end = (regoff_t) 0; } } - + /* Searching routines. */ /* Like re_search_2, below, but only one string is specified, and @@ -4881,12 +4888,7 @@ regexec (preg, string, nmatch, pmatch, eflags) from either regcomp or regexec. We don't use PREG here. */ size_t -regerror (errcode, preg, errbuf, errbuf_size) - int errcode; - const regex_t *preg; - char *errbuf; - size_t errbuf_size; -{ +regerror (int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size) { const char *msg; size_t msg_size; diff --git a/libs/ruamoko/rua_obj.c b/libs/ruamoko/rua_obj.c index 416c5caa3..3faa0fa20 100644 --- a/libs/ruamoko/rua_obj.c +++ b/libs/ruamoko/rua_obj.c @@ -41,6 +41,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include "QF/cvar.h" #include "QF/dstring.h" #include "QF/hash.h" diff --git a/libs/ruamoko/rua_string.c b/libs/ruamoko/rua_string.c index 5ae6db344..5c1f2129d 100644 --- a/libs/ruamoko/rua_string.c +++ b/libs/ruamoko/rua_string.c @@ -42,6 +42,10 @@ static __attribute__ ((used)) const char rcsid[] = #endif #include +#ifdef HAVE_MALLOC_H +#include +#endif + #include "QF/dstring.h" #include "QF/progs.h" diff --git a/libs/util/cbuf.c b/libs/util/cbuf.c index e19111335..76f5cac98 100644 --- a/libs/util/cbuf.c +++ b/libs/util/cbuf.c @@ -67,7 +67,7 @@ Cbuf_ArgsDelete (cbuf_args_t *args) for (i = 0; i < args->argv_size; i++) dstring_delete (args->argv[i]); free (args->argv); - free (args->args); + free ((void*)args->args); free (args->argm); free (args); } @@ -81,7 +81,7 @@ Cbuf_ArgsAdd (cbuf_args_t *args, const char *arg) args->argv_size += 4; args->argv = realloc (args->argv, args->argv_size * sizeof (dstring_t *)); - args->args = realloc (args->args, args->argv_size * sizeof (char *)); + args->args = realloc ((void*)args->args, args->argv_size * sizeof (char *)); args->argm = realloc (args->argm, args->argv_size * sizeof (void *)); for (i = args->argv_size - 4; i < args->argv_size; i++) { args->argv[i] = dstring_newstr (); diff --git a/libs/util/dirent.c b/libs/util/dirent.c index 556397477..e68d48fd3 100644 --- a/libs/util/dirent.c +++ b/libs/util/dirent.c @@ -36,6 +36,28 @@ static __attribute__ ((used)) const char rcsid[] = #define SUFFIX _T("*") #define SLASH _T("\\") +#ifndef _UNICODE +#define _TDIR DIR +#define _tdirent dirent + +#define _topendir opendir +#define _treaddir readdir +#define _tclosedir closedir +#define _tseekdir seekdir +#define _ttelldir telldir +#define _trewinddir rewinddir +#else +#define _TDIR _WDIR +#define _tdirent _wdirent + +#define _topendir _wopendir +#define _treaddir _wreaddir +#define _tclosedir _wclosedir +#define _tseekdir _wseekdir +#define _ttelldir _wtelldir +#define _trewinddir _wrewinddir +#endif + /* * opendir * diff --git a/libs/util/llist.c b/libs/util/llist.c index 80d06ec8a..1a59a879e 100644 --- a/libs/util/llist.c +++ b/libs/util/llist.c @@ -261,8 +261,7 @@ llist_createarray (llist_t *list, size_t esize) void *ptr, *array = malloc (llist_size (list) * esize); llist_node_t *node; - for (ptr = array, node = list->start; node; node = node->next, ptr += - esize) + for (ptr = array, node = list->start; node; node = node->next, ptr = (char*)ptr + esize) memcpy (ptr, node->data, esize); return array; diff --git a/libs/util/pakfile.c b/libs/util/pakfile.c index 844e0337a..f108f73ea 100644 --- a/libs/util/pakfile.c +++ b/libs/util/pakfile.c @@ -40,7 +40,9 @@ static __attribute__ ((used)) const char rcsid[] = #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include diff --git a/libs/util/qfplist.c b/libs/util/qfplist.c index e19a2e3a6..656bc92e8 100644 --- a/libs/util/qfplist.c +++ b/libs/util/qfplist.c @@ -35,6 +35,10 @@ static __attribute__ ((used)) const char rcsid[] = #include #include +#ifdef HAVE_MALLOC_H +#include +#endif + #include "QF/dstring.h" #include "QF/hash.h" #include "QF/qfplist.h" @@ -515,7 +519,7 @@ PL_ParseQuotedString (pldata_t *pl) if (pl->pos - start - shrink == 0) { str = strdup (""); } else { - char chars[pl->pos - start - shrink]; + char *chars = alloca(pl->pos - start - shrink); unsigned int j; unsigned int k; diff --git a/libs/util/quakefs.c b/libs/util/quakefs.c index eff2bab31..a6eaa759a 100644 --- a/libs/util/quakefs.c +++ b/libs/util/quakefs.c @@ -47,6 +47,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include #include #include @@ -1285,7 +1289,7 @@ QFS_Init (const char *game) } qfs_build_gamedir (list); free (gamedirs); - free (list); + free ((void*)list); } else { QFS_Gamedir (""); } @@ -1570,10 +1574,12 @@ QFS_FilelistEnumerate(filelist_t* list, const char* path) !strncmp(prefix, filename, strlen(prefix))) { char* slash = strchr(filename + strlen(prefix), '/'); - if (slash) - *slash = 0; int j; qboolean exists = false; + + if (slash) + *slash = 0; + for (j = 0; j < list->count; j++) { if (list->list[j] && !strcmp(list->list[j], filename)) @@ -1583,7 +1589,7 @@ QFS_FilelistEnumerate(filelist_t* list, const char* path) } } if (!exists) - QFS_FilelistAdd(list, filename, false); + QFS_FilelistAdd(list, filename, 0); if (slash) *slash = '/'; } @@ -1612,7 +1618,7 @@ QFS_FilelistEnumerate(filelist_t* list, const char* path) } } if (!exists) - QFS_FilelistAdd(list, dirent->d_name, false); + QFS_FilelistAdd(list, dirent->d_name, 0); } } closedir (dir_ptr); diff --git a/libs/util/quakeio.c b/libs/util/quakeio.c index e0f300619..75667d1b1 100644 --- a/libs/util/quakeio.c +++ b/libs/util/quakeio.c @@ -48,8 +48,13 @@ static __attribute__ ((used)) const char rcsid[] = #include #include #include -#ifdef _MSC_VER -# define _POSIX_ + +#ifdef HAVE_MALLOC_H +#include +#endif + +#ifdef HAVE_IO_H +#include #endif #include diff --git a/libs/util/sizebuf.c b/libs/util/sizebuf.c index 65ea2b3ce..d551b4706 100644 --- a/libs/util/sizebuf.c +++ b/libs/util/sizebuf.c @@ -97,11 +97,8 @@ SZ_Print (sizebuf_t *buf, const char *data) int len; len = strlen (data) + 1; + if (buf->cursize && !buf->data[buf->cursize - 1]) + buf->cursize--; // write over trailing 0 - if (!buf->cursize || buf->data[buf->cursize - 1]) - // no trailing 0 - memcpy (SZ_GetSpace (buf, len), data, len); - else - // write over trailing 0 - memcpy (SZ_GetSpace (buf, len - 1) - 1, data, len); + memcpy (SZ_GetSpace (buf, len), data, len); } diff --git a/libs/util/sys.c b/libs/util/sys.c index bc473aca8..bfe069f3d 100644 --- a/libs/util/sys.c +++ b/libs/util/sys.c @@ -63,9 +63,15 @@ static __attribute__ ((used)) const char rcsid[] = #include #include #include +#ifdef HAVE_SYS_TIME_H #include +#endif #include +#ifdef HAVE_DIRECT_H +#include +#endif + #include "QF/cvar.h" #include "QF/dstring.h" #include "QF/sys.h" diff --git a/libs/util/wadfile.c b/libs/util/wadfile.c index 6194320e6..3e4fd7dd1 100644 --- a/libs/util/wadfile.c +++ b/libs/util/wadfile.c @@ -46,7 +46,9 @@ static __attribute__ ((used)) const char rcsid[] = #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include #include diff --git a/libs/util/zone.c b/libs/util/zone.c index b1aec8c3e..65b3b5ed9 100644 --- a/libs/util/zone.c +++ b/libs/util/zone.c @@ -965,7 +965,7 @@ Cache_Profile (void) { cache_system_t *cs; unsigned int i; - unsigned int items[31] = {}, sizes[31] = {}; + unsigned int items[31] = {0}, sizes[31] = {0}; int count = 0, total = 0; CACHE_WRITE_LOCK; diff --git a/libs/video/renderer/gl/gl_rmain.c b/libs/video/renderer/gl/gl_rmain.c index b855ea33a..4845908b6 100644 --- a/libs/video/renderer/gl/gl_rmain.c +++ b/libs/video/renderer/gl/gl_rmain.c @@ -106,8 +106,14 @@ int d_lightstylevalue[256]; // 8.8 fraction of base light value vec3_t shadecolor; // Ender (Extend) Colormod float modelalpha; // Ender (Extend) Alpha -unsigned int InvalidEnum, InvalidValue, InvalidOperation, OutOfMemory, - StackOverflow, StackUnderflow, Unknown; +/* Unknown renamed to GLErr_Unknown to solve conflict with winioctl.h */ +unsigned int GLErr_InvalidEnum; +unsigned int GLErr_InvalidValue; +unsigned int GLErr_InvalidOperation; +unsigned int GLErr_OutOfMemory; +unsigned int GLErr_StackOverflow; +unsigned int GLErr_StackUnderflow; +unsigned int GLErr_Unknown; extern void (*R_DrawSpriteModel) (struct entity_s *ent); @@ -120,31 +126,31 @@ R_TestErrors (unsigned int numerous) return numerous; break; case GL_INVALID_ENUM: - InvalidEnum++; + GLErr_InvalidEnum++; R_TestErrors (numerous++); break; case GL_INVALID_VALUE: - InvalidValue++; + GLErr_InvalidValue++; R_TestErrors (numerous++); break; case GL_INVALID_OPERATION: - InvalidOperation++; + GLErr_InvalidOperation++; R_TestErrors (numerous++); break; case GL_STACK_OVERFLOW: - StackOverflow++; + GLErr_StackOverflow++; R_TestErrors (numerous++); break; case GL_STACK_UNDERFLOW: - StackUnderflow++; + GLErr_StackUnderflow++; R_TestErrors (numerous++); break; case GL_OUT_OF_MEMORY: - OutOfMemory++; + GLErr_OutOfMemory++; R_TestErrors (numerous++); break; default: - Unknown++; + GLErr_Unknown++; R_TestErrors (numerous++); break; } @@ -155,32 +161,32 @@ R_TestErrors (unsigned int numerous) static void R_DisplayErrors (void) { - if (InvalidEnum) - printf ("%d OpenGL errors: Invalid Enum!\n", InvalidEnum); - if (InvalidValue) - printf ("%d OpenGL errors: Invalid Value!\n", InvalidValue); - if (InvalidOperation) - printf ("%d OpenGL errors: Invalid Operation!\n", InvalidOperation); - if (StackOverflow) - printf ("%d OpenGL errors: Stack Overflow!\n", StackOverflow); - if (StackUnderflow) - printf ("%d OpenGL errors: Stack Underflow\n!", StackUnderflow); - if (OutOfMemory) - printf ("%d OpenGL errors: Out Of Memory!\n", OutOfMemory); - if (Unknown) - printf ("%d Unknown OpenGL errors!\n", Unknown); + if (GLErr_InvalidEnum) + printf ("%d OpenGL errors: Invalid Enum!\n", GLErr_InvalidEnum); + if (GLErr_InvalidValue) + printf ("%d OpenGL errors: Invalid Value!\n", GLErr_InvalidValue); + if (GLErr_InvalidOperation) + printf ("%d OpenGL errors: Invalid Operation!\n", GLErr_InvalidOperation); + if (GLErr_StackOverflow) + printf ("%d OpenGL errors: Stack Overflow!\n", GLErr_StackOverflow); + if (GLErr_StackUnderflow) + printf ("%d OpenGL errors: Stack Underflow\n!", GLErr_StackUnderflow); + if (GLErr_OutOfMemory) + printf ("%d OpenGL errors: Out Of Memory!\n", GLErr_OutOfMemory); + if (GLErr_Unknown) + printf ("%d Unknown OpenGL errors!\n", GLErr_Unknown); } static void R_ClearErrors (void) { - InvalidEnum = 0; - InvalidValue = 0; - InvalidOperation = 0; - OutOfMemory = 0; - StackOverflow = 0; - StackUnderflow = 0; - Unknown = 0; + GLErr_InvalidEnum = 0; + GLErr_InvalidValue = 0; + GLErr_InvalidOperation = 0; + GLErr_OutOfMemory = 0; + GLErr_StackOverflow = 0; + GLErr_StackUnderflow = 0; + GLErr_Unknown = 0; } void @@ -196,7 +202,7 @@ glrmain_init (void) gl_overbright_f (gl_overbright); } -inline void +void R_RotateForEntity (entity_t *e) { qfglTranslatef (e->origin[0], e->origin[1], e->origin[2]); diff --git a/libs/video/renderer/gl/gl_sky.c b/libs/video/renderer/gl/gl_sky.c index c7a11723b..72970534f 100644 --- a/libs/video/renderer/gl/gl_sky.c +++ b/libs/video/renderer/gl/gl_sky.c @@ -379,7 +379,7 @@ R_DrawSkyDome (void) } } -inline void +void R_DrawSky (void) { qfglDisable (GL_DEPTH_TEST); diff --git a/libs/video/renderer/gl/gl_sky_clip.c b/libs/video/renderer/gl/gl_sky_clip.c index ac8e43559..67e51856f 100644 --- a/libs/video/renderer/gl/gl_sky_clip.c +++ b/libs/video/renderer/gl/gl_sky_clip.c @@ -42,6 +42,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include #include diff --git a/libs/video/targets/old_keys.c b/libs/video/targets/old_keys.c index a4ea39daa..9acb22e15 100644 --- a/libs/video/targets/old_keys.c +++ b/libs/video/targets/old_keys.c @@ -44,6 +44,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include #include diff --git a/libs/video/targets/vtxarray.c b/libs/video/targets/vtxarray.c index 2484520e5..78e245a55 100644 --- a/libs/video/targets/vtxarray.c +++ b/libs/video/targets/vtxarray.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include "QF/sys.h" #include "QF/GL/defines.h" @@ -472,17 +476,17 @@ static void qfgl_ArrayElement (GLint i) { if (texcoord_enabled) - texcoord_func (texcoord_pointer + i * texcoord_stride); + texcoord_func ((char*)texcoord_pointer + i * texcoord_stride); if (edgeflag_enabled) - qfglEdgeFlagv (edgeflag_pointer + i * edgeflag_stride); + qfglEdgeFlagv ((byte*)edgeflag_pointer + i * edgeflag_stride); if (color_enabled) - color_func (color_pointer + i * color_stride); + color_func ((char*)color_pointer + i * color_stride); if (normal_enabled) - normal_func (normal_pointer + i * normal_stride); + normal_func ((char*)normal_pointer + i * normal_stride); if (index_enabled) - index_func (index_pointer + i * index_stride); + index_func ((char*)index_pointer + i * index_stride); if (vertex_enabled) - vertex_func (vertex_pointer + i * vertex_stride); + vertex_func ((char*)vertex_pointer + i * vertex_stride); } static void diff --git a/qw/source/cl_chat.c b/qw/source/cl_chat.c index adc215342..29ba013d4 100644 --- a/qw/source/cl_chat.c +++ b/qw/source/cl_chat.c @@ -63,18 +63,30 @@ CL_Ignore_Compare (const void *ele, const void *cmp, void *unused) return *(int *)cmp == ((ignore_t *) ele)->uid; } +static qboolean +isc_iterator (ignore_t *ig, llist_node_t *node) +{ + if (cl.players[ig->slot].userid != ig->uid) // We got out of sync somehow + llist_remove (node); + return true; +} + static void CL_Ignore_Sanity_Check (void) +{ + llist_iterate (ignore_list, LLIST_ICAST (isc_iterator)); +} + +static qboolean live_iterator (ignore_t *ig, llist_node_t *node) { - auto qboolean iterator (ignore_t *ig, llist_node_t *node); - qboolean - iterator (ignore_t *ig, llist_node_t *node) - { - if (cl.players[ig->slot].userid != ig->uid) // We got out of sync somehow - llist_remove (node); - return true; - } - llist_iterate (ignore_list, LLIST_ICAST (iterator)); + Sys_Printf ("%5i - %s\n", ig->uid, Info_ValueForKey (cl.players[ig->slot].userinfo, "name")); + return true; +} + +static qboolean dead_iterator (ignore_t *ig, llist_node_t *node) +{ + Sys_Printf ("%s\n", ig->lastname); + return true; } static void @@ -82,18 +94,6 @@ CL_Ignore_f (void) { CL_Ignore_Sanity_Check (); if (Cmd_Argc () == 1) { - auto qboolean live_iterator (ignore_t *ig, llist_node_t *node); - qboolean live_iterator (ignore_t *ig, llist_node_t *node) - { - Sys_Printf ("%5i - %s\n", ig->uid, Info_ValueForKey (cl.players[ig->slot].userinfo, "name")); - return true; - } - auto qboolean dead_iterator (ignore_t *ig, llist_node_t *node); - qboolean dead_iterator (ignore_t *ig, llist_node_t *node) - { - Sys_Printf ("%s\n", ig->lastname); - return true; - } Sys_Printf ( "Users ignored by user id\n" "------------------------\n" @@ -143,28 +143,37 @@ CL_Unignore_f (void) } } +/* + HACK HACK HACK (phrosty) + replaced GCC-specific nested functions with this. + come back and make this cleaner later. +*/ +static const char *g_cam_str; +static dstring_t *g_cam_test; +static qboolean g_cam_allowed; + +static qboolean cam_iterator (ignore_t *ig, llist_node_t *node) +{ + if (cl.players[ig->slot].userid != ig->uid) { // We got out of sync somehow + llist_remove (node); + return true; + } + dsprintf (g_cam_test, "%s: ", Info_ValueForKey (cl.players[ig->slot].userinfo, "name")); + if (!strncmp (g_cam_test->str, g_cam_str, sizeof (g_cam_test->str))) { + return g_cam_allowed = false; + } else + return true; +} + qboolean CL_Chat_Allow_Message (const char *str) { - dstring_t *test = dstring_newstr (); - qboolean allowed = true; + g_cam_str = str; + g_cam_test = dstring_newstr (); + g_cam_allowed = true; - auto qboolean iterator (ignore_t *ig, llist_node_t *node); - qboolean iterator (ignore_t *ig, llist_node_t *node) - { - if (cl.players[ig->slot].userid != ig->uid) { // We got out of sync somehow - llist_remove (node); - return true; - } - dsprintf (test, "%s: ", Info_ValueForKey (cl.players[ig->slot].userinfo, "name")); - if (!strncmp (test->str, str, sizeof (test->str))) { - return allowed = false; - } else - return true; - } - - llist_iterate (ignore_list, LLIST_ICAST (iterator)); - return allowed; + llist_iterate (ignore_list, LLIST_ICAST (cam_iterator)); + return g_cam_allowed; } void @@ -183,26 +192,30 @@ CL_Chat_User_Disconnected (int uid) } } +static const char *g_ccn_name; +static ignore_t *g_ccn_found; + +static qboolean ccn_iterator (ignore_t *ig, llist_node_t *node) +{ + if (!strcmp (ig->lastname, g_ccn_name)) { + g_ccn_found = ig; + return false; + } else + return true; +} + void CL_Chat_Check_Name (const char *name, int slot) { - ignore_t *found = 0; + g_ccn_name = name; + g_ccn_found = 0; - auto qboolean iterator (ignore_t *ig, llist_node_t *node); - qboolean iterator (ignore_t *ig, llist_node_t *node) - { - if (!strcmp (ig->lastname, name)) { - found = ig; - return false; - } else - return true; - } - llist_iterate (dead_ignore_list, LLIST_ICAST (iterator)); - if (found) { - found->slot = slot; - found->uid = cl.players[slot].userid; - llist_append (ignore_list, llist_remove (llist_getnode (dead_ignore_list, found))); - Sys_Printf ("User %i (%s) is using an ignored name. Now ignoring by user id...\n", found->uid, found->lastname); + llist_iterate (dead_ignore_list, LLIST_ICAST (ccn_iterator)); + if (g_ccn_found) { + g_ccn_found->slot = slot; + g_ccn_found->uid = cl.players[slot].userid; + llist_append (ignore_list, llist_remove (llist_getnode (dead_ignore_list, g_ccn_found))); + Sys_Printf ("User %i (%s) is using an ignored name. Now ignoring by user id...\n", g_ccn_found->uid, g_ccn_found->lastname); } } diff --git a/qw/source/cl_demo.c b/qw/source/cl_demo.c index c2e504b02..7095e96ff 100644 --- a/qw/source/cl_demo.c +++ b/qw/source/cl_demo.c @@ -41,7 +41,9 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_SYS_TIME_H #include +#endif #include #include "QF/cbuf.h" diff --git a/qw/source/cl_main.c b/qw/source/cl_main.c index 6cefd152d..8034a2025 100644 --- a/qw/source/cl_main.c +++ b/qw/source/cl_main.c @@ -56,6 +56,10 @@ static __attribute__ ((used)) const char rcsid[] = # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif + #include #include #include diff --git a/qw/source/cl_tent.c b/qw/source/cl_tent.c index 1991cb718..63e70b117 100644 --- a/qw/source/cl_tent.c +++ b/qw/source/cl_tent.c @@ -354,6 +354,7 @@ CL_ParseTEnt (void) } // sound + Con_Printf ("%s\n", cl_sfx_r_exp3->name); S_StartSound (-1, 0, cl_sfx_r_exp3, pos, 1, 1); // sprite diff --git a/qw/source/sv_demo.c b/qw/source/sv_demo.c index 2c13b0611..1d2e9d131 100644 --- a/qw/source/sv_demo.c +++ b/qw/source/sv_demo.c @@ -33,7 +33,9 @@ static __attribute__ ((used)) const char rcsid[] = #ifdef HAVE_UNISTD_H # include "unistd.h" #endif +#ifdef HAVE_SYS_TIME_H #include +#endif #include #include "QF/cmd.h" diff --git a/qw/source/sv_main.c b/qw/source/sv_main.c index 49026b75e..c797628fd 100644 --- a/qw/source/sv_main.c +++ b/qw/source/sv_main.c @@ -1264,9 +1264,9 @@ static qboolean SV_StringToFilter (const char *address, ipfilter_t *f) { #ifdef HAVE_IPV6 - byte b[16] = {}; + byte b[16] = {0}; #else - byte b[4] = {}; + byte b[4] = {0}; #endif int mask = 0; unsigned int i; diff --git a/qw/source/sv_recorder.c b/qw/source/sv_recorder.c index e72bf369d..7a12dd134 100644 --- a/qw/source/sv_recorder.c +++ b/qw/source/sv_recorder.c @@ -44,7 +44,9 @@ static __attribute__ ((used)) const char rcsid[] = #ifdef HAVE_UNISTD_H # include "unistd.h" #endif +#ifdef HAVE_SYS_TIME_H #include +#endif #include #include "QF/sizebuf.h" diff --git a/tools/qfbsp/source/qfbsp.c b/tools/qfbsp/source/qfbsp.c index 4ed8f09c0..b0fac947f 100644 --- a/tools/qfbsp/source/qfbsp.c +++ b/tools/qfbsp/source/qfbsp.c @@ -37,6 +37,9 @@ static __attribute__ ((used)) const char rcsid[] = #ifdef HAVE_STRINGS_H # include #endif +#ifdef HAVE_MALLOC_H +#include +#endif #include #include diff --git a/tools/qflight/source/noise.c b/tools/qflight/source/noise.c index ce95aa880..957f7f984 100644 --- a/tools/qflight/source/noise.c +++ b/tools/qflight/source/noise.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include diff --git a/tools/qflight/source/vis.c b/tools/qflight/source/vis.c index 6b3116a63..e34894633 100644 --- a/tools/qflight/source/vis.c +++ b/tools/qflight/source/vis.c @@ -41,6 +41,9 @@ static __attribute__ ((used)) const char rcsid[] = #ifdef HAVE_STRINGS_H # include #endif +#ifdef HAVE_MALLOC_H +# include +#endif #include "QF/bspfile.h" #include "QF/mathlib.h" diff --git a/vc2005/QuakeForge.sln b/vc2005/QuakeForge.sln new file mode 100644 index 000000000..3967ccebd --- /dev/null +++ b/vc2005/QuakeForge.sln @@ -0,0 +1,356 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfclient", "qfclient\qfclient.vcproj", "{9A942925-61E6-4975-935A-5D62E8248E64}" + ProjectSection(ProjectDependencies) = postProject + {5203F034-0047-4EC0-B7E9-D037FAF5D536} = {5203F034-0047-4EC0-B7E9-D037FAF5D536} + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F} = {E7B3D07D-2FE8-481B-8DAB-6255A412A42F} + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + {ED4AFBF5-C247-4352-966D-048B8998C6A1} = {ED4AFBF5-C247-4352-966D-048B8998C6A1} + {51028ACF-53D4-4478-8500-55E6B8A81375} = {51028ACF-53D4-4478-8500-55E6B8A81375} + {6ADA4322-693A-46BB-897B-17BB5BE9F08C} = {6ADA4322-693A-46BB-897B-17BB5BE9F08C} + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7} = {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7} + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} = {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} + {04FA9D77-E45F-4917-B972-B353BA6A6FA8} = {04FA9D77-E45F-4917-B972-B353BA6A6FA8} + {2626C0E1-6F5C-47D3-B80D-93942D766DD7} = {2626C0E1-6F5C-47D3-B80D-93942D766DD7} + {BF149D97-7520-4788-9CD1-3D99C5C8150F} = {BF149D97-7520-4788-9CD1-3D99C5C8150F} + {01C3B138-9D45-4ED6-A763-893C067262C2} = {01C3B138-9D45-4ED6-A763-893C067262C2} + {226D42CE-5833-444E-94FA-84C1D51892A8} = {226D42CE-5833-444E-94FA-84C1D51892A8} + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} = {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qw", "qw\qw.vcproj", "{6ADA4322-693A-46BB-897B-17BB5BE9F08C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "net\net.vcproj", "{6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ruamoko", "ruamoko\ruamoko.vcproj", "{51028ACF-53D4-4478-8500-55E6B8A81375}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modelsgl", "modelsgl\modelsgl.vcproj", "{1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console", "console\console.vcproj", "{ED4AFBF5-C247-4352-966D-048B8998C6A1}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gib", "gib\gib.vcproj", "{01C3B138-9D45-4ED6-A763-893C067262C2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "util", "util\util.vcproj", "{ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "engine", "engine\engine.vcproj", "{2626C0E1-6F5C-47D3-B80D-93942D766DD7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "builtins", "builtins\builtins.vcproj", "{04FA9D77-E45F-4917-B972-B353BA6A6FA8}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "sound\sound.vcproj", "{BF149D97-7520-4788-9CD1-3D99C5C8150F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image", "image\image.vcproj", "{5203F034-0047-4EC0-B7E9-D037FAF5D536}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "video", "video\video.vcproj", "{E7B3D07D-2FE8-481B-8DAB-6255A412A42F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common\common.vcproj", "{BC1F021A-1EEC-4A7A-B746-5AA6048E478C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfserver", "qfserver\qfserver.vcproj", "{544D097C-9C24-4C57-A171-8C8029421185}" + ProjectSection(ProjectDependencies) = postProject + {6ADA4322-693A-46BB-897B-17BB5BE9F08C} = {6ADA4322-693A-46BB-897B-17BB5BE9F08C} + {B37FE734-01F4-4799-86B2-D084820715BE} = {B37FE734-01F4-4799-86B2-D084820715BE} + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} = {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A} = {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A} + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} = {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} + {ED4AFBF5-C247-4352-966D-048B8998C6A1} = {ED4AFBF5-C247-4352-966D-048B8998C6A1} + {2626C0E1-6F5C-47D3-B80D-93942D766DD7} = {2626C0E1-6F5C-47D3-B80D-93942D766DD7} + {51028ACF-53D4-4478-8500-55E6B8A81375} = {51028ACF-53D4-4478-8500-55E6B8A81375} + {04FA9D77-E45F-4917-B972-B353BA6A6FA8} = {04FA9D77-E45F-4917-B972-B353BA6A6FA8} + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + {01C3B138-9D45-4ED6-A763-893C067262C2} = {01C3B138-9D45-4ED6-A763-893C067262C2} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "models", "models\models.vcproj", "{DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console_client", "console_client\console_client.vcproj", "{226D42CE-5833-444E-94FA-84C1D51892A8}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console_server", "console_server\console_server.vcproj", "{B37FE734-01F4-4799-86B2-D084820715BE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfbsp", "qfbsp\qfbsp.vcproj", "{B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qflight", "qflight\qflight.vcproj", "{5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfvis", "qfvis\qfvis.vcproj", "{E5D842C5-669F-4FC7-A5E0-44B562F86435}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9A942925-61E6-4975-935A-5D62E8248E64}.Debug|Win32.ActiveCfg = Debug|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Debug|Win32.Build.0 = Debug|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Release|Win32.ActiveCfg = Release|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Release|Win32.Build.0 = Release|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Debug|Win32.ActiveCfg = Debug|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Debug|Win32.Build.0 = Debug|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Release|Win32.ActiveCfg = Release|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Release|Win32.Build.0 = Release|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Debug|Win32.ActiveCfg = Debug|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Debug|Win32.Build.0 = Debug|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Release|Win32.ActiveCfg = Release|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Release|Win32.Build.0 = Release|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Debug|Win32.ActiveCfg = Debug|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Debug|Win32.Build.0 = Debug|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Release|Win32.ActiveCfg = Release|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Release|Win32.Build.0 = Release|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Debug|Win32.ActiveCfg = Debug|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Debug|Win32.Build.0 = Debug|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Release|Win32.ActiveCfg = Release|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Release|Win32.Build.0 = Release|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Debug|Win32.ActiveCfg = Debug|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Debug|Win32.Build.0 = Debug|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Release|Win32.ActiveCfg = Release|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Release|Win32.Build.0 = Release|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Debug|Win32.ActiveCfg = Debug|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Debug|Win32.Build.0 = Debug|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Release|Win32.ActiveCfg = Release|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Release|Win32.Build.0 = Release|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Debug|Win32.ActiveCfg = Debug|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Debug|Win32.Build.0 = Debug|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Release|Win32.ActiveCfg = Release|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Release|Win32.Build.0 = Release|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Debug|Win32.ActiveCfg = Debug|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Debug|Win32.Build.0 = Debug|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Release|Win32.ActiveCfg = Release|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Release|Win32.Build.0 = Release|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Debug|Win32.ActiveCfg = Debug|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Debug|Win32.Build.0 = Debug|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Release|Win32.ActiveCfg = Release|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Release|Win32.Build.0 = Release|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Debug|Win32.ActiveCfg = Debug|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Debug|Win32.Build.0 = Debug|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Release|Win32.ActiveCfg = Release|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Release|Win32.Build.0 = Release|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Debug|Win32.ActiveCfg = Debug|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Debug|Win32.Build.0 = Debug|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Release|Win32.ActiveCfg = Release|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Release|Win32.Build.0 = Release|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Debug|Win32.ActiveCfg = Debug|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Debug|Win32.Build.0 = Debug|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Release|Win32.ActiveCfg = Release|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Release|Win32.Build.0 = Release|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Debug|Win32.ActiveCfg = Debug|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Debug|Win32.Build.0 = Debug|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Release|Win32.ActiveCfg = Release|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Release|Win32.Build.0 = Release|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Debug|Win32.ActiveCfg = Debug|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Debug|Win32.Build.0 = Debug|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Release|Win32.ActiveCfg = Release|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Release|Win32.Build.0 = Release|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Debug|Win32.ActiveCfg = Debug|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Debug|Win32.Build.0 = Debug|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Release|Win32.ActiveCfg = Release|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Release|Win32.Build.0 = Release|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Debug|Win32.ActiveCfg = Debug|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Debug|Win32.Build.0 = Debug|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Release|Win32.ActiveCfg = Release|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Release|Win32.Build.0 = Release|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Debug|Win32.ActiveCfg = Debug|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Debug|Win32.Build.0 = Debug|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Release|Win32.ActiveCfg = Release|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Release|Win32.Build.0 = Release|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Debug|Win32.Build.0 = Debug|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Release|Win32.ActiveCfg = Release|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Release|Win32.Build.0 = Release|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Debug|Win32.ActiveCfg = Debug|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Debug|Win32.Build.0 = Debug|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Release|Win32.ActiveCfg = Release|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Release|Win32.Build.0 = Release|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Debug|Win32.ActiveCfg = Debug|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Debug|Win32.Build.0 = Debug|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Release|Win32.ActiveCfg = Release|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfclient", "qfclient\qfclient.vcproj", "{9A942925-61E6-4975-935A-5D62E8248E64}" + ProjectSection(ProjectDependencies) = postProject + {5203F034-0047-4EC0-B7E9-D037FAF5D536} = {5203F034-0047-4EC0-B7E9-D037FAF5D536} + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F} = {E7B3D07D-2FE8-481B-8DAB-6255A412A42F} + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + {ED4AFBF5-C247-4352-966D-048B8998C6A1} = {ED4AFBF5-C247-4352-966D-048B8998C6A1} + {51028ACF-53D4-4478-8500-55E6B8A81375} = {51028ACF-53D4-4478-8500-55E6B8A81375} + {6ADA4322-693A-46BB-897B-17BB5BE9F08C} = {6ADA4322-693A-46BB-897B-17BB5BE9F08C} + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7} = {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7} + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} = {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} + {04FA9D77-E45F-4917-B972-B353BA6A6FA8} = {04FA9D77-E45F-4917-B972-B353BA6A6FA8} + {2626C0E1-6F5C-47D3-B80D-93942D766DD7} = {2626C0E1-6F5C-47D3-B80D-93942D766DD7} + {BF149D97-7520-4788-9CD1-3D99C5C8150F} = {BF149D97-7520-4788-9CD1-3D99C5C8150F} + {01C3B138-9D45-4ED6-A763-893C067262C2} = {01C3B138-9D45-4ED6-A763-893C067262C2} + {226D42CE-5833-444E-94FA-84C1D51892A8} = {226D42CE-5833-444E-94FA-84C1D51892A8} + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} = {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qw", "qw\qw.vcproj", "{6ADA4322-693A-46BB-897B-17BB5BE9F08C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "net", "net\net.vcproj", "{6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ruamoko", "ruamoko\ruamoko.vcproj", "{51028ACF-53D4-4478-8500-55E6B8A81375}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "modelsgl", "modelsgl\modelsgl.vcproj", "{1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console", "console\console.vcproj", "{ED4AFBF5-C247-4352-966D-048B8998C6A1}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gib", "gib\gib.vcproj", "{01C3B138-9D45-4ED6-A763-893C067262C2}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "util", "util\util.vcproj", "{ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "engine", "engine\engine.vcproj", "{2626C0E1-6F5C-47D3-B80D-93942D766DD7}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "builtins", "builtins\builtins.vcproj", "{04FA9D77-E45F-4917-B972-B353BA6A6FA8}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sound", "sound\sound.vcproj", "{BF149D97-7520-4788-9CD1-3D99C5C8150F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "image", "image\image.vcproj", "{5203F034-0047-4EC0-B7E9-D037FAF5D536}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "video", "video\video.vcproj", "{E7B3D07D-2FE8-481B-8DAB-6255A412A42F}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "common", "common\common.vcproj", "{BC1F021A-1EEC-4A7A-B746-5AA6048E478C}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfserver", "qfserver\qfserver.vcproj", "{544D097C-9C24-4C57-A171-8C8029421185}" + ProjectSection(ProjectDependencies) = postProject + {6ADA4322-693A-46BB-897B-17BB5BE9F08C} = {6ADA4322-693A-46BB-897B-17BB5BE9F08C} + {B37FE734-01F4-4799-86B2-D084820715BE} = {B37FE734-01F4-4799-86B2-D084820715BE} + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} = {BC1F021A-1EEC-4A7A-B746-5AA6048E478C} + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A} = {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A} + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} = {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0} + {ED4AFBF5-C247-4352-966D-048B8998C6A1} = {ED4AFBF5-C247-4352-966D-048B8998C6A1} + {2626C0E1-6F5C-47D3-B80D-93942D766DD7} = {2626C0E1-6F5C-47D3-B80D-93942D766DD7} + {51028ACF-53D4-4478-8500-55E6B8A81375} = {51028ACF-53D4-4478-8500-55E6B8A81375} + {04FA9D77-E45F-4917-B972-B353BA6A6FA8} = {04FA9D77-E45F-4917-B972-B353BA6A6FA8} + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + {01C3B138-9D45-4ED6-A763-893C067262C2} = {01C3B138-9D45-4ED6-A763-893C067262C2} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "models", "models\models.vcproj", "{DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console_client", "console_client\console_client.vcproj", "{226D42CE-5833-444E-94FA-84C1D51892A8}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "console_server", "console_server\console_server.vcproj", "{B37FE734-01F4-4799-86B2-D084820715BE}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfbsp", "qfbsp\qfbsp.vcproj", "{B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qflight", "qflight\qflight.vcproj", "{5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qfvis", "qfvis\qfvis.vcproj", "{E5D842C5-669F-4FC7-A5E0-44B562F86435}" + ProjectSection(ProjectDependencies) = postProject + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} = {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9A942925-61E6-4975-935A-5D62E8248E64}.Debug|Win32.ActiveCfg = Debug|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Debug|Win32.Build.0 = Debug|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Release|Win32.ActiveCfg = Release|Win32 + {9A942925-61E6-4975-935A-5D62E8248E64}.Release|Win32.Build.0 = Release|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Debug|Win32.ActiveCfg = Debug|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Debug|Win32.Build.0 = Debug|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Release|Win32.ActiveCfg = Release|Win32 + {6ADA4322-693A-46BB-897B-17BB5BE9F08C}.Release|Win32.Build.0 = Release|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Debug|Win32.ActiveCfg = Debug|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Debug|Win32.Build.0 = Debug|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Release|Win32.ActiveCfg = Release|Win32 + {6540C00F-C5EF-4C8B-824D-F2B7B302F0E0}.Release|Win32.Build.0 = Release|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Debug|Win32.ActiveCfg = Debug|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Debug|Win32.Build.0 = Debug|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Release|Win32.ActiveCfg = Release|Win32 + {51028ACF-53D4-4478-8500-55E6B8A81375}.Release|Win32.Build.0 = Release|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Debug|Win32.ActiveCfg = Debug|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Debug|Win32.Build.0 = Debug|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Release|Win32.ActiveCfg = Release|Win32 + {1311DEDF-B04C-4E96-BFDC-5D9FA0B05AC7}.Release|Win32.Build.0 = Release|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Debug|Win32.ActiveCfg = Debug|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Debug|Win32.Build.0 = Debug|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Release|Win32.ActiveCfg = Release|Win32 + {ED4AFBF5-C247-4352-966D-048B8998C6A1}.Release|Win32.Build.0 = Release|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Debug|Win32.ActiveCfg = Debug|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Debug|Win32.Build.0 = Debug|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Release|Win32.ActiveCfg = Release|Win32 + {01C3B138-9D45-4ED6-A763-893C067262C2}.Release|Win32.Build.0 = Release|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Debug|Win32.ActiveCfg = Debug|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Debug|Win32.Build.0 = Debug|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Release|Win32.ActiveCfg = Release|Win32 + {ACCC6F49-7E06-4395-AAF4-3C03A68F49EB}.Release|Win32.Build.0 = Release|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Debug|Win32.ActiveCfg = Debug|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Debug|Win32.Build.0 = Debug|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Release|Win32.ActiveCfg = Release|Win32 + {2626C0E1-6F5C-47D3-B80D-93942D766DD7}.Release|Win32.Build.0 = Release|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Debug|Win32.ActiveCfg = Debug|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Debug|Win32.Build.0 = Debug|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Release|Win32.ActiveCfg = Release|Win32 + {04FA9D77-E45F-4917-B972-B353BA6A6FA8}.Release|Win32.Build.0 = Release|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Debug|Win32.ActiveCfg = Debug|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Debug|Win32.Build.0 = Debug|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Release|Win32.ActiveCfg = Release|Win32 + {BF149D97-7520-4788-9CD1-3D99C5C8150F}.Release|Win32.Build.0 = Release|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Debug|Win32.ActiveCfg = Debug|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Debug|Win32.Build.0 = Debug|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Release|Win32.ActiveCfg = Release|Win32 + {5203F034-0047-4EC0-B7E9-D037FAF5D536}.Release|Win32.Build.0 = Release|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Debug|Win32.ActiveCfg = Debug|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Debug|Win32.Build.0 = Debug|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Release|Win32.ActiveCfg = Release|Win32 + {E7B3D07D-2FE8-481B-8DAB-6255A412A42F}.Release|Win32.Build.0 = Release|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Debug|Win32.ActiveCfg = Debug|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Debug|Win32.Build.0 = Debug|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Release|Win32.ActiveCfg = Release|Win32 + {BC1F021A-1EEC-4A7A-B746-5AA6048E478C}.Release|Win32.Build.0 = Release|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Debug|Win32.ActiveCfg = Debug|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Debug|Win32.Build.0 = Debug|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Release|Win32.ActiveCfg = Release|Win32 + {544D097C-9C24-4C57-A171-8C8029421185}.Release|Win32.Build.0 = Release|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Debug|Win32.ActiveCfg = Debug|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Debug|Win32.Build.0 = Debug|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Release|Win32.ActiveCfg = Release|Win32 + {DE7E8FF8-0F5D-4062-A5C0-CFA3502E7A5A}.Release|Win32.Build.0 = Release|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Debug|Win32.ActiveCfg = Debug|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Debug|Win32.Build.0 = Debug|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Release|Win32.ActiveCfg = Release|Win32 + {226D42CE-5833-444E-94FA-84C1D51892A8}.Release|Win32.Build.0 = Release|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Debug|Win32.ActiveCfg = Debug|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Debug|Win32.Build.0 = Debug|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Release|Win32.ActiveCfg = Release|Win32 + {B37FE734-01F4-4799-86B2-D084820715BE}.Release|Win32.Build.0 = Release|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Debug|Win32.ActiveCfg = Debug|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Debug|Win32.Build.0 = Debug|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Release|Win32.ActiveCfg = Release|Win32 + {B00D4025-0437-4FF2-BD0E-D2AE6CF82AC2}.Release|Win32.Build.0 = Release|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Debug|Win32.ActiveCfg = Debug|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Debug|Win32.Build.0 = Debug|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Release|Win32.ActiveCfg = Release|Win32 + {5E7E6110-89E8-4797-A8E3-EBEF0EF5CAF2}.Release|Win32.Build.0 = Release|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Debug|Win32.ActiveCfg = Debug|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Debug|Win32.Build.0 = Debug|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Release|Win32.ActiveCfg = Release|Win32 + {E5D842C5-669F-4FC7-A5E0-44B562F86435}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/vc2005/builtins/builtins.vcproj b/vc2005/builtins/builtins.vcproj new file mode 100644 index 000000000..990866855 --- /dev/null +++ b/vc2005/builtins/builtins.vcproj @@ -0,0 +1,386 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/clean.ps1 b/vc2005/clean.ps1 new file mode 100644 index 000000000..7952a024c --- /dev/null +++ b/vc2005/clean.ps1 @@ -0,0 +1,8 @@ +ls -recurse -include 'win32' | rm -recurse +ls -recurse -include '*.user' | rm -recurse +if(test-path QuakeForge.suo) { rm QuakeForge.suo -force } +if(test-path QuakeForge.ncb) { rm QuakeForge.ncb } +ls -recurse -include 'win32' | rm -recurse +ls -recurse -include '*.user' | rm -recurse +if(test-path QuakeForge.suo) { rm QuakeForge.suo -force } +if(test-path QuakeForge.ncb) { rm QuakeForge.ncb } \ No newline at end of file diff --git a/vc2005/common/common.vcproj b/vc2005/common/common.vcproj new file mode 100644 index 000000000..b364475c9 --- /dev/null +++ b/vc2005/common/common.vcproj @@ -0,0 +1,410 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/console/console.vcproj b/vc2005/console/console.vcproj new file mode 100644 index 000000000..767756bca --- /dev/null +++ b/vc2005/console/console.vcproj @@ -0,0 +1,418 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/console_client/console_client.vcproj b/vc2005/console_client/console_client.vcproj new file mode 100644 index 000000000..20e488ff7 --- /dev/null +++ b/vc2005/console_client/console_client.vcproj @@ -0,0 +1,386 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/console_server/console_server.vcproj b/vc2005/console_server/console_server.vcproj new file mode 100644 index 000000000..13542f2eb --- /dev/null +++ b/vc2005/console_server/console_server.vcproj @@ -0,0 +1,370 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/engine/engine.vcproj b/vc2005/engine/engine.vcproj new file mode 100644 index 000000000..a2ad33bc3 --- /dev/null +++ b/vc2005/engine/engine.vcproj @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/gib/gib.vcproj b/vc2005/gib/gib.vcproj new file mode 100644 index 000000000..33a2c5103 --- /dev/null +++ b/vc2005/gib/gib.vcproj @@ -0,0 +1,506 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/image/image.vcproj b/vc2005/image/image.vcproj new file mode 100644 index 000000000..02c4e3ce1 --- /dev/null +++ b/vc2005/image/image.vcproj @@ -0,0 +1,394 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/include/config.h b/vc2005/include/config.h new file mode 100644 index 000000000..06d568be6 --- /dev/null +++ b/vc2005/include/config.h @@ -0,0 +1,1452 @@ +/* include/config.h. Generated from config.h.in by configure. */ +/* include/config.h.in. Generated from configure.ac by autoheader. */ + +/* list of cd plugins */ +#define CD_PLUGIN_LIST {"cd_win", cd_win_PluginInfo},{0, 0} + +/* list of cd prototypes */ +#define CD_PLUGIN_PROTOS extern plugin_t *cd_win_PluginInfo (void); + +/* list of client plugins */ +#define CLIENT_PLUGIN_LIST {"console_client", console_client_PluginInfo},{0, 0} + +/* list of client prototypes */ +#define CLIENT_PLUGIN_PROTOS extern plugin_t *console_client_PluginInfo (void); + +/* Define this to the command line for the C preprocessor */ +#define CPP_NAME "cpp %d -o %o %i" + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to 1 if using `alloca.c'. */ +/* #undef C_ALLOCA */ + +/* Define this to the location of the global config file */ +#define FS_GLOBALCFG "~/quakeforge.conf" + +/* Define this to the path from which to load plugins */ +#define FS_PLUGINPATH "/usr/local/lib/quakeforge" + +/* Define this to the shared game directory root */ +#define FS_SHAREPATH "." + +/* Define this to the location of the user config file */ +#define FS_USERCFG "~/quakeforgerc" + +/* Define this to the unshared game directory root */ +#define FS_USERPATH "." + +/* Define this to the default GL dynamic lib */ +#define GL_DRIVER "OPENGL32.DLL" + +/* Define to 1 if you have the `access' function. */ +#define HAVE_ACCESS 1 + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +/* #undef HAVE_ALLOCA_H */ + +/* Define this if alloca is prototyped */ +/* #undef HAVE_ALLOCA_PROTO */ +#ifndef HAVE_ALLOCA_PROTO +#ifndef QFASM +void *alloca (int size); +#endif +#endif + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ALSA_ASOUNDLIB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_INET_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ASM_IO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_CONIO_H 1 + +/* Define to 1 if you have the `connect' function. */ +#define HAVE_CONNECT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_CTYPE_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_CURSES_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DDRAW_H 1 + +/* Define if you have the XFree86 DGA extension */ +/* #undef HAVE_DGA */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DINPUT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DIRECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DIRENT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define if you have the dlopen function. */ +/* #undef HAVE_DLOPEN */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DMEDIA_AUDIO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DMEDIA_CDAUDIO_H */ + +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DPMI_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DSOUND_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_EXECINFO_H */ + +/* Define this if you have FB_AUX_VGA_PLANES_CFB4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_CFB4 */ + +/* Define this if you have FB_AUX_VGA_PLANES_CFB4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_CFB8 */ + +/* Define this if you have FB_AUX_VGA_PLANES_VGA4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_VGA4 */ + +/* Define to 1 if you have the `fcntl' function. */ +/* #undef HAVE_FCNTL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* define this if you have flac libs */ +/* #undef HAVE_FLAC */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FNMATCH_H 1 + +/* Define this if fnmatch is prototyped in fnmatch.h */ +/* #undef HAVE_FNMATCH_PROTO */ + +/* Define this if FPOS_T is a struct */ +/* #undef HAVE_FPOS_T_STRUCT */ + +/* Define to 1 if you have the `ftime' function. */ +#define HAVE_FTIME 1 + +/* Define to 1 if you have the `getaddrinfo' function. */ +#define HAVE_GETADDRINFO 1 + +/* Define to 1 if you have the `gethostbyname' function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostname' function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the `getnameinfo' function. */ +#define HAVE_GETNAMEINFO 1 + +/* Define to 1 if you have the `getpagesize' function. */ +/* #undef HAVE_GETPAGESIZE */ + +/* Define to 1 if you have the `gettimeofday' function. */ +/* #undef HAVE_GETTIMEOFDAY */ + +/* Define to 1 if you have the `getwd' function. */ +/* #undef HAVE_GETWD */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define this if your system has struct in_pktinfo */ +#define HAVE_IN_PKTINFO 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_IO_H 1 + +/* Define this if you want IPv6 support */ +/* #undef HAVE_IPV6 */ + +/* Define if you have libjack */ +/* #undef HAVE_JACK */ + +/* Define to 1 if you have a functional curl library. */ +/* #undef HAVE_LIBCURL */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LIBC_H */ + +/* Define to 1 if you have the `db' library (-ldb). */ +/* #undef HAVE_LIBDB */ + +/* Define to 1 if you have the `efence' library (-lefence). */ +/* #undef HAVE_LIBEFENCE */ + +/* Define to 1 if you have the `m' library (-lm). */ +/* #undef HAVE_LIBM */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_CDROM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_FB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_JOYSTICK_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_SOUNDCARD_H */ + +/* Define to 1 if you support file names longer than 14 characters. */ +#define HAVE_LONG_FILE_NAMES 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MACHINE_SOUNDCARD_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MATH_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MGRAPH_H */ + +/* Define to 1 if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* Define to 1 if you have a working `mmap' system call. */ +/* #undef HAVE_MMAP */ + +/* Define to 1 if you have the `mprotect' function. */ +/* #undef HAVE_MPROTECT */ + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETDB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETINET_IN_H */ + +/* Define if you have libpng */ +/* #undef HAVE_PNG */ + +/* Define to 1 if you have the header file. */ +#define HAVE_PROCESS_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PTHREAD_H */ + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PWD_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_RPC_TYPES_H */ + +/* Define this if you have sa_len member in struct sockaddr (BSD) */ +/* #undef HAVE_SA_LEN */ + +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SETJMP_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define this if you have sin6_len member in struct sockaddr_in6 (BSD) */ +/* #undef HAVE_SIN6_LEN */ + +/* Define this if your system has size_t */ +#define HAVE_SIZE_T 1 + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* Define to 1 if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* Define this if your system has socklen_t */ +/* #undef HAVE_SOCKLEN_T */ + +/* Define this if you have ss_len member in struct sockaddr_storage (BSD) */ +/* #undef HAVE_SS_LEN */ + +/* Define to 1 if you have the `stat' function. */ +#define HAVE_STAT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDINT_H 1 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasestr' function. */ +/* #undef HAVE_STRCASESTR */ + +/* Define this if strcasestr is prototyped in string.h */ +/* #undef HAVE_STRCASESTR_PROTO */ + +/* Define to 1 if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H 1 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strnlen' function. */ +#define HAVE_STRNLEN 1 + +/* Define this if strnlen is prototyped in string.h */ +#define HAVE_STRNLEN_PROTO 1 + +/* Define to 1 if you have the `strsep' function. */ +/* #undef HAVE_STRSEP */ + +/* Define to 1 if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Define to 1 if `st_blksize' is member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */ + +/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use + `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */ +/* #undef HAVE_ST_BLKSIZE */ + +/* Define this if C symbols are prefixed with an underscore */ +#define HAVE_SYM_PREFIX_UNDERSCORE 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_ASOUNDLIB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_AUDIOIO_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FILIO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IOCTL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IPC_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_MMAN_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_PARAM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_POLL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SHM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SIGNAL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOUNDCARD_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TIME_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UIO_H */ + +/* Define to 1 if you have that is POSIX.1 compatible. */ +/* #undef HAVE_SYS_WAIT_H */ + +/* Define this if you have tchar.h */ +#define HAVE_TCHAR_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TERMIOS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_UNISTD_H */ + +/* Define to 1 if you have the `usleep' function. */ +/* #undef HAVE_USLEEP */ + +/* Define if va_copy is available */ +/* #undef HAVE_VA_COPY */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VGAKEYBOARD_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VGAMOUSE_H */ + +/* Define if you have the XFree86 VIDMODE extension */ +/* #undef HAVE_VIDMODE */ + +/* define this if you have ogg/vorbis libs */ +/* #undef HAVE_VORBIS */ + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define to 1 if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* Define if you have WildMidi */ +/* #undef HAVE_WILDMIDI */ + +/* Define to 1 if you have the header file. */ +#define HAVE_WINDOWS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WINSOCK_H 1 + +/* Define if you have XMMS */ +/* #undef HAVE_XMMS */ + +/* Define if you have zlib */ +/* #undef HAVE_ZLIB */ + +/* Define to 1 if you have the `_access' function. */ +#define HAVE__ACCESS 1 + +/* Define to 1 if you have the `_ftime' function. */ +#define HAVE__FTIME 1 + +/* Define to 1 if you have the <_mingw.h> header file. */ +/* #undef HAVE__MINGW_H */ + +/* Define to 1 if you have the `_mkdir' function. */ +#define HAVE__MKDIR 1 + +/* Define this if you have _SC_PAGESIZE */ +/* #undef HAVE__SC_PAGESIZE */ + +/* Define to 1 if you have the `_snprintf' function. */ +#define HAVE__SNPRINTF 1 + +/* Define if __va_copy is available */ +/* #undef HAVE__VA_COPY */ + +/* Define to 1 if you have the `_vsnprintf' function. */ +#define HAVE__VSNPRINTF 1 + +/* Define this if the GCC __attribute__ keyword is available */ +/* #undef HAVE___ATTRIBUTE__ */ + +#ifndef HAVE___ATTRIBUTE__ +# define __attribute__(x) +#endif + +/* Define this if the GCC __attribute__ keyword is available */ +/* #undef HAVE___ATTRIBUTE__VISIBILITY */ + +#ifdef HAVE___ATTRIBUTE__VISIBILITY +# define VISIBLE __attribute__((visibility ("default"))) +#else +# define VISIBLE +#endif + +/* Define this if the GCC __builtin_expect keyword is available */ +/* #undef HAVE___BUILTIN_EXPECT */ + +#ifndef HAVE___BUILTIN_EXPECT +# define __builtin_expect(x,c) x +#endif + +/* Defined if libcurl supports AsynchDNS */ +/* #undef LIBCURL_FEATURE_ASYNCHDNS */ + +/* Defined if libcurl supports IDN */ +/* #undef LIBCURL_FEATURE_IDN */ + +/* Defined if libcurl supports IPv6 */ +/* #undef LIBCURL_FEATURE_IPV6 */ + +/* Defined if libcurl supports KRB4 */ +/* #undef LIBCURL_FEATURE_KRB4 */ + +/* Defined if libcurl supports libz */ +/* #undef LIBCURL_FEATURE_LIBZ */ + +/* Defined if libcurl supports NTLM */ +/* #undef LIBCURL_FEATURE_NTLM */ + +/* Defined if libcurl supports SSL */ +/* #undef LIBCURL_FEATURE_SSL */ + +/* Defined if libcurl supports SSPI */ +/* #undef LIBCURL_FEATURE_SSPI */ + +/* Defined if libcurl supports DICT */ +/* #undef LIBCURL_PROTOCOL_DICT */ + +/* Defined if libcurl supports FILE */ +/* #undef LIBCURL_PROTOCOL_FILE */ + +/* Defined if libcurl supports FTP */ +/* #undef LIBCURL_PROTOCOL_FTP */ + +/* Defined if libcurl supports FTPS */ +/* #undef LIBCURL_PROTOCOL_FTPS */ + +/* Defined if libcurl supports HTTP */ +/* #undef LIBCURL_PROTOCOL_HTTP */ + +/* Defined if libcurl supports HTTPS */ +/* #undef LIBCURL_PROTOCOL_HTTPS */ + +/* Defined if libcurl supports LDAP */ +/* #undef LIBCURL_PROTOCOL_LDAP */ + +/* Defined if libcurl supports TELNET */ +/* #undef LIBCURL_PROTOCOL_TELNET */ + +/* Defined if libcurl supports TFTP */ +/* #undef LIBCURL_PROTOCOL_TFTP */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in . + */ +/* #undef MAJOR_IN_MKDEV */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +/* #undef MAJOR_IN_SYSMACROS */ + +/* Define this to the QSG standard version you support in NetQuake */ +#define NQ_QSG_VERSION "1.0" + +/* Define this to the NetQuake standard version you support */ +#define NQ_VERSION "1.09" + +/* Name of package */ +#define PACKAGE "quakeforge" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* Define this to your operating system's path separator character */ +#define PATH_SEPARATOR '/' + +/* "Proper" package name */ +#define PROGRAM "QuakeForge" + +/* Define this to where qfcc should look for header files */ +#define QFCC_INCLUDE_PATH "/usr/local/include/QF/ruamoko" + +/* Define this to where qfcc should look for lib files */ +#define QFCC_LIB_PATH "/usr/local/lib/ruamoko" + +/* Define this to the QSG standard version you support in QuakeWorld */ +#define QW_QSG_VERSION "2.0" + +/* Define this to the QuakeWorld standard version you support */ +#define QW_VERSION "2.40" + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* list of server plugins */ +#define SERVER_PLUGIN_LIST {"console_server", console_server_PluginInfo},{0, 0} + +/* list of server prototypes */ +#define SERVER_PLUGIN_PROTOS extern plugin_t *console_server_PluginInfo (void); + +/* Define this to the default sound output driver. */ +#define SND_OUTPUT_DEFAULT "win" + +/* list of sound output plugins */ +#define SND_OUTPUT_LIST {"snd_output_win", snd_output_win_PluginInfo},{0, 0} + +/* list of sound output prototypes */ +#define SND_OUTPUT_PROTOS extern plugin_t *snd_output_win_PluginInfo (void); + +/* list of sound render plugins */ +#define SND_RENDER_LIST {"snd_render_default", snd_render_default_PluginInfo},{0, 0} + +/* list of sound render prototypes */ +#define SND_RENDER_PROTOS extern plugin_t *snd_render_default_PluginInfo (void); + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define this if you are building static plugins */ +#define STATIC_PLUGINS 1 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to 1 if your declares `struct tm'. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define this if you want progs typechecking */ +/* #undef TYPECHECK_PROGS */ + +/* Define this if you want to use Intel assembly optimizations */ +/* #undef USE_INTEL_ASM */ + +/* Define if va_list is an array */ +/* #undef VA_LIST_IS_ARRAY */ + +/* Version number of package */ +#define VERSION "0.5.5-SVN" + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to 1 if the X Window System is missing or not being used. */ +/* #undef X_DISPLAY_MISSING */ + +/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a + `char[]'. */ +/* #undef YYTEXT_POINTER */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define curl_free() as free() if our version of curl lacks curl_free. */ +/* #undef curl_free */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#define inline __inline +/* #undef inline */ +#endif + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define strcasecmp as stricmp if you have one but not the other */ +#define strcasecmp stricmp + +/* new stuff, for VC2005 compatibility (phrosty) */ + +#define _CRT_SECURE_NO_WARNINGS +#define _CRT_NONSTDC_NO_WARNINGS + +#define DIRECTINPUT_VERSION 0x0600 +#define INITGUID + +#define snprintf _snprintf +#define strncasecmp strnicmp + +#define ssize_t ptrdiff_t +#define S_ISDIR(mode) (mode & _S_IFDIR) + +/* used in access() */ +#define R_OK 04 + +/* disable silent conversion warnings for fixing later.. */ +#pragma warning(disable:4244 4311 4267 4305 4312 4047) +/* include/config.h. Generated from config.h.in by configure. */ +/* include/config.h.in. Generated from configure.ac by autoheader. */ + +/* list of cd plugins */ +#define CD_PLUGIN_LIST {"cd_win", cd_win_PluginInfo},{0, 0} + +/* list of cd prototypes */ +#define CD_PLUGIN_PROTOS extern plugin_t *cd_win_PluginInfo (void); + +/* list of client plugins */ +#define CLIENT_PLUGIN_LIST {"console_client", console_client_PluginInfo},{0, 0} + +/* list of client prototypes */ +#define CLIENT_PLUGIN_PROTOS extern plugin_t *console_client_PluginInfo (void); + +/* Define this to the command line for the C preprocessor */ +#define CPP_NAME "cpp %d -o %o %i" + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +/* #undef CRAY_STACKSEG_END */ + +/* Define to 1 if using `alloca.c'. */ +/* #undef C_ALLOCA */ + +/* Define this to the location of the global config file */ +#define FS_GLOBALCFG "~/quakeforge.conf" + +/* Define this to the path from which to load plugins */ +#define FS_PLUGINPATH "/usr/local/lib/quakeforge" + +/* Define this to the shared game directory root */ +#define FS_SHAREPATH "." + +/* Define this to the location of the user config file */ +#define FS_USERCFG "~/quakeforgerc" + +/* Define this to the unshared game directory root */ +#define FS_USERPATH "." + +/* Define this to the default GL dynamic lib */ +#define GL_DRIVER "OPENGL32.DLL" + +/* Define to 1 if you have the `access' function. */ +#define HAVE_ACCESS 1 + +/* Define to 1 if you have `alloca', as a function or macro. */ +#define HAVE_ALLOCA 1 + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +/* #undef HAVE_ALLOCA_H */ + +/* Define this if alloca is prototyped */ +/* #undef HAVE_ALLOCA_PROTO */ +#ifndef HAVE_ALLOCA_PROTO +#ifndef QFASM +void *alloca (int size); +#endif +#endif + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ALSA_ASOUNDLIB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ARPA_INET_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_ASM_IO_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ASSERT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_CONIO_H 1 + +/* Define to 1 if you have the `connect' function. */ +#define HAVE_CONNECT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_CTYPE_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_CURSES_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DDRAW_H 1 + +/* Define if you have the XFree86 DGA extension */ +/* #undef HAVE_DGA */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DINPUT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DIRECT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DIRENT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DLFCN_H */ + +/* Define if you have the dlopen function. */ +/* #undef HAVE_DLOPEN */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DMEDIA_AUDIO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DMEDIA_CDAUDIO_H */ + +/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */ +/* #undef HAVE_DOPRNT */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_DPMI_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_DSOUND_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_EXECINFO_H */ + +/* Define this if you have FB_AUX_VGA_PLANES_CFB4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_CFB4 */ + +/* Define this if you have FB_AUX_VGA_PLANES_CFB4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_CFB8 */ + +/* Define this if you have FB_AUX_VGA_PLANES_VGA4 */ +/* #undef HAVE_FB_AUX_VGA_PLANES_VGA4 */ + +/* Define to 1 if you have the `fcntl' function. */ +/* #undef HAVE_FCNTL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* define this if you have flac libs */ +/* #undef HAVE_FLAC */ + +/* Define to 1 if you have the header file. */ +#define HAVE_FNMATCH_H 1 + +/* Define this if fnmatch is prototyped in fnmatch.h */ +/* #undef HAVE_FNMATCH_PROTO */ + +/* Define this if FPOS_T is a struct */ +/* #undef HAVE_FPOS_T_STRUCT */ + +/* Define to 1 if you have the `ftime' function. */ +#define HAVE_FTIME 1 + +/* Define to 1 if you have the `getaddrinfo' function. */ +#define HAVE_GETADDRINFO 1 + +/* Define to 1 if you have the `gethostbyname' function. */ +#define HAVE_GETHOSTBYNAME 1 + +/* Define to 1 if you have the `gethostname' function. */ +#define HAVE_GETHOSTNAME 1 + +/* Define to 1 if you have the `getnameinfo' function. */ +#define HAVE_GETNAMEINFO 1 + +/* Define to 1 if you have the `getpagesize' function. */ +/* #undef HAVE_GETPAGESIZE */ + +/* Define to 1 if you have the `gettimeofday' function. */ +/* #undef HAVE_GETTIMEOFDAY */ + +/* Define to 1 if you have the `getwd' function. */ +/* #undef HAVE_GETWD */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_INTTYPES_H */ + +/* Define this if your system has struct in_pktinfo */ +#define HAVE_IN_PKTINFO 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_IO_H 1 + +/* Define this if you want IPv6 support */ +/* #undef HAVE_IPV6 */ + +/* Define if you have libjack */ +/* #undef HAVE_JACK */ + +/* Define to 1 if you have a functional curl library. */ +/* #undef HAVE_LIBCURL */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LIBC_H */ + +/* Define to 1 if you have the `db' library (-ldb). */ +/* #undef HAVE_LIBDB */ + +/* Define to 1 if you have the `efence' library (-lefence). */ +/* #undef HAVE_LIBEFENCE */ + +/* Define to 1 if you have the `m' library (-lm). */ +/* #undef HAVE_LIBM */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_CDROM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_FB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_JOYSTICK_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LINUX_SOUNDCARD_H */ + +/* Define to 1 if you support file names longer than 14 characters. */ +#define HAVE_LONG_FILE_NAMES 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MACHINE_SOUNDCARD_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MATH_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_MGRAPH_H */ + +/* Define to 1 if you have the `mkdir' function. */ +#define HAVE_MKDIR 1 + +/* Define to 1 if you have a working `mmap' system call. */ +/* #undef HAVE_MMAP */ + +/* Define to 1 if you have the `mprotect' function. */ +/* #undef HAVE_MPROTECT */ + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETDB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_NETINET_IN_H */ + +/* Define if you have libpng */ +/* #undef HAVE_PNG */ + +/* Define to 1 if you have the header file. */ +#define HAVE_PROCESS_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PTHREAD_H */ + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_PWD_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_RPC_TYPES_H */ + +/* Define this if you have sa_len member in struct sockaddr (BSD) */ +/* #undef HAVE_SA_LEN */ + +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SETJMP_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define this if you have sin6_len member in struct sockaddr_in6 (BSD) */ +/* #undef HAVE_SIN6_LEN */ + +/* Define this if your system has size_t */ +#define HAVE_SIZE_T 1 + +/* Define to 1 if you have the `snprintf' function. */ +#define HAVE_SNPRINTF 1 + +/* Define to 1 if you have the `socket' function. */ +#define HAVE_SOCKET 1 + +/* Define this if your system has socklen_t */ +/* #undef HAVE_SOCKLEN_T */ + +/* Define this if you have ss_len member in struct sockaddr_storage (BSD) */ +/* #undef HAVE_SS_LEN */ + +/* Define to 1 if you have the `stat' function. */ +#define HAVE_STAT 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDARG_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STDINT_H 1 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDIO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasestr' function. */ +/* #undef HAVE_STRCASESTR */ + +/* Define this if strcasestr is prototyped in string.h */ +/* #undef HAVE_STRCASESTR_PROTO */ + +/* Define to 1 if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_STRINGS_H 1 */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strnlen' function. */ +#define HAVE_STRNLEN 1 + +/* Define this if strnlen is prototyped in string.h */ +#define HAVE_STRNLEN_PROTO 1 + +/* Define to 1 if you have the `strsep' function. */ +/* #undef HAVE_STRSEP */ + +/* Define to 1 if you have the `strstr' function. */ +#define HAVE_STRSTR 1 + +/* Define to 1 if `st_blksize' is member of `struct stat'. */ +/* #undef HAVE_STRUCT_STAT_ST_BLKSIZE */ + +/* Define to 1 if your `struct stat' has `st_blksize'. Deprecated, use + `HAVE_STRUCT_STAT_ST_BLKSIZE' instead. */ +/* #undef HAVE_ST_BLKSIZE */ + +/* Define this if C symbols are prefixed with an underscore */ +#define HAVE_SYM_PREFIX_UNDERSCORE 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_ASOUNDLIB_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_AUDIOIO_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_FILIO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IOCTL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IO_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_IPC_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_MMAN_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_PARAM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_POLL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SHM_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SIGNAL_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SOUNDCARD_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_TIME_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UIO_H */ + +/* Define to 1 if you have that is POSIX.1 compatible. */ +/* #undef HAVE_SYS_WAIT_H */ + +/* Define this if you have tchar.h */ +#define HAVE_TCHAR_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_TERMIOS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_TIME_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_UNISTD_H */ + +/* Define to 1 if you have the `usleep' function. */ +/* #undef HAVE_USLEEP */ + +/* Define if va_copy is available */ +/* #undef HAVE_VA_COPY */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VGAKEYBOARD_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VGAMOUSE_H */ + +/* Define if you have the XFree86 VIDMODE extension */ +/* #undef HAVE_VIDMODE */ + +/* define this if you have ogg/vorbis libs */ +/* #undef HAVE_VORBIS */ + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define to 1 if you have the `vsnprintf' function. */ +#define HAVE_VSNPRINTF 1 + +/* Define if you have WildMidi */ +/* #undef HAVE_WILDMIDI */ + +/* Define to 1 if you have the header file. */ +#define HAVE_WINDOWS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WINSOCK_H 1 + +/* Define if you have XMMS */ +/* #undef HAVE_XMMS */ + +/* Define if you have zlib */ +/* #undef HAVE_ZLIB */ + +/* Define to 1 if you have the `_access' function. */ +#define HAVE__ACCESS 1 + +/* Define to 1 if you have the `_ftime' function. */ +#define HAVE__FTIME 1 + +/* Define to 1 if you have the <_mingw.h> header file. */ +/* #undef HAVE__MINGW_H */ + +/* Define to 1 if you have the `_mkdir' function. */ +#define HAVE__MKDIR 1 + +/* Define this if you have _SC_PAGESIZE */ +/* #undef HAVE__SC_PAGESIZE */ + +/* Define to 1 if you have the `_snprintf' function. */ +#define HAVE__SNPRINTF 1 + +/* Define if __va_copy is available */ +/* #undef HAVE__VA_COPY */ + +/* Define to 1 if you have the `_vsnprintf' function. */ +#define HAVE__VSNPRINTF 1 + +/* Define this if the GCC __attribute__ keyword is available */ +/* #undef HAVE___ATTRIBUTE__ */ + +#ifndef HAVE___ATTRIBUTE__ +# define __attribute__(x) +#endif + +/* Define this if the GCC __attribute__ keyword is available */ +/* #undef HAVE___ATTRIBUTE__VISIBILITY */ + +#ifdef HAVE___ATTRIBUTE__VISIBILITY +# define VISIBLE __attribute__((visibility ("default"))) +#else +# define VISIBLE +#endif + +/* Define this if the GCC __builtin_expect keyword is available */ +/* #undef HAVE___BUILTIN_EXPECT */ + +#ifndef HAVE___BUILTIN_EXPECT +# define __builtin_expect(x,c) x +#endif + +/* Defined if libcurl supports AsynchDNS */ +/* #undef LIBCURL_FEATURE_ASYNCHDNS */ + +/* Defined if libcurl supports IDN */ +/* #undef LIBCURL_FEATURE_IDN */ + +/* Defined if libcurl supports IPv6 */ +/* #undef LIBCURL_FEATURE_IPV6 */ + +/* Defined if libcurl supports KRB4 */ +/* #undef LIBCURL_FEATURE_KRB4 */ + +/* Defined if libcurl supports libz */ +/* #undef LIBCURL_FEATURE_LIBZ */ + +/* Defined if libcurl supports NTLM */ +/* #undef LIBCURL_FEATURE_NTLM */ + +/* Defined if libcurl supports SSL */ +/* #undef LIBCURL_FEATURE_SSL */ + +/* Defined if libcurl supports SSPI */ +/* #undef LIBCURL_FEATURE_SSPI */ + +/* Defined if libcurl supports DICT */ +/* #undef LIBCURL_PROTOCOL_DICT */ + +/* Defined if libcurl supports FILE */ +/* #undef LIBCURL_PROTOCOL_FILE */ + +/* Defined if libcurl supports FTP */ +/* #undef LIBCURL_PROTOCOL_FTP */ + +/* Defined if libcurl supports FTPS */ +/* #undef LIBCURL_PROTOCOL_FTPS */ + +/* Defined if libcurl supports HTTP */ +/* #undef LIBCURL_PROTOCOL_HTTP */ + +/* Defined if libcurl supports HTTPS */ +/* #undef LIBCURL_PROTOCOL_HTTPS */ + +/* Defined if libcurl supports LDAP */ +/* #undef LIBCURL_PROTOCOL_LDAP */ + +/* Defined if libcurl supports TELNET */ +/* #undef LIBCURL_PROTOCOL_TELNET */ + +/* Defined if libcurl supports TFTP */ +/* #undef LIBCURL_PROTOCOL_TFTP */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in . + */ +/* #undef MAJOR_IN_MKDEV */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +/* #undef MAJOR_IN_SYSMACROS */ + +/* Define this to the QSG standard version you support in NetQuake */ +#define NQ_QSG_VERSION "1.0" + +/* Define this to the NetQuake standard version you support */ +#define NQ_VERSION "1.09" + +/* Name of package */ +#define PACKAGE "quakeforge" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* Define this to your operating system's path separator character */ +#define PATH_SEPARATOR '/' + +/* "Proper" package name */ +#define PROGRAM "QuakeForge" + +/* Define this to where qfcc should look for header files */ +#define QFCC_INCLUDE_PATH "/usr/local/include/QF/ruamoko" + +/* Define this to where qfcc should look for lib files */ +#define QFCC_LIB_PATH "/usr/local/lib/ruamoko" + +/* Define this to the QSG standard version you support in QuakeWorld */ +#define QW_QSG_VERSION "2.0" + +/* Define this to the QuakeWorld standard version you support */ +#define QW_VERSION "2.40" + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* list of server plugins */ +#define SERVER_PLUGIN_LIST {"console_server", console_server_PluginInfo},{0, 0} + +/* list of server prototypes */ +#define SERVER_PLUGIN_PROTOS extern plugin_t *console_server_PluginInfo (void); + +/* Define this to the default sound output driver. */ +#define SND_OUTPUT_DEFAULT "win" + +/* list of sound output plugins */ +#define SND_OUTPUT_LIST {"snd_output_win", snd_output_win_PluginInfo},{0, 0} + +/* list of sound output prototypes */ +#define SND_OUTPUT_PROTOS extern plugin_t *snd_output_win_PluginInfo (void); + +/* list of sound render plugins */ +#define SND_RENDER_LIST {"snd_render_default", snd_render_default_PluginInfo},{0, 0} + +/* list of sound render prototypes */ +#define SND_RENDER_PROTOS extern plugin_t *snd_render_default_PluginInfo (void); + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at runtime. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define this if you are building static plugins */ +#define STATIC_PLUGINS 1 + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define to 1 if you can safely include both and . */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to 1 if your declares `struct tm'. */ +/* #undef TM_IN_SYS_TIME */ + +/* Define this if you want progs typechecking */ +/* #undef TYPECHECK_PROGS */ + +/* Define this if you want to use Intel assembly optimizations */ +/* #undef USE_INTEL_ASM */ + +/* Define if va_list is an array */ +/* #undef VA_LIST_IS_ARRAY */ + +/* Version number of package */ +#define VERSION "0.5.5-SVN" + +/* Define to 1 if your processor stores words with the most significant byte + first (like Motorola and SPARC, unlike Intel and VAX). */ +/* #undef WORDS_BIGENDIAN */ + +/* Define to 1 if the X Window System is missing or not being used. */ +/* #undef X_DISPLAY_MISSING */ + +/* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a + `char[]'. */ +/* #undef YYTEXT_POINTER */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define curl_free() as free() if our version of curl lacks curl_free. */ +/* #undef curl_free */ + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#define inline __inline +/* #undef inline */ +#endif + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define strcasecmp as stricmp if you have one but not the other */ +#define strcasecmp stricmp + +/* new stuff, for VC2005 compatibility (phrosty) */ + +#define _CRT_SECURE_NO_WARNINGS +#define _CRT_NONSTDC_NO_WARNINGS + +#define DIRECTINPUT_VERSION 0x0600 +#define INITGUID + +#define snprintf _snprintf +#define strncasecmp strnicmp + +#define ssize_t ptrdiff_t +#define S_ISDIR(mode) (mode & _S_IFDIR) + +/* used in access() */ +#define R_OK 04 + +/* disable silent conversion warnings for fixing later.. */ +#pragma warning(disable:4244 4311 4267 4305 4312 4047) diff --git a/vc2005/models/models.vcproj b/vc2005/models/models.vcproj new file mode 100644 index 000000000..a31567a16 --- /dev/null +++ b/vc2005/models/models.vcproj @@ -0,0 +1,410 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/modelsgl/modelsgl.vcproj b/vc2005/modelsgl/modelsgl.vcproj new file mode 100644 index 000000000..cf2519050 --- /dev/null +++ b/vc2005/modelsgl/modelsgl.vcproj @@ -0,0 +1,474 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/net/net.vcproj b/vc2005/net/net.vcproj new file mode 100644 index 000000000..05c7ae9d5 --- /dev/null +++ b/vc2005/net/net.vcproj @@ -0,0 +1,378 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qfbsp/qfbsp.vcproj b/vc2005/qfbsp/qfbsp.vcproj new file mode 100644 index 000000000..e6bc2e066 --- /dev/null +++ b/vc2005/qfbsp/qfbsp.vcproj @@ -0,0 +1,576 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qfclient/qfclient.vcproj b/vc2005/qfclient/qfclient.vcproj new file mode 100644 index 000000000..e7dab16e4 --- /dev/null +++ b/vc2005/qfclient/qfclient.vcproj @@ -0,0 +1,816 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qflight/qflight.vcproj b/vc2005/qflight/qflight.vcproj new file mode 100644 index 000000000..75061d484 --- /dev/null +++ b/vc2005/qflight/qflight.vcproj @@ -0,0 +1,552 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qfserver/qfserver.vcproj b/vc2005/qfserver/qfserver.vcproj new file mode 100644 index 000000000..6cf68ed83 --- /dev/null +++ b/vc2005/qfserver/qfserver.vcproj @@ -0,0 +1,576 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qfvis/qfvis.vcproj b/vc2005/qfvis/qfvis.vcproj new file mode 100644 index 000000000..8b0545dc7 --- /dev/null +++ b/vc2005/qfvis/qfvis.vcproj @@ -0,0 +1,488 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/qw/qw.vcproj b/vc2005/qw/qw.vcproj new file mode 100644 index 000000000..1113ae22a --- /dev/null +++ b/vc2005/qw/qw.vcproj @@ -0,0 +1,378 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/ruamoko/ruamoko.vcproj b/vc2005/ruamoko/ruamoko.vcproj new file mode 100644 index 000000000..e3a512833 --- /dev/null +++ b/vc2005/ruamoko/ruamoko.vcproj @@ -0,0 +1,466 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/sound/sound.vcproj b/vc2005/sound/sound.vcproj new file mode 100644 index 000000000..9947682a9 --- /dev/null +++ b/vc2005/sound/sound.vcproj @@ -0,0 +1,450 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/util/util.vcproj b/vc2005/util/util.vcproj new file mode 100644 index 000000000..af674c638 --- /dev/null +++ b/vc2005/util/util.vcproj @@ -0,0 +1,666 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/vc2005/video/video.vcproj b/vc2005/video/video.vcproj new file mode 100644 index 000000000..3b4fb5c89 --- /dev/null +++ b/vc2005/video/video.vcproj @@ -0,0 +1,690 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +