219 Commits

Author SHA1 Message Date
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
Max Horn
933aab3100 Use vsprintf instead of vsnprintf: more portable, less safe (but then again, vsnprinft isn't that safe either)
svn-id: r13434
2004-03-30 22:56:57 +00:00
Paweł Kołodziejski
70545f2c01 please fix
svn-id: r13433
2004-03-30 07:11:01 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
9d89a5f543 Fix bug #920491 (BS1: Game crashes when savepath is invalid)
svn-id: r13396
2004-03-28 12:59:51 +00:00
Torbjörn Andersson
afefe7dcfa Use the binary .pal file format that was introduced for 0.6.0.
Invalidate the lookup table when the screen changes. (TODO: We also have to
invalidate it if the change happens between cutscenes, don't we?)

Some cleanup, particularly in the BS2 cutscene player. More needed, I
guess...

svn-id: r13377
2004-03-24 07:29:59 +00:00
Max Horn
3fddbc18d6 Unify MPEG2 code even more
svn-id: r13365
2004-03-23 00:10:18 +00:00
Max Horn
d24be923f3 share 'init' method, too
svn-id: r13361
2004-03-22 20:46:30 +00:00
Max Horn
838d3e3a93 some more cleanup
svn-id: r13359
2004-03-22 01:40:24 +00:00
Max Horn
4466a85598 move commong code into separate source file (more could be done, but it's a start)
svn-id: r13358
2004-03-22 01:28:45 +00:00
Max Horn
a9789acfc6 Moved Surface/Font code into new 'graphics' module
svn-id: r13357
2004-03-21 21:20:25 +00:00
Max Horn
b94448514e Unify a bit more...
svn-id: r13354
2004-03-21 18:49:04 +00:00
Max Horn
f8610cd1c5 fix doxygen-comment mistakes
svn-id: r13286
2004-03-15 00:55:44 +00:00
Torbjörn Andersson
1f5d4dcd23 When both music channels are used, and a third piece of music starts,
silence the channel that appears to be closest to silence already. This is
the same method I used in BS2, and it might fix a glitch I heard at the
Club Alamut.

svn-id: r13234
2004-03-13 12:04:18 +00:00
Torbjörn Andersson
711f925f69 Always play the "current music" after restoring a savegame, even if it's 0.
If it is, all that happens is that it silences the music. Otherwise, the
current music that was playing before the game was restored will keep
playing afterwards.

(One example of this: I went into the Hotel Ubu and restored a savegame at
the hospital. The piano music kept playing in the background.)

svn-id: r13230
2004-03-12 08:21:01 +00:00
Robert Göffringmann
8b39133cab changed workaround again, it's also needed when entering the room, not only when restoring a savegame.
svn-id: r13216
2004-03-07 19:24:41 +00:00
Robert Göffringmann
757bc4cec6 work around script bug #911508 BS1: Crash when loading certain savegames
svn-id: r13215
2004-03-07 19:14:32 +00:00
Torbjörn Andersson
de848a5d80 Removed obsolete warning message from fnPlaySequence().
svn-id: r13195
2004-03-05 07:39:28 +00:00
Nicolas Bacca
9e1fa63575 Apply patch #907359 : Broken Sword videos improved frameskip
svn-id: r13180
2004-03-04 18:54:35 +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
Nicolas Bacca
30d169d2be Display keyboard when saving
svn-id: r13151
2004-03-02 19:47:17 +00:00