aboutsummaryrefslogtreecommitdiff
path: root/sword1/control.cpp
AgeCommit message (Collapse)Author
2005-04-10split SaveFileManager::openSavefile and class SaveFile into two, each, one ↵Max Horn
for loading and one for saving svn-id: r17517
2005-04-09Remove usage of vsprintf in favour of vsnprintf and makeJonathan Gray
more use of STRINGBUFLEN. Some ports may need a new stub for this, discussed with Chrilith. svn-id: r17463
2005-04-07Missed these.Torbjörn Andersson
svn-id: r17428
2005-01-10Reduce dependencies on common/savefile.h from 88 to 14Max Horn
svn-id: r16528
2005-01-10system.h was being included in tons of places, without any good reason; ↵Max Horn
reduced this (total dependencies on system.h went down from 193 to 85 files) svn-id: r16527
2005-01-01Updated copyrightMax Horn
svn-id: r16398
2004-12-20Speedup a bit PalmOS portChris Apers
svn-id: r16165
2004-12-10PalmOS stuffsChris Apers
svn-id: r16011
2004-12-05Clean up OSystem::EventMax Horn
svn-id: r15990
2004-11-27Moved Engine::getSavePath() to class SaveFileManager; removed the ↵Max Horn
'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway) svn-id: r15901
2004-11-15BS1 demo is basically fully supported now.Robert Göffringmann
only some SFX are flipped. svn-id: r15819
2004-11-09CleanupChris Apers
svn-id: r15739
2004-11-09free memory on quit.Robert Göffringmann
Still leaks some, though svn-id: r15735
2004-10-21enable czech control panel. should work.Robert Göffringmann
svn-id: r15628
2004-09-28Rename remaining OSystem methods to match our coding guidelinesMax Horn
svn-id: r15332
2004-07-18Let displayMessage() restore the mouse pointer to the standard BS1 arrowTorbjörn Andersson
once it's done. svn-id: r14258
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