Directory trunk/client/sound-src/

Directory Created:
2001-11-02 03:22
Directory Deleted:
2006-09-19 02:24
Total Files:
0
Deleted Files:
9
Lines of Code:
0

[root]/trunk/client/sound-src

Lines of Code

trunk/client/sound-src/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 47 (100.0%) 3550 (100.0%) 75.5
mwedel 35 (74.5%) 3185 (89.7%) 91.0
tchize 6 (12.8%) 353 (9.9%) 58.8
akirschbaum 4 (8.5%) 11 (0.3%) 2.7
elsbernd 1 (2.1%) 1 (0.0%) 1.0
ryo_saeba 1 (2.1%) 0 (0.0%) 0.0

Most Recent Commits

mwedel 2006-09-19 02:24 Rev.: 4942

make branche directories, delete old trunk.

0 lines of code changed in 9 files:

  • trunk/client/sound-src: .cvsignore (del), Makefile.am (del), Makefile.in (del), alsa9.c (del), cfsndserv.c (del), common.c (del), sounds (del), sounds.dist (del), soundsdef.h (del)
ryo_saeba 2006-07-29 05:13 Rev.: 4727

Add .cvsignore files, courtesy Rapha��l Quinet - quinet

0 lines of code changed in 1 file:

  • trunk/client/sound-src: .cvsignore (new)
mwedel 2006-06-26 01:09 Rev.: 4648

sound-src/alsa9.c: Fix up sound for alsa9+. Not positive exact change that
fixed the problem, but following changes made: Add SOUND_DEBUG_WRITES to
separate the debug from writes vs all the other debug messags. If using
16 bit data, always use unsigned no matter wit the sign config option
says. In alsa_recover(), if error is EAGAIN, just do nothing and return.
In audio_play(), don't write more bytes than chunk size (basically
largest block that alsa wants at one time). In play_sound(), don't
decrease volume based on maximum number of sounds that may be played
at once - this makes things too quiet.
MSW 2006-06-25

87 lines of code changed in 1 file:

  • trunk/client/sound-src: alsa9.c (+87 -75)
mwedel 2006-05-15 00:57 Rev.: 4566

This commit adds client side support for the map2 & tick protocol commands.
In additional the the necessary decode logic, more layers are also added
to the map.
--
common/Makefile.am/.in: Fix proto directive
common/client.c: Add global tick variable. Add links to handle map2
and tick protocol commands. Update setup request sent to server
to request to use the tick and map2 commands.
common/client.h: Add additional fields to Animations structure. Increase
MAX_MAP_OFFSET to match the value on the server.
common/commands.c: Add parsing of return of map2 failures on setup command
so that client can fall back. Add additional initializations for
new fields in AnimCmd(). Change definition of NUM_LAYERS to match
what the map1 command wants/expects. Add Map2Cmd() to decode
map2 protocol command. Do some whitepsace clean of ExtSmooth().
Add TickCmd()
common/init.c: Add seeing of random number generator.
common/mapdata.c: Rewrite CLEAR_CELLS macro to handle additional layers.
Clear animation data in expand_clear_face(). Change MAXLAYERS to
MAP1_LAYERS since map2 increase MAXLAYERS. Add support functions for
setting data in the map2 command.
common/mapdata.h: Increase MAXLAYERS, add MAP1_LAYERS define to old number
of layers. Add animation data to MapCellLayer.
common/newclient.h: Add various defines related to the map2 data.
common/proto.h: Rebuilt
gtk/gx11.c: Add cleint_tick() to handle map animations. Update
do_timeout() to not do animations if we are getting tick data.
gtk-v2/src/config.c: Fix bug in config code where it wasn't enabling
darkness when player switched back from no darkness mode to some
mode.
gtk-v2/src/main.c: Add client_tick() to handle animations. Update
do_timeout() to not do animations if tick is set.
gtk-v2/src/opengl.c: Fix drawing logic where objects which were visible
but in which the bottom right corner was off the map was not being
drawn - only a problem in opengl since it only draws the object
when it finds the head, does not draw each piece.
sound-src/Makefile.am/.in: Fix creation of sounds file - was using
wrong variable name.
x11/xutil.c: Add basic client_tick() that is a callback from the common code.
MSW 2006-05-14

4 lines of code changed in 2 files:

  • trunk/client/sound-src: Makefile.am (+1 -1), Makefile.in (+3 -5)
elsbernd 2006-03-07 06:30 Rev.: 4510

replaced SOUNDDIR with SOUND_DIR in sound-src/Makefile.in so that
--with-sound-dir=<dir> works now.

1 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+1 -1)
mwedel 2006-02-26 03:30 Rev.: 4495


Update for 1.9.0 release. Fix some makefiles so that make dist works.
MSW 2006-02-25

