Commit Graph

92 Commits

Author SHA1 Message Date
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
Strangerke
907d705c1e HOPKINS: (on Behalf of Eriktorbjorn) dispose music after use in order to avoid a memory leak 2013-01-05 12:12:40 +01:00
Strangerke
6ff4c4c79b HOPKINS: Commit by Eriktorbjorn : New way of playing music 2013-01-03 16:29:35 +01:00
Strangerke
13063aeb3f HOPKINS: Refactoring in ComputerManager 2013-01-01 23:10:21 +01:00
Strangerke
f59f7dafc3 HOPKINS: Refactoring in FontManager and LinesManager 2012-12-31 00:18:08 +01:00
Strangerke
c934363790 HOPKINS: Some more renaming and refactoring 2012-12-28 08:26:27 +01:00
Strangerke
c07beb6445 HOPKINS: Some refactoring in showComputer 2012-12-27 19:08:10 +01:00
Strangerke
9a88c748fe HOPKINS: Stop music properly when using the MOD player 2012-12-27 18:41:20 +01:00
Strangerke
1efe969b66 HOPKINS: Fix menu in BeOS and OS2 versions 2012-12-26 07:55:56 +01:00
Strangerke
59e85997b3 HOPKINS: Load correct voice ressource file in BeOS and OS/2 versions 2012-12-26 00:31:42 +01:00
Strangerke
2b665c67cb HOPKINS: Add MOD file support 2012-12-25 23:53:45 +01:00
Strangerke
f89001d75c HOPKINS: Renaming 2012-12-25 22:48:11 +01:00