Menu

Commit [r693]  Maximize  Restore  History

Sound event rework, Part II

- disentagled C++ and Lua parts: Sound effect data is transfered to C++ on startup,
no lua requests during runtime for sound events anymore.
- added user sound set support
- moved damping code from world.cc to sound.cc
- moved lots of sound option menu code from OptionsMenu.cc to sound.cc
- moved not-oxyd-related parts of sound set initialisation from oxyd.cc to sound.cc
- damping additionally depends on sound effect name
- write "silence string" to command line when a non-existing sound is
requested by lua (needed for "Acoustic Memory" when using incomplete user
sound sets)
- silent sound set (deactivated by default)
Todo:
- rename data/sound to data/soundsets
- move default sounds to data/soundsets/enigma (?)
- documentation in reference manual
- sound priorities
- correctly coalesce sounds with different volumes

andreasl 2007-04-20

1 2 > >> (Page 1 of 2)
added /branches/1.0/data/sound-defaults.lua
changed /branches/1.0/data/startup.lua
changed /branches/1.0/doc/reference/sound.lua
changed /branches/1.0/src/actors.cc
changed /branches/1.0/src/actors.hh
changed /branches/1.0/src/client.cc
changed /branches/1.0/src/enigma-lua.pkg
changed /branches/1.0/src/gui/LevelPackComposer.cc
changed /branches/1.0/src/gui/LevelWidget.cc
changed /branches/1.0/src/gui/Menu.cc
changed /branches/1.0/src/gui/OptionsMenu.cc
changed /branches/1.0/src/gui/OptionsMenu.hh
changed /branches/1.0/src/gui/TextField.cc
changed /branches/1.0/src/gui/widgets.cc
changed /branches/1.0/src/items.cc
changed /branches/1.0/src/laser.cc
changed /branches/1.0/src/lev/Index.cc
changed /branches/1.0/src/lev/Index.hh
changed /branches/1.0/src/lua-display.cc
changed /branches/1.0/src/lua-display.hh
changed /branches/1.0/src/lua-ecl.cc
changed /branches/1.0/src/lua-ecl.hh
changed /branches/1.0/src/lua-editor.cc
changed /branches/1.0/src/lua-editor.hh
changed /branches/1.0/src/lua-enigma.cc
/branches/1.0/data/sound-defaults.lua Diff Switch to side-by-side view
Loading...
/branches/1.0/data/startup.lua Diff Switch to side-by-side view
Loading...
/branches/1.0/doc/reference/sound.lua Diff Switch to side-by-side view
Loading...
/branches/1.0/src/actors.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/actors.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/client.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/enigma-lua.pkg Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/LevelPackComposer.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/LevelWidget.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/Menu.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/OptionsMenu.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/OptionsMenu.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/TextField.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/gui/widgets.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/items.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/laser.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lev/Index.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lev/Index.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-display.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-display.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-ecl.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-ecl.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-editor.cc Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-editor.hh Diff Switch to side-by-side view
Loading...
/branches/1.0/src/lua-enigma.cc Diff Switch to side-by-side view
Loading...
1 2 > >> (Page 1 of 2)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.