239 Commits

Author SHA1 Message Date
Max Horn
fbaac2e273 Use modern form of setupPremix
svn-id: r15916
2004-11-27 16:18:25 +00:00
Max Horn
ba74a8e7f6 Added some more mixer doxygen docs; cleaned up Mixer API a bit, removing some very specialised methods
svn-id: r15914
2004-11-27 15:58:18 +00:00
Max Horn
d172111444 Don't use directory param of File::open unless you have to
svn-id: r15904
2004-11-27 02:26:21 +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
Robert Göffringmann
b142514151 fix for bug 928791: BS1: 'Freeze' at hospital
svn-id: r15878
2004-11-24 21:03:21 +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
589ce6d6aa fixes a crash when closing BS1 while speech menu is open.
svn-id: r15828
2004-11-18 17:48:50 +00:00
Robert Göffringmann
6b68feb360 nothing...
svn-id: r15820
2004-11-15 08:26:32 +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
Chris Apers
2abe17e594 Cleanup
svn-id: r15739
2004-11-09 10:26:33 +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
Torbjörn Andersson
84b5b2534c Changed spaces to tab to be consistent with other module.mk files.
svn-id: r15718
2004-11-06 09:24:52 +00:00
Eugene Sandulenko
ab7c30e4ed Fix #include
svn-id: r15714
2004-11-05 22:12:07 +00:00
Torbjörn Andersson
94d74a04e9 Brute-force workaround for speech decoder crashes in the BS1 demo. It still
doesn't work very well, though...

svn-id: r15697
2004-10-30 10:35:39 +00:00
Chris Apers
feb6b490c1 Ooops
svn-id: r15633
2004-10-21 13:23:52 +00:00
Chris Apers
25b70535be Make PalmOS happy
svn-id: r15632
2004-10-21 12:43:49 +00:00
Chris Apers
542b24f116 Fixed alignment problem with BS1 demo
svn-id: r15631
2004-10-21 12:37:13 +00:00
Chris Apers
e97d6a5f97 Prepare PalmOS support
svn-id: r15630
2004-10-21 12:35:39 +00:00
Robert Göffringmann
561f6ab6e8 enable czech control panel. should work.
svn-id: r15628
2004-10-21 08:47:13 +00:00
Torbjörn Andersson
47face89e5 Fixed warnings. (Maybe it should be "const char *" instead, but then I got
warnings from a different part of the code. Ho, hum...)

svn-id: r15624
2004-10-21 06:44:25 +00:00
Robert Göffringmann
e721c6de0c this should work around bug #922774.
well, at least it should keep the engine from crashing.

svn-id: r15622
2004-10-21 03:47:15 +00:00
Max Horn
42909eb0b0 Use new setupPremix variant (incomplete)
svn-id: r15596
2004-10-17 19:40:05 +00:00
Robert Göffringmann
522da1ddbc forgot to remove these debug messages
svn-id: r15549
2004-10-14 09:18:20 +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
e2917b1664 I hope this fixes speech in demo
svn-id: r15534
2004-10-13 00:59:27 +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
e11787a494 No need to manually check inside extrapath -- this is done automatically anyway
svn-id: r14644
2004-08-19 15:53:15 +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
Max Horn
b4223febd3 Enhanced extrapath support
svn-id: r14470
2004-08-05 11:13:00 +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
0e2c7d6d7f Let displayMessage() restore the mouse pointer to the standard BS1 arrow
once it's done.

svn-id: r14258
2004-07-18 17:47:19 +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
b8ad54b3af Reversed param order of File::open() -- this allowed me to get rid of a few more getGameDataPath() calls
svn-id: r14090
2004-06-27 22:14:35 +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
7a8d469c66 Use auto_ptr to avoid leaks
svn-id: r14057
2004-06-25 22:12:57 +00:00
Torbjörn Andersson
d40de10534 Some usability fixes to the control panel code:
* Draw a blinking cursor when typing savegame names. (Bug #908679)

* Number the savegame slots. At the moment they are numbered differently
  than in BS2 in that they start on 1 instead of 0. As far as I recall,
  this was the case with the original engine as well, but we may want to
  reconsider.

* Added scroll wheel support. This wasn't in the original, but it's a nice
  thing to have. Particularly since the scroll buttons don't repeat. (It
  would be nice if they did.)

I would like this patch to be considered for 0.6.1, if there aren't any
obvious problems with it.

svn-id: r13833
2004-05-12 06:21:44 +00:00
Torbjörn Andersson
7b9f508729 This fixes bug #917427, a masking problem, hopefully without causing any
regressions.

What the patch does is to make sure to check all layers when masking a
sprite, since it's possible that it's being masked by several layers at the
same time. The old code simply picked the first masking layer.

svn-id: r13744
2004-05-02 13:54:05 +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