aboutsummaryrefslogtreecommitdiff
path: root/sword1
AgeCommit message (Collapse)Author
2004-01-14I found and fixed a nasty fade-up bug in BS2. I don't know if the sameTorbjörn Andersson
situation could happen in BS1, but it's better to be safe than sorry, so here are the same changes, as applied to the BS1 music code. svn-id: r12393
2004-01-14Changed the music fading so that the volume is increased when ABS(_fading)Torbjörn Andersson
grows larger, both when fading up and down. This fixes the problem where the volume would "jump" when changing the fading "direction" of a stream. svn-id: r12373
2004-01-11cleanupTorbjörn Andersson
svn-id: r12322
2004-01-11Changed dumpRes() to use the File class. (Untested.)Torbjörn Andersson
svn-id: r12321
2004-01-11Introduced new namespace, Sword1, removing the "Sword" and "Bs" prefixes inTorbjörn Andersson
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-09fix for bug #872916: BS1 scrolling glitchRobert Göffringmann
svn-id: r12271
2004-01-08Merged read() and readBuffer(), like in BS2.Torbjörn Andersson
svn-id: r12248
2004-01-08Changed spaces to tabs.Torbjörn Andersson
svn-id: r12235
2004-01-07implemented drawing of additional scrolling framesRobert Göffringmann
svn-id: r12223
2004-01-07Tried to make the menus behave a bit more like the original. Perhaps mostTorbjörn Andersson
noticeably: * It no longer matters where you release the mouse button when talking to someone. It uses whatever topic you selected on mouse-down. * The inventory menu doesn't vanish if you're holding an object, even if you move the pointer away from it. * When using an object on a character (to talk to him about it), the top menu fades away, rather than vanishing instantly. Ok, that last change is rather non-obvious, but it does obsolete the clearMenu() function, which has therefore been removed. svn-id: r12222
2004-01-07some changes for Czech versionRobert Göffringmann
svn-id: r12221
2004-01-07implemented volume control panelRobert Göffringmann
svn-id: r12220
2004-01-06updated copyright noticeMax Horn
svn-id: r12176
2004-01-06start work on czech subtitle support, not finishedJonathan Gray
svn-id: r12175
2004-01-06fixed cd changing codeRobert Göffringmann
svn-id: r12174
2004-01-06get volume from gamedetectorRobert Göffringmann
svn-id: r12169
2004-01-04fixed screen updatingRobert Göffringmann
svn-id: r12146
2004-01-04fixed cd changing codeRobert Göffringmann
svn-id: r12145
2004-01-04Deal gracefully with missing music files.Torbjörn Andersson
svn-id: r12144
2004-01-04renamed global var _debugLevel to g_debugLevel; let Engine constructor init ↵Max Horn
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-04nothing.Robert Göffringmann
svn-id: r12129
2004-01-04added control panel confirmation dialog.Robert Göffringmann
svn-id: r12128
2004-01-04removed speed button from control panel and made the game do a full screen ↵Robert Göffringmann
refresh after leaving the control panel svn-id: r12127
2004-01-03TODOMax Horn
svn-id: r12117
2004-01-03renamed AudioInputStream -> AudioStreamMax Horn
svn-id: r12110
2004-01-03changed screen drawing code to only redraw blocks that changed.Robert Göffringmann
svn-id: r12109
2004-01-03Delete the mutex when we're done with it.Torbjörn Andersson
svn-id: r12107
2004-01-03eriktorbjorn's fix for a crash when sprite were completely outside of the screenRobert Göffringmann
svn-id: r12106
2004-01-02Moved the menu refreshing to a separate function so that it can be easilyTorbjörn Andersson
accessed even when checkMenuClick() returns before reaching the end of the function. Used this to fix a menu highlighting regression. svn-id: r12083
2004-01-02another change in the clicking checksRobert Göffringmann
svn-id: r12078
2004-01-01implemented examining inventory itemsRobert Göffringmann
svn-id: r12075
2004-01-01fixed savename drawing.Robert Göffringmann
svn-id: r12074
2004-01-01whoops.Robert Göffringmann
svn-id: r12073
2004-01-01added workaround for missing music file.Robert Göffringmann
svn-id: r12072
2004-01-01changed music fading duration and made music system fade down the tracks on ↵Robert Göffringmann
startMusic(0) svn-id: r12071
2004-01-01Rewrote the music code. It now follows the same basic idea as the one inTorbjörn Andersson
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-01compilation fixJonathan Gray
svn-id: r12066
2003-12-31Use uint8 instead of char to avoid crashes with some accented characters.Torbjörn Andersson
svn-id: r12061
2003-12-31fixed language stringsRobert Göffringmann
svn-id: r12060
2003-12-31Don't lose the luggage when entering the inventory menu.Torbjörn Andersson
svn-id: r12058
2003-12-31Draw the luggage first, then the mouse pointer.Torbjörn Andersson
svn-id: r12057
2003-12-31fix segfaultJonathan Gray
svn-id: r12049
2003-12-30removed old, useless stuffRobert Göffringmann
svn-id: r12045
2003-12-30cd changing code and checking for savegames on startupRobert Göffringmann
svn-id: r12043
2003-12-30forgot these...Robert Göffringmann
svn-id: r12040
2003-12-30implemented mouse luggage stuffRobert Göffringmann
svn-id: r12039
2003-12-30fixed fnFace() and added workaround for missing animation on train roofRobert Göffringmann
svn-id: r12032
2003-12-29another reference fix for soldout versionRobert Göffringmann
svn-id: r12014
2003-12-29use correct sprite for text-on/offRobert Göffringmann
svn-id: r12013
2003-12-29fix resource references for soldout versionRobert Göffringmann
svn-id: r12012