Commit graph

84 commits

Author SHA1 Message Date
Max Horn
0ec193b4be changing AudioDataType -> SoundType, so now the constant names match the name of the data type / the SoundMixer method names
svn-id: r17052
2005-03-09 18:12:54 +00:00
Max Horn
86370fa544 BS1 specific fix for bug #1107121 (ALL/SFX: Setting the SFX volume at 256 mutes sound)
svn-id: r16746
2005-02-06 20:31:20 +00:00
Max Horn
abd12dd1b6 Use class Mutex instead of MutexRef
svn-id: r16679
2005-01-28 22:05:51 +00:00
Max Horn
cffd917165 system.h was being included in tons of places, without any good reason; reduced this (total dependencies on system.h went down from 193 to 85 files)
svn-id: r16527
2005-01-10 22:06:49 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Max Horn
53ff19eccb Use SoundMixer::kMaxMixerVolume
svn-id: r16350
2004-12-27 23:46:55 +00:00
Max Horn
67b311713d Added 'sound types' to the mixer - for now, only plain (for the premixer), SFX and music; volume is now controlled based on the sound type
svn-id: r16330
2004-12-27 00:27:00 +00:00
Max Horn
5a38c16c27 speech_volume default value gets already set in gameDetector.cpp
svn-id: r16321
2004-12-25 20:59:18 +00:00
Chris Apers
099f5de891 Speedup a bit PalmOS port
svn-id: r16165
2004-12-20 16:55:55 +00:00
Robert Göffringmann
475b5f138d fixed warning
svn-id: r16039
2004-12-12 07:11:11 +00:00
Nicolas Bacca
876079be75 Fix dumb CE compiler
svn-id: r16026
2004-12-11 00:37:05 +00:00
Robert Göffringmann
5dc8b51b27 changed cd checking code, gives warnings about everything now.
svn-id: r16024
2004-12-10 17:55:03 +00:00
Chris Apers
e1458ca1ff PalmOS stuffs
svn-id: r16011
2004-12-10 15:10:10 +00:00
Robert Göffringmann
0d7ab01640 Pass subdirectories to gamedetector functions
svn-id: r16002
2004-12-09 15:06:49 +00:00
Robert Göffringmann
58bf9028b1 moved the bootparam code out of sword1.cpp
svn-id: r16001
2004-12-08 04:38:39 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Robert Göffringmann
5d32a2c034 added support for an international BS1 cutscene pack (which we didn't release yet)
svn-id: r15983
2004-12-05 02:55:06 +00:00
Eugene Sandulenko
8f863b5d8f Fix music volume
svn-id: r15960
2004-11-29 00:25:15 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
fa97d4ad89 Removing walkthrough stuff again (talked to aquadran about this, he had no objections)
svn-id: r15849
2004-11-20 23:49:11 +00:00
Paweł Kołodziejski
20e9cf6f20 added walkthrough
svn-id: r15835
2004-11-19 19:50:22 +00:00
Robert Göffringmann
0bda71fa39 a little cleanup
svn-id: r15832
2004-11-19 07:55:33 +00:00
Robert Göffringmann
17f23ad3d5 BS1 demo is basically fully supported now.
only some SFX are flipped.

svn-id: r15819
2004-11-15 08:23:09 +00:00
Robert Göffringmann
183a11153e BS1 demo's speech and logic work now.
But there's something wrong with the SFX, which can lead to crashes.

svn-id: r15813
2004-11-15 02:48:30 +00:00
Robert Göffringmann
48548aab24 oops
svn-id: r15736
2004-11-09 04:20:33 +00:00
Robert Göffringmann
021f2cbcce free memory on quit.
Still leaks some, though

svn-id: r15735
2004-11-09 04:06:10 +00:00
Chris Apers
25b70535be Make PalmOS happy
svn-id: r15632
2004-10-21 12:43:49 +00:00
Torbjörn Andersson
5a0673c0de The checkCdFiles() function still looked only for SPEECH1.CLU and
SPEECH2.CLU. Now it also looks for the corresponding CL3 and CLV files.

svn-id: r15545
2004-10-14 06:36:05 +00:00
Robert Göffringmann
f5403e079f added mp3 and ogg vorbis playback for music and speech.
compression tool will follow soon.

svn-id: r15531
2004-10-12 15:50:00 +00:00
Chris Apers
757f2fdcef Prevent double slash in path
svn-id: r15473
2004-10-08 16:09:52 +00:00
Max Horn
ce8c99bf62 Rename remaining OSystem methods to match our coding guidelines
svn-id: r15332
2004-09-28 20:19:37 +00:00
Travis Howell
870eac39a2 Add eriktorbjorn's patch for separate target for Broken Sword 1 demo. Avoids sound regressions in full game.
svn-id: r14846
2004-08-31 07:52:47 +00:00
Max Horn
ee70457667 Fix for bug #1007093 (GUI: removing game configuration from Launcher buggy); moral: either document how things work, or at least provide well named constants for certain return values... using the cheap way out here, i.e. method (b) :-)
svn-id: r14557
2004-08-11 21:49:58 +00:00
Travis Howell
f734014fd2 Add support for speech in demo.
svn-id: r14350
2004-07-27 03:47:56 +00:00
Torbjörn Andersson
613642efd0 Open the control panel on both F5 and ESC, like the original did.
svn-id: r14222
2004-07-16 06:57:47 +00:00
James Brown
9756a420a3 Use extrapath in Sword1 engine (from 0.6.0 branch). More verbose errors to go with the forthcoming new manual. Sword1 CD swapping doesn't work as expected HERE, either :)
svn-id: r14188
2004-07-11 04:41:48 +00:00
Torbjörn Andersson
6b99d5a971 Added "MUSIC" / "music" to the list of default directories.
svn-id: r14100
2004-06-28 08:45:09 +00:00
Max Horn
53af3dc670 Enhanced default directory support in the File class; now one can specify arbitrary many default search directories
svn-id: r14095
2004-06-28 00:06:31 +00:00
Max Horn
6b722ff11b Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage again
svn-id: r14058
2004-06-25 22:39:21 +00:00
Max Horn
b6a4610a77 be tolerant against abuse of ConfMan.getInt(); add missing default value for 'speech_volume' in bs1
svn-id: r13435
2004-03-31 18:00:46 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson
1db5ef710e Set the wantFade variable in initialize() as well. Otherwise it'll be false
if you use the start-up dialog to restore an old savegame.

svn-id: r13164
2004-03-03 07:37:46 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Max Horn
f59eb3b219 renamed (Const)Iterator to (const_)iterator; changed size() to return an uint
svn-id: r12722
2004-02-05 00:19:57 +00:00
James Brown
ad46828d1c BS1 cutscene support. Also bugfixes (don't crash if cutscene ogg unavailable)
svn-id: r12465
2004-01-18 05:52:04 +00:00
Torbjörn Andersson
cf0a73f913 Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes in
the process, except for SwordEngine.

Some minor cleanups along the wa, e.g. stdafx.h already includes <stdio.h>,
<stdlib.h> and <math.h> so there shouldn't be any need to do it elsewhere.

svn-id: r12320
2004-01-11 15:47:41 +00:00
Torbjörn Andersson
d9e67812e8 Changed spaces to tabs.
svn-id: r12235
2004-01-08 08:29:55 +00:00
Robert Göffringmann
63fbde359a implemented drawing of additional scrolling frames
svn-id: r12223
2004-01-07 19:08:59 +00:00