Update of /cvsroot/netrek/client/netrekxp/src
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20937/src
Modified Files:
data.c feature.c local.c sound.c
Log Message:
Removed unused engine.wav.
Bug fix for phaser fuse, fuse = 0 was removed in a previous patch,
this restores that, but (hopefully) in the proper location.
Added support for server feature packet full_weapon_resolution,
which allows observers to see all weapons. And lets you see
your own torps beyond tactical as well.
Index: data.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/data.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- data.c 15 Mar 2007 16:42:29 -0000 1.66
+++ data.c 18 Mar 2007 01:46:50 -0000 1.67
@@ -675,6 +675,7 @@
int F_show_all_tractors = 1;
int F_sp_generic_32 = 0;
int F_full_direction_resolution = 0;
+int F_full_weapon_resolution = 0;
#ifdef RECORDGAME
int F_many_self = 0;
Index: feature.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/feature.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- feature.c 1 Mar 2007 11:21:46 -0000 1.8
+++ feature.c 18 Mar 2007 01:46:50 -0000 1.9
@@ -78,6 +78,7 @@
{"SHIP_CAP", &F_ship_cap, 'S', 1, 0, 0},
{"SP_GENERIC_32", &F_sp_generic_32, 'S', 1, 0, 0},
{"FULL_DIRECTION_RESOLUTION", &F_full_direction_resolution, 'S', 1, 0, 0},
+ {"FULL_WEAPON_RESOLUTION", &F_full_weapon_resolution, 'S', 1, 0, 0},
#ifdef WARP_DEAD
{"DEAD_WARP", &F_dead_warp, 'S', 1, 0, 0},
Index: local.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/local.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- local.c 17 Mar 2007 22:40:06 -0000 1.76
+++ local.c 18 Mar 2007 01:46:50 -0000 1.77
@@ -1466,6 +1466,7 @@
#ifdef SOUND
php->sound_phaser = 0;
#endif
+ php->ph_fuse = 0;
}
else
{
Index: sound.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/sound.c,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- sound.c 17 Mar 2007 17:12:09 -0000 1.36
+++ sound.c 18 Mar 2007 01:46:50 -0000 1.37
@@ -54,7 +54,6 @@
int i;
sounds[CLOAKED_WAV] = Mix_LoadWAV(DATAFILE("nt_cloaked.wav"));
- sounds[ENGINE_WAV] = Mix_LoadWAV(DATAFILE("nt_engine.wav"));
sounds[ENGINE_MELT_WAV] = Mix_LoadWAV(DATAFILE("nt_enginemelt.wav"));
sounds[ENGINE_OK_WAV] = Mix_LoadWAV(DATAFILE("nt_engineok.wav"));
sounds[ENTER_SHIP_WAV] = Mix_LoadWAV(DATAFILE("nt_enter_ship.wav"));