scummvm/sword1
Torbjörn Andersson a3310a5de9 Make sure that playSample() gets a pointer to the original QueueElement
instead of a copy of it. Otherwise the sound engine will never notice when
a sample finishes playing since it's looking at the wrong sound handle.

For whatever reason, this also seems to fix the "game crashes occasionally
on startup with completely useless stack trace" bug for me. The crash was
easily repeatable in Valgrind for me, but the messages it produced were
just as unhelpful as the stack trace. These messages are also gone now.

svn-id: r11757
2003-12-19 06:51:32 +00:00
..
.cvsignore ignore deps 2003-12-16 05:19:33 +00:00
collision.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
debug.cpp newlines 2003-12-16 02:27:53 +00:00
debug.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
eventman.cpp Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
eventman.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
logic.cpp fixed endian bug in animDriver() 2003-12-18 14:16:08 +00:00
logic.h add the rest of the boot params 2003-12-17 23:41:14 +00:00
memman.cpp Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
memman.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
menu.cpp fixed text output and logic bug. changed scrolling code. 2003-12-17 07:33:00 +00:00
menu.h menu, sound and mouse fixes. 2003-12-17 05:16:37 +00:00
module.mk Add sworrd 1 makefile changes 2003-12-16 02:25:04 +00:00
mouse.cpp fix mouse cursor animations 2003-12-18 14:38:17 +00:00
mouse.h fix mouse cursor animations 2003-12-18 14:38:17 +00:00
music.cpp unregister the premix proc when you go away 2003-12-19 01:08:30 +00:00
music.h unregister the premix proc when you go away 2003-12-19 01:08:30 +00:00
object.h pack WalkData struct to fix some endian issues 2003-12-18 08:28:14 +00:00
objectman.cpp fixed resMan bug about closing of sections and started adding menu support 2003-12-17 01:47:47 +00:00
objectman.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
resman.cpp changed endian conversion for compact data 2003-12-18 01:15:15 +00:00
resman.h fixed resMan bug about closing of sections and started adding menu support 2003-12-17 01:47:47 +00:00
router.cpp endian fix for router. 2003-12-18 12:15:59 +00:00
router.h fix various warnings; whatTarget()'s paramters shadowed member vars, but it can just b e turned into a pure function (sidenote: the chaotic mix of spaces and tabs in router.cpp doesn't help readability :-) 2003-12-17 01:18:03 +00:00
screen.cpp big endian typecasts for FROM_LE_xx 2003-12-18 01:00:42 +00:00
screen.h fixed text output and logic bug. changed scrolling code. 2003-12-17 07:33:00 +00:00
sound.cpp Make sure that playSample() gets a pointer to the original QueueElement 2003-12-19 06:51:32 +00:00
sound.h Make sure that playSample() gets a pointer to the original QueueElement 2003-12-19 06:51:32 +00:00
staticres.cpp fixed warning 2003-12-17 02:19:03 +00:00
sword1.cpp add the rest of the boot params 2003-12-17 23:41:14 +00:00
sword1.h initial boot param support, will do the rest of the bootparams next 2003-12-17 11:54:48 +00:00
sworddefs.h add the rest of the boot params 2003-12-17 23:41:14 +00:00
swordres.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00
text.cpp another big endian 2003-12-18 12:52:04 +00:00
text.h Broken Sword 1: initial import 2003-12-16 02:10:15 +00:00