7 lines of code changed in 2 files:

  • trunk/client/sound-src: Makefile.am (+4 -2), Makefile.in (+3 -2)
mwedel 2006-02-23 03:30 Rev.: 4484

More improvements to the gtk-v2 client:
- Add spell selection window similar to that in the gtk-v1 client.
- Make it so that clicking on the headers in the metaserver and keybinding
selection windows will result in table be sorted by that header.
--
*/Makefile.in: Rebuilt by automake.
aclocal.m4: Updated by aclocal.
gtk-v2/TODO: Remove things that have been done, add other things mentioned
on mailing list that should be done.
gtk-v2/gtk-v2.glade: Updated with new spell selection window.
gtk-v2/src/Makefile.am: Add spells.c file
gtk-v2/src/spells.c: File that handles spell selection window.
gtk-v2/src/callbacks.h: Updated by glade
gtk-v2/src/gtk2proto.h: rebuilt
gtk-v2/src/interface.c: Updated by glade.
gtk-v2/src/interface.h: Updated by glade.
gtk-v2/src/keys.c: Add necessary calls to enable sorting of table by
clicking on headers.
gtk-v2/src/main.c: Add call to update_spell_information() if spell information
has changed.
gtk-v2/src/metaserver.c: Add necessary calls to enable sorting of table by
clicking on headers. Convert the idletime and number of players columns
to be ints - this makes the sort work as expected, and actually simplifies
the code a little.
gtk-v2/src/support.h: Rebuilt by glade.
MSW 2006-02-22

3 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+3 -1)
akirschbaum 2006-02-16 17:32 Rev.: 4458

Apply patch #1430279 (code-cleanup: const, static, etc) by Stefan Huehner.

10 lines of code changed in 3 files:

  • trunk/client/sound-src: alsa9.c (+2 -2), cfsndserv.c (+4 -4), common.c (+4 -4)
tchize 2005-09-03 08:12 Rev.: 3588


Fixed Makefile problem where soundsdef.h was not autobuild , breaking compilation

8 lines of code changed in 2 files:

  • trunk/client/sound-src: Makefile.am (+3 -1), Makefile.in (+5 -4)
akirschbaum 2005-09-03 07:50 Rev.: 3587

*Makefile.in, aclocal.m4, configure: Rebuilt.

1 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+1)
mwedel 2005-08-29 00:19 Rev.: 3572

Fix sound compilation so it only tries to compile alsa9 helper if we
in fact have alsa 9 libs.
*/Makefile.in: Rebuilt
configure.in, configure: Add ALSA9_TARGET, replacing SOUND_TARGETS which
was no longer being used.
sound-src/Makefile.am: add EXTRA_PROGRAMS line for cfsndserv_alsa9 so
don't get errors from automake, add @ALSA9_TARGET@ to bin_PROGRAMS.
MSW 2005-08-28

7 lines of code changed in 2 files:

  • trunk/client/sound-src: Makefile.am (+2 -1), Makefile.in (+5 -4)
mwedel 2005-08-12 02:09 Rev.: 3536

This commit adds full automake support for the client - previously, only the
gtk-v2 directory used automake, rest was Makefile.in - now everything is
automake - makes maintenance and distributions easier.
--
common/Makefile.am gtk/Makefile.am help/Makefile.am pixmaps/Makefile.am
sound-src/Makefile.am utils/Makefile.am x11/Makefile.am pixmaps/Makefile.in
utils/Makefile.in help/Makefile.in: New Makefiles
Makefile.am, Makefile.in: Removed unneeded rules, move pixmap, help, util
handling to makefiles in their own directories.
configure, configure.in: Update to include pixmap, help, util as
directories.
gtk-v2/Makefile.am, gtk-v2/Makefile.in: Clean up some rules in this makefile.
common/Makefile.in, gtk/Makefile.in, sound-src/Makefile.in, x11/Makefile.in:
Rebuilt as part of automake.
gtk-v2/src/Makefile.am, gtk-v2/src/Makefile.in: Add banner copyright, remove
uneeded rules.
MSW 2005-08-11

516 lines of code changed in 2 files:

  • trunk/client/sound-src: Makefile.am (new 46), Makefile.in (+470 -67)
mwedel 2005-02-28 02:31 Rev.: 3078

Changes for 1.7.1:
configure, configure.in: Rev for 1.7.1 release
sound-src/Makefile.in: Add files to EXTRA_DIST, fix typo so that make
arhive works.
MSW 2005-02-27

3 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+3 -1)
mwedel 2005-02-14 00:42 Rev.: 3067

