diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-03-22 03:43:37 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2007-03-22 03:43:37 +0000 |
commit | ce11335e8643485a59e35fa5c705b1f50ec80815 (patch) | |
tree | b1a2ce70a9df281b91241c81cecc535061c353b5 /games/quake2max | |
parent | a29d0ec2d977f1ab130d46299addea329b9073c8 (diff) | |
download | ports-ce11335e8643485a59e35fa5c705b1f50ec80815.tar.gz ports-ce11335e8643485a59e35fa5c705b1f50ec80815.zip |
Notes
Diffstat (limited to 'games/quake2max')
-rw-r--r-- | games/quake2max/files/patch-client__menu.c | 20 | ||||
-rw-r--r-- | games/quake2max/files/patch-game__g_items.c | 15 | ||||
-rw-r--r-- | games/quake2max/files/patch-ref_gl__gl_model.c | 29 | ||||
-rw-r--r-- | games/quake2max/files/patch-unix__vid_menu.c | 11 |
4 files changed, 75 insertions, 0 deletions
diff --git a/games/quake2max/files/patch-client__menu.c b/games/quake2max/files/patch-client__menu.c new file mode 100644 index 000000000000..80ba71b96d75 --- /dev/null +++ b/games/quake2max/files/patch-client__menu.c @@ -0,0 +1,20 @@ +--- client/menu.c.orig Tue Dec 27 10:06:52 2005 ++++ client/menu.c Thu Mar 22 00:36:51 2007 +@@ -898,7 +898,7 @@ + + void Multiplayer_MenuInit( void ) + { +- static qboolean PlayerConfig_ScanDirectories(void); ++ qboolean PlayerConfig_ScanDirectories(void); + if (!server_menu) + server_menu = Cvar_Get ("server_menu", "1", 0); + +@@ -4784,7 +4784,7 @@ + return false; + } + +-static qboolean PlayerConfig_ScanDirectories( void ) ++qboolean PlayerConfig_ScanDirectories( void ) + { + char findname[1024]; + char scratch[1024]; diff --git a/games/quake2max/files/patch-game__g_items.c b/games/quake2max/files/patch-game__g_items.c new file mode 100644 index 000000000000..11cdcc957b72 --- /dev/null +++ b/games/quake2max/files/patch-game__g_items.c @@ -0,0 +1,15 @@ +--- game/g_items.c.orig Sat Dec 22 12:32:24 2001 ++++ game/g_items.c Thu Mar 22 00:34:42 2007 +@@ -40,9 +40,9 @@ + gitem_armor_t combatarmor_info = { 50, 100, .60, .30, ARMOR_COMBAT}; + gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY}; + +-static int jacket_armor_index; +-static int combat_armor_index; +-static int body_armor_index; ++int jacket_armor_index; ++int combat_armor_index; ++int body_armor_index; + static int power_screen_index; + static int power_shield_index; + diff --git a/games/quake2max/files/patch-ref_gl__gl_model.c b/games/quake2max/files/patch-ref_gl__gl_model.c new file mode 100644 index 000000000000..e5c270853f20 --- /dev/null +++ b/games/quake2max/files/patch-ref_gl__gl_model.c @@ -0,0 +1,29 @@ +--- ref_gl/gl_model.c.orig Sun Jan 1 15:07:39 2006 ++++ ref_gl/gl_model.c Thu Mar 22 00:33:43 2007 +@@ -227,7 +227,7 @@ + } + + +- out->script = rs = (struct rscript_s *)out->script = RS_FindScript(va("textures/%s",name) ); ++ out->script = rs = out->script = RS_FindScript(va("textures/%s",name) ); + if (rs && rs->picsize.enable) + { + if (r_numTexSizes < MAX_IMAGES) +@@ -459,7 +459,7 @@ + while (img != NULL) { + strcpy(rs,mod->skins[i]->name); + rs[strlen(rs)-4]=0; +- (struct rscript_s *)mod->script[i] = RS_FindScript(rs); ++ mod->script[i] = RS_FindScript(rs); + if (mod->script[i]) + RS_ReadyScript((rscript_t *)mod->script[i]); + i++; +@@ -1374,7 +1374,7 @@ + strcpy(rs,(char *)pheader + pheader->ofs_skins + i*MAX_SKINNAME); + + rs[strlen(rs)-4]=0; +- (struct rscript_s *)mod->script[i] = RS_FindScript(rs); ++ mod->script[i] = RS_FindScript(rs); + if (mod->script[i]) + RS_ReadyScript((rscript_t *)mod->script[i]); + } diff --git a/games/quake2max/files/patch-unix__vid_menu.c b/games/quake2max/files/patch-unix__vid_menu.c new file mode 100644 index 000000000000..d680bd2df549 --- /dev/null +++ b/games/quake2max/files/patch-unix__vid_menu.c @@ -0,0 +1,11 @@ +--- unix/vid_menu.c.orig Wed Dec 28 10:23:32 2005 ++++ unix/vid_menu.c Thu Mar 22 00:37:42 2007 +@@ -37,7 +37,7 @@ + static cvar_t *gl_picmip; + static cvar_t *gl_texturemode; + static cvar_t *gl_anisotropic; +-static cvar_t *con_font_size; ++cvar_t *con_font_size; + + static cvar_t *_windowed_mouse; + |