Commit Graph

17 Commits

Author SHA1 Message Date
athrxx
3b4515b337 GRIFFON: get rid of "too many sound handles" error
The error is triggered quite easily. You can get that right at the start, walking 1 screen left, engaging multiple monsters simultaneously.

That code looks a bit suspicious per se, since it still tries to return a value of -1 after the error call. But maybe that's just to satisfy some compiler. I've replaced the error with proper handling of the return value and I've also added in-bounds-checks for all uses of the sound handles.
2021-02-26 14:48:42 +01:00
ixote
110e232ed7 GRIFFON: Simplify rendering calls 2020-04-01 20:40:16 +02:00
Eugene Sandulenko
e52d6c96f0 JANITORIAL: Indentation fixes 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
d4bdfa1853 GRIFFON: Remove obsolete FIXMEs 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
7b05a02a97 GRIFFON: Fixed music stopping 2019-11-13 22:07:08 +01:00
Strangerke
473f253e49 GRIFFON: Fix compilation 2019-11-13 22:07:08 +01:00
Strangerke
8438b9c9bb GRIFFON: Some more renaming 2019-11-13 22:07:08 +01:00
Strangerke
9142bea885 GRIFFON: start renaming members of Griffon engine class 2019-11-13 22:07:08 +01:00
Strangerke
d87897a5c4 GRIFFON: make loopseta a local static, reduce size of sfx array, use constants for sfx loading 2019-11-13 22:07:08 +01:00
Strangerke
1a1c663ddd GRIFFON: Some renaming 2019-11-13 22:07:08 +01:00
Strangerke
3af6c2132a GRIFFON: Remove some unused class members 2019-11-13 22:07:08 +01:00
Strangerke
4f8753d839 GRIFFON: Change volume in option menu 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
24edfa07ec GRIFFON: Added gfx.cpp 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
23bd7eddf3 GRIFFON: Move another method to sound.cpp 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
1795573d13 GRIFFON: More function renames 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
128f852b27 GRIFFON: Some function renames 2019-11-13 22:07:08 +01:00
Eugene Sandulenko
297fd21e76 GRIFFON: Move sound-related method to separate file 2019-11-13 22:07:08 +01:00