Sound cleanup and redo for ALSA9. The bulk of this is to break out the
alsa9 code from the cfsndser.c and compile its own seperate cfsndserv-alsa9
executable. Add options to config file/gtk client to support setting
which sound daemon to use. Note that ALSA9 sound now works all
properly - significant changes had to get made to the code for this
to happen.
--
configure, configure.in: The existence of ALSA9 sound does not preclude
compilation of OSS sound support (or others for that matter), so change
the logic accordingly to set variables only used for ALSA9. Add
SOUND_TARGETS that can be used by the makefile, change logic of
setting SUBDIRS so we don't put sound-src in multiple times.
common/client.c, common/client.h: Add sound_server variable.
gtk/config.c: Add support for loading/saving sound_server line in gdefaults
file.
gtk/gcfclient.man: Update about -sound_server option.
gtk/gx11.c: Update help and command line processing to support -sound_server
option.
gtk/sound.c: Change initialization of sound pipe to use sound_server variable
(set by options above) instead of hard coded cfsndserv. Path can be
either be absolute or relative to to bindir. Also change code so that
pipe is set for non blocking output, so if the sound daemon gets hung
up, won't effect rest of the client.
sound-src/Makefile.in: Redone to handle cfsnserv-alsa9 binary. uses
SOUND_TARGETS to know what to build.
sound-src/cfsndserv.c: Remove all ALSA9 code, since that is now in
alsa9.c file.
sound-src/alsa9.c, sound-src/common.c: Nwe files - alsa9.c contains
logic for playing sound. common.c is common routines. Idea being
that other code could get pulled from cfsndserv.c and use the common.c
routines for parsing sound file, etc.
MSW 2005-02-13

874 lines of code changed in 4 files:

  • trunk/client/sound-src: Makefile.in (+14 -2), alsa9.c (new 537), cfsndserv.c (+12 -160), common.c (new 311)
mwedel 2005-02-10 02:03 Rev.: 3063

Makefile.in, common/Makefile.in, gnome/Makefile.in, gtk/Makefile.in,
sound-src/Makefile.in, x11/Makefile.in: Add ${DESTDIR} prefix for
installation into other directories. Patch from sourcefore #1061895
MSW 2005-02-09

common/external.h, common/init.c, common/player.c, common/proto.h,
common/script.c, common/script.h, common/p_cmd.c (new file),
common/p_cmd.h (new file), gtk/gtkproto.h, gtk/gx11.c, gtk/help.c (new
file), gtk/keys.c, help/chelp.h, x11/x11.c, x11/x11proto.h, x11/xutil.c:
Install command table for client side commands - makes adding commands a
little easier, but also makes it easier to have better help. Bulk of the
changes are in p_cmd.c file, which pulled some code out of player.c.
Other source files modified to clean up function parameters (all now take
const char * as the command options). Patch from sourceforge 1022245,
with some work done by me. Addition fix in gtk/keys.c unbind - buffer
overflow would result if unbinding very long binding.
MSW 2005-02-09

5 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+5 -5)
mwedel 2005-02-05 02:29 Rev.: 3060

Makefile.in: Fix up distclean directive to go into all directories.
configure.in, configure: Fix configure so the --enable-feature and
--disable-feature flags follow proper standard (from patch on
sourceforge). Add check for -lossaudio. Modify check for
-lSDL_image library - don't require it for SDL support (if we
have it, we'll use it, but for newer versions of SDL, it doesn't
seem to exist anymore)
common/client-types.h: Minor formatting change.
common/script.h: add defines for PF_LOCAL and AF_LOCAL if they are
missing.
gtk/Makefile.in: Install man page into section 6.
sound-src/Makefile.in: Fix up depend command - had wrong variable.
Fix up distclean to remove automatically generated files.
x11/Makefile.in: Install man page into section 6.
MSW 2005-02-04

2 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+2 -2)
tchize 2004-01-30 13:43 Rev.: 2566


Logging of source files version on client. Removed need for scripting in Makefile

Better used way which didn't use Makefile and a script. Simply ask each .c file
to create a char * rcsid_directory_file_c and collected them as an array in main()

11 lines of code changed in 1 file:

  • trunk/client/sound-src: cfsndserv.c (+11 -4)
tchize 2004-01-27 03:25 Rev.: 2550


Ooops. SOUND_DEBUG was activated in last commit. Commented it in source.

1 lines of code changed in 1 file:

  • trunk/client/sound-src: cfsndserv.c (+1 -1)
tchize 2004-01-26 10:19 Rev.: 2541



fixed incomplete ALSA9 support and changed sounds.dist to use .raw

The ALSA9 support was in configure but the code part wasn't in the cfsndserv.c
Applied the patch from Tim Hentenaar submitted on mailing list in march 2003 to
correct this.
Also changed the default sound file so it uses .raw files and not .au because
CVS sounds are now .raw.

