aboutsummaryrefslogtreecommitdiff
path: root/sword1/control.cpp
AgeCommit message (Collapse)Author
2004-06-25Added Engine::_saveFileMan; thus was able to get rid of auto_ptr usage againMax Horn
svn-id: r14058
2004-06-25Use auto_ptr to avoid leaksMax Horn
svn-id: r14057
2004-05-12Some usability fixes to the control panel code:Torbjörn Andersson
* 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-03-30Use vsprintf instead of vsnprintf: more portable, less safe (but then again, ↵Max Horn
vsnprinft isn't that safe either) svn-id: r13434
2004-03-30please fixPaweł Kołodziejski
svn-id: r13433
2004-03-28Renamed more OSystem methodsMax Horn
svn-id: r13410
2004-03-28Fix bug #920491 (BS1: Game crashes when savepath is invalid)Max Horn
svn-id: r13396
2004-03-02Display keyboard when savingNicolas Bacca
svn-id: r13151
2004-02-28renamed more OSystem methods to follow our naming scheme; renamed ↵Max Horn
NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend svn-id: r13087
2004-02-01help poor VC7Max Horn
svn-id: r12711
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-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-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-01fixed savename drawing.Robert Göffringmann
svn-id: r12074
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-31fix segfaultJonathan Gray
svn-id: r12049
2003-12-30cd changing code and checking for savegames on startupRobert Göffringmann
svn-id: r12043
2003-12-29use correct sprite for text-on/offRobert Göffringmann
svn-id: r12013
2003-12-29made control panel use the correct fontsRobert Göffringmann
svn-id: r12010
2003-12-28this fixes the remaining glitchesRobert Göffringmann
svn-id: r12004
2003-12-28Indentation fixes: changed spaces to tabs. (These tend to really stick outTorbjörn Andersson
in my editor, since it shows tabs as eight spaces, not four.) svn-id: r12002
2003-12-28I believe this is the evil bug that's been corrupting my SAVEGAME.INF. (ITorbjörn Andersson
can't reproduce the problem under Windows though.) svn-id: r11996
2003-12-23fix control panel bugRobert Göffringmann
svn-id: r11878
2003-12-23control panel changesRobert Göffringmann
svn-id: r11877
2003-12-23Microsoft Compilers : Which part of the standard do you want to break today ?Nicolas Bacca
svn-id: r11866
2003-12-20fix warningMax Horn
svn-id: r11790
2003-12-20fixed crashes after restoring a savegame, added fnSetPaletteToFade and ↵Robert Göffringmann
changed speech code to distinguish between CD1 and CD2. (now needs SPEECH1.CLU and SPEECH2.CLU) svn-id: r11789
2003-12-20fix memory leakRobert Göffringmann
svn-id: r11788
2003-12-20forgot these. :)Robert Göffringmann
svn-id: r11776