Commit Graph

37 Commits

Author SHA1 Message Date
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
Robert Göffringmann
0cf52df651 copied the SwordRouter from the original BS1 sources.
It doesn't fit to our coding guidelines but at least it's working, so please bear with it for now. :)

svn-id: r11687
2003-12-16 18:23:15 +00:00
Jonathan Gray
298d008def use specified language setting instead of hardcoding german
svn-id: r11681
2003-12-16 10:08:27 +00:00
Robert Göffringmann
189e08bc79 Broken Sword 1: initial import
svn-id: r11664
2003-12-16 02:10:15 +00:00