333 lines of code changed in 2 files:

  • trunk/client/sound-src: cfsndserv.c (+174 -5), sounds.dist (+159 -159)
mwedel 2003-02-05 03:13 Rev.: 2002

common/init.c: Make sure we initalize all the config values.
gtk/gx11.c: fix foodbeep - now only beep when food is low, and continue
to beep when food reaches 0.
sound-src/Makefile.in: Remove gx11.c in depend statement.
MSW 2003-02-04

1 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+1 -1)
mwedel 2002-01-15 02:33 Rev.: 1508

Most of the changes are by Edgar Toernig - I've just applied them and
checked them in. The stripping out of the display_mode variable is
my doing however.
configure.in, configure: Add check for zlib before png lib check, as on
some systems, png requires -lz.
common/client-types.h: Add #ifdef check for SOL_TCP
common/client.c: Add fast_tcp_send variable, comment out printing of error
from socket EOF. Use TCP_NODELAY for sending data to the server
if TCP_NODELAY is available. cs_write_string modified to use
cs_print_string.
common/client.h: Remove display_mode enum, add fast_tcp_send extern.
common/commands.c, common/init.c,gtk/image.c, gtk/map.c
cs_write_sting modified to use cs_print_string
common/external.h: set_autorepeat extern added.
common/newsocket.c: Modified to be better optimized for using TCP_NODELAY -
cs_print_string function added.
common/player.c: modified to use cs_print_string , autorepeat client side
command added.
common/proto.h, gtk/gtkproto.h: updated with new functions
gnome/gnome.c: display_mode variable removed, cs_write_string
replaced with cs_print_string
gtk/gx11.c: display_mode variable removed, cs_write_string replaced with
cs_print_string, -nofog option added
pixmaps/question.111: Resized to be 32x32
pixmaps/*.xbm - used for inventory icons in X11 client, replacing xpm
files
sound-src/cfsndserv.c: Better error handling, include time.h
x11/cfclient.man: -font and -noautorepeat options added.
x11/png.c: better error checking for rescaling images
x11/x11.c: noautorepeat variable added, display_mode removed, image icon
functionality re-enabled, images now created from xbm files,
set_autorepeat function added, add ability to set font, add mouse
wheel support
x11/x11.h: remove screen_num extern.
x11/x11proto.h: Updated with new functions.
x11/xutil.c: Modified to use image_size instead of hardcoded 24x24 value
for the status icons. cs_write_replaced with cs_print_string, no
auto repeat functionality added.
MSW 2001-01-14

2 lines of code changed in 1 file:

  • trunk/client/sound-src: cfsndserv.c (+2 -1)
mwedel 2001-12-28 03:56 Rev.: 1485

README: Update notes on needing png (and not xpm) library. Update mailing
alias.
configure.in, configure: As the seperate sound program (cfsndserv) is the
only supported sound configuration, remove new_sound_system defines
and ability to use the old (now non existant) sound system.
Have configure exit with error message if png library is not found,
as it is critical to the build process. Change it so that
gnome/Makefile is always built so that making of releases works.
gnome/gnome-cfclient.man, help/about.h, x11/cfclient.man: Update mail address.
gtk/gtkproto.h, x11/x11proto.h: Rebuilt, prototypes for some changed for
signed to unsigned characters.
gtk/gx11.c, gtk/png.c, pixmaps/stipple.111, x11/png.c, x11/x11.c, x11/xutil.c,
pixmaps/stipple.111 pixmaps/stipple.112:
Mostly changes to fix compile warnings and make sure we are passing the
right types to the various image creation functions (8 bit data).
sound-src/Makefile.in: Add soundsdef.h to list of things to build.
x11/x11.h: Remove extra semicolon.
MSW 2001-12-28

1 lines of code changed in 1 file:

  • trunk/client/sound-src: Makefile.in (+1 -1)
mwedel 2001-11-03 22:25 Rev.: 1372

Add copyright comment. MSW 2001-11-03

30 lines of code changed in 1 file:

  • trunk/client/sound-src: cfsndserv.c (+30)
mwedel 2001-11-02 03:22 Rev.: 1364

Complete client re-org. Create common, gtk, gnome, sounds, and x11 subdirs.
Gtk client: only image support is png. Also add resizing options for
the images (-mapscale/-iconscale), remove pngximage, update sdl
image and normal draw image to support arbitrary image sizes.
sound: Only support new sound system.
MSW 2001-11-01

1643 lines of code changed in 5 files:

  • trunk/client/sound-src: Makefile.in (new 78), cfsndserv.c (new 966), sounds (new 199), sounds.dist (new 199), soundsdef.h (new 201)
Generated by StatSVN 0.7.0