Johannes Schickel
d5b21c4036
HOPKINS: Make GPL headers consistent in themselves.
2014-02-18 02:39:35 +01:00
Torbjörn Andersson
2b40502503
HOPKINS: Fix bug that could cause the music to stop prematurely
...
The SoundManager filled the sound handles with zeroes, which made
the mixer confuse them with active sound handle zero. In my case,
this happened to be the intro music, and the music was stopped when
playWavSample() wrongly thought its sound handle was in use.
2014-02-13 00:38:04 +01:00
Strangerke
582a681c67
HOPKINS: Replace cascades of if by switches for language checks
2013-11-09 20:06:42 +01:00
Strangerke
19a96699a4
HOPKINS: Fix bug #3611824 - music cut during dialogs after loading from launcher
2013-05-08 00:25:29 +02:00
Strangerke
cbf85da3f3
HOPKINS: Simplify code in checkSounds()
2013-04-19 08:10:30 +02:00
Strangerke
398b4353a6
HOPKINS: Remove dead code and out of bound access in SoundManager
2013-04-19 08:05:29 +02:00
Strangerke
55938b3975
HOPKINS: Make engine less verbose by reducing some object names
2013-04-10 10:27:06 +02:00
Strangerke
89bf72ff5d
HOPKINS: JANITORIAL: Remove trailing spaces and tabs
2013-04-05 08:17:26 +02:00
Strangerke
2ee8b1e342
HOPKINS: Misc cleanup
2013-04-05 07:54:56 +02:00
Strangerke
4b21ec23d0
HOPKINS: Refactor searchCat to remove the use of g_PTRNUL, add a parameter to clarify the result of the function
2013-04-03 23:58:11 +02:00
Strangerke
ac338c3517
HOPKINS: Some more refactoring in Globals
2013-03-24 22:56:06 +01:00
Strangerke
510eb83aac
HOPKINS: Simplify a couple of tests in SoundManager
2013-03-21 07:19:10 +01:00
Strangerke
73b01f20af
HOPKINS: Remove setParent() from TalkManager
2013-03-20 08:10:28 +01:00
Strangerke
852e65bd02
HOPKINS: Remove setParent() from Globals
2013-03-20 07:27:42 +01:00
Strangerke
f2d4151dd7
HOPKINS: Remove setParent() from FileManager
2013-03-19 21:57:28 +01:00
Strangerke
db6d7e256b
HOPKINS: Remove setParent() from EventsManager and Debugger
2013-03-19 20:41:39 +01:00
Strangerke
23badc9735
HOPKINS: Some renaming
2013-03-04 07:46:52 +01:00
Strangerke
58eefc0833
HOPKINS: Get rid of magic values in FilesManager
2013-02-27 00:15:54 +01:00
Matthew Hoops
c9b1dd37c5
HOPKINS: Don't have the TWA/APC code in the Audio namespace
2013-02-25 10:32:12 -05:00
Matthew Hoops
b22bb6d463
HOPKINS: Remove long double usage
2013-02-25 10:27:01 -05:00
Strangerke
3787e69e7b
HOPKINS: Add comments concerning the Win95 UK demo fix
2013-02-23 10:23:44 +01:00
Strangerke
9a535ac9f6
HOPKINS: Remove verbose error messages when the English demo skips the speech loading
2013-02-22 23:51:29 +01:00
Strangerke
5297f63707
HOPKINS: Fix the crash related to the missing speech file in the Win95 English demo
2013-02-22 19:23:21 +01:00
Strangerke
a208f51db7
HOPKINS: More renaming in SoundManager
2013-02-19 15:08:12 +01:00
Strangerke
5bbdbc0fad
HOPKINS: Misc renaming, some sound refactoring
2013-02-19 14:34:43 +01:00
Strangerke
355422455c
HOPKINS: Some more similar cleanup
2013-02-16 00:06:45 +01:00
Strangerke
84e290eade
HOPKINS: Reorder includes
2013-02-15 22:20:24 +01:00
Strangerke
bda951c5e2
HOPKINS: Fix 2 comments of LordHoto
2013-02-15 21:35:03 +01:00
Strangerke
6ce3e2187b
HOPKINS: Improve private/public scope in SoundManager and ScriptManager
2013-02-08 07:29:40 +01:00
Torbjörn Andersson
49afc87b88
HOPKINS: Attempt to fix crash when skipping movie
...
Before starting an "Swav" sound, check that its sound handle isn't
already used. If it is, stop it. When skipping a movie, it still
(incorrectly?) goes through the motions of playing the remaining
frames, including starting any movie sounds on the way.
This would cause us to lose the handle to the sound that was
currently playing in the "Swav" slot, and I *think* that's what
ended up confusing things. I'm still not entirely sure exactly
what was happening.
2013-02-03 18:33:20 +01:00
Strangerke
c0ad052c72
HOPKINS: Add a fallback for the sound played in the option menu, for the BeOS and OS/2 versions
2013-01-28 07:45:46 +01:00
Torbjörn Andersson
a50c05f7d0
HOPKINS: Work around broken cadavre.mod in OS/2 and BeOS versions
...
A large part of cadavre.mod is broken. No new notes play, and only
the old background sounds remain. It's possible, perhaps even
probable, that the original MOD player didn't have this problem,
but all standalone players I've tried do, so I'm assuming it's the
file that's broken. We work around it by changing the length of
the song after it's been loaded to only include the good parts.
2013-01-27 18:18:04 +01:00
Strangerke
56ca87b3a5
HOPKINS: Modify misc setVolume functions so they are a bit less precise
2013-01-23 01:42:31 +01:00
Strangerke
82ecfd537f
HOPKINS: Some renaming and refactoring in globals, TalkManager and FontsManager
2013-01-23 01:38:34 +01:00
Strangerke
0e0337c30e
HOPKINS: Some renaming. Implement proper music volume during speech
2013-01-22 21:24:31 +01:00
Strangerke
d92f85f0e1
HOPKINS: Some more renaming and refactoring
2013-01-20 19:12:45 +01:00
Strangerke
568e645417
HOPKINS: Refactor playIntro
2013-01-20 17:47:35 +01:00
Strangerke
4c44e797d8
HOPKINS: Fix speech in intro for BeOS and OS/2 versions. Thanks Eriktorbjorn for the help
2013-01-20 13:44:14 +01:00
Strangerke
17d57a367e
HOPKINS: Remove WSOUND_INIT
2013-01-20 01:04:52 +01:00
Strangerke
d88e5ad22f
HOPKINS: Remove a couple of useless functions
2013-01-20 01:01:09 +01:00
Strangerke
523aa82563
HOPKINS: Some renaming
2013-01-20 00:56:19 +01:00
Strangerke
ca2f04b70f
HOPKINS: The first speech after a video was skipped if the video was skipped before. This fixes it.
2013-01-18 22:23:58 +01:00
Strangerke
0d92a7e5a3
HOPKINS: Add support for RAW speechs used by the OS/2 version
2013-01-18 21:09:41 +01:00
Strangerke
4fd422692b
HOPKINS: Some renaming and refactoring
2013-01-18 18:52:19 +01:00
Strangerke
a743857b87
HOPKINS: (Courtesy of Eriktorbjorn) slight optimisation of the sound code
2013-01-13 11:01:26 +01:00
Strangerke
495ecaafbc
HOPKINS: Remove global filename and constructFilename
2013-01-08 00:03:08 +01:00
Filippos Karapetis
f1dafa025c
HOPKINS: Fix regression (typo)
2013-01-07 17:01:24 +02:00
Filippos Karapetis
bd865d9741
HOPKINS: Remove static game directory configuration options
...
Also, remove the unused VGA folder.
This is the first step to remove constructFilename() and associated functions.
2013-01-07 16:17:27 +02:00
Filippos Karapetis
be83708ef5
HOPKINS: Fix typo
2013-01-07 13:58:54 +02:00
Filippos Karapetis
cdad3b605d
HOPKINS: Simplify SoundManager::WSOUND()
2013-01-07 13:49:41 +02:00