53 Commits

Author SHA1 Message Date
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
Robert Göffringmann
8030f1b148 implemented volume control panel
svn-id: r12220
2004-01-07 17:47:46 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Jonathan Gray
2be1b4d68a start work on czech subtitle support, not finished
svn-id: r12175
2004-01-06 12:28:24 +00:00
Robert Göffringmann
7b86116a5d fixed cd changing code
svn-id: r12174
2004-01-06 12:19:02 +00:00
Robert Göffringmann
e34d7b6c41 get volume from gamedetector
svn-id: r12169
2004-01-06 11:48:30 +00:00
Robert Göffringmann
4ca49386ed fixed cd changing code
svn-id: r12145
2004-01-04 17:19:17 +00:00
Max Horn
d1e6c6059e renamed global var _debugLevel to g_debugLevel; let Engine constructor init it (this way all engines get it for free, allows further cleanup); removed some useless/duplicate member vars in SwordEngine
svn-id: r12134
2004-01-04 14:00:58 +00:00
Robert Göffringmann
f0d0e4d4b3 removed speed button from control panel and made the game do a full screen refresh after leaving the control panel
svn-id: r12127
2004-01-04 05:21:22 +00:00
Torbjörn Andersson
18f8916c3a Rewrote the music code. It now follows the same basic idea as the one in
BS2, which has worked pretty well so far. I haven't implemented pausing and
volume since the code I replaced didn't have it either, as far as I could
tell.

svn-id: r12070
2004-01-01 15:22:15 +00:00
Robert Göffringmann
436834750d cd changing code and checking for savegames on startup
svn-id: r12043
2003-12-30 22:57:52 +00:00
Robert Göffringmann
e9766658b6 this fixes the remaining glitches
svn-id: r12004
2003-12-28 23:24:03 +00:00
Torbjörn Andersson
85deabed70 Indentation fixes: changed spaces to tabs. (These tend to really stick out
in my editor, since it shows tabs as eight spaces, not four.)

svn-id: r12002
2003-12-28 19:03:35 +00:00
Max Horn
859a9c0129 o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem()
o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady()

svn-id: r11893
2003-12-24 17:42:22 +00:00
Robert Göffringmann
2df01e0abb fixed screen and music fading
svn-id: r11861
2003-12-22 23:21:28 +00:00
Robert Göffringmann
42cea0975a added fnSetPaletteToFade/fnSetPaletteToCut
svn-id: r11851
2003-12-22 11:23:40 +00:00
Robert Göffringmann
fd4417e6bb changed the way the control panel is started
svn-id: r11844
2003-12-22 01:20:47 +00:00
Robert Göffringmann
44887cc33d fixed parallax drawing for room 54
svn-id: r11828
2003-12-21 17:34:44 +00:00
Robert Göffringmann
5d8516f2ec now two inventory items can be combined
svn-id: r11823
2003-12-21 16:50:02 +00:00
Max Horn
f19f73eb50 Make it possible for game detection functions to detect language/platform (not yet done by any detector, but will come with the MD5 detection code)
svn-id: r11811
2003-12-21 15:29:52 +00:00
Robert Göffringmann
2554ced5e9 fixed crashes after restoring a savegame, added fnSetPaletteToFade and changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU)
svn-id: r11789
2003-12-20 20:20:53 +00:00
Robert Göffringmann
59654b1719 added SwordControl (the control panel). Not yet finished.
svn-id: r11775
2003-12-20 09:12:54 +00:00
Torbjörn Andersson
b179e8f6ec Whitespace changes
svn-id: r11760
2003-12-19 14:07:12 +00:00
Jonathan Gray
f7f97d7ebb add the rest of the boot params
svn-id: r11721
2003-12-17 23:41:14 +00:00
Jonathan Gray
9b70f6d922 add boot params for ireland, everyone's favourite puzzle can be found via 24
svn-id: r11715
2003-12-17 15:27:41 +00:00
Torbjörn Andersson
f704b12eeb Enable subtitles if the "subtitles" option is set in the config manager.
svn-id: r11714
2003-12-17 14:36:52 +00:00
Jonathan Gray
56b831293d add all of the paris boot params, 80 in particular is quite useful as it activates all sections of the map including the ability to travel outside of paris
svn-id: r11713
2003-12-17 14:33:34 +00:00
Jonathan Gray
6d1fba28d5 initial boot param support, will do the rest of the bootparams next
svn-id: r11712
2003-12-17 11:54:48 +00:00
Robert Göffringmann
5fdff2824c fixed text output and logic bug. changed scrolling code.
hey, sword is running really nice already. :)

svn-id: r11703
2003-12-17 07:33:00 +00:00
Robert Göffringmann
7f5df14e7d menu, sound and mouse fixes.
svn-id: r11701
2003-12-17 05:16:37 +00:00
Robert Göffringmann
34d1751fe4 fixed resMan bug about closing of sections and started adding menu support
svn-id: r11695
2003-12-17 01:47:47 +00:00
Max Horn
b4f33afb85 simplified game detection code etc.
svn-id: r11692
2003-12-17 01:17:12 +00:00