Commit Graph

95 Commits

Author SHA1 Message Date
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Max Horn
e79c168d35 split SaveFileManager::openSavefile and class SaveFile into two, each, one for loading and one for saving
svn-id: r17517
2005-04-10 15:13:40 +00:00
Jonathan Gray
24c92d0091 Remove usage of vsprintf in favour of vsnprintf and make
more use of STRINGBUFLEN.  Some ports may need a new stub for
this, discussed with Chrilith.

svn-id: r17463
2005-04-09 01:52:44 +00:00
Jonathan Gray
2d26bfcb47 Display text in Restart Yes/No Dialog for consistency with
Quit dialog.  Pointed out in part of FR #1145781.

svn-id: r17320
2005-04-01 07:30:25 +00:00
Eugene Sandulenko
749cf8a083 Apply patch #1162546 "BASS: Hanging notes fix / patch". Thanks __tom.
svn-id: r17177
2005-03-18 11:05:15 +00:00
Chris Apers
a377252fbb Not needed any more
svn-id: r17076
2005-03-11 10:51:18 +00:00
Robert Göffringmann
c81fa31a5c fix missing speech animations. I introduced that bug when I moved the compacts out of the scummvm executable.
svn-id: r16828
2005-02-20 18:33:36 +00:00
Max Horn
6f6668ce21 Reduce dependencies on common/savefile.h from 88 to 14
svn-id: r16528
2005-01-10 22:18:39 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Chris Apers
5950a2346e - Change mouse position on click
- Remove timimg code which slow down PalmOS port

svn-id: r16163
2004-12-20 16:48:49 +00:00
Torbjörn Andersson
e39bec5419 Removed unused variable.
svn-id: r16076
2004-12-16 10:58:50 +00:00
Robert Göffringmann
8c5a1aa034 some cleanup
svn-id: r16071
2004-12-16 04:22:32 +00:00
Robert Göffringmann
69925e3281 fix gcc warnings
svn-id: r16068
2004-12-16 02:19:10 +00:00
Robert Göffringmann
2308ba8aaf moved compacts and related static data out of the scummvm.exe into an external file
(available from www.lavosspawn.de/tmp/sky_cpt.zip)

svn-id: r16053
2004-12-15 06:48:08 +00:00
Max Horn
f09293b22c Clean up OSystem::Event
svn-id: r15990
2004-12-05 17:42:20 +00:00
Max Horn
876e738dce Moved Engine::getSavePath() to class SaveFileManager; removed the 'directory' parameter from SaveFileManager::openSavefile and listSavefiles (they always use getSavePath() now, which is what we did anyway)
svn-id: r15901
2004-11-27 00:26:11 +00:00
Robert Göffringmann
d4a4727553 use message window instead of console printf if user wants to load a savegame from a different BASS version
svn-id: r15797
2004-11-12 18:12:41 +00:00
Robert Göffringmann
7dec7b7054 misc cleanup
svn-id: r15783
2004-11-11 10:14:35 +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
Paweł Kołodziejski
5c442f53aa fixed warnings
svn-id: r15161
2004-09-18 11:34:55 +00:00
Joost Peters
85bd972d89 Save setting of the text toggle when quitting, fixes bug #855542
svn-id: r14933
2004-09-06 11:09:25 +00:00
Joost Peters
18758f1b94 typo
svn-id: r14755
2004-08-25 22:32:15 +00:00
Torbjörn Andersson
e02e6408f2 Adapted Fingolfin's BS1 code for better error messages when save/restore
fails. The downside to this is that while the error dialog is showing, the
mouse cursor is drawn in dark greys, so it's almost invisible.

svn-id: r14260
2004-07-18 18:25:16 +00:00
Torbjörn Andersson
8f6a619913 (Ab)used the yes/no dialog to show an error message if saving a game fails.
As far as I can tell, writing a proper one-button dialog is tricky. It
can't re-use a button from the yes/no dialog since the whole thing appears
to be just one sprite!

svn-id: r14178
2004-07-08 12:21:40 +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
7a8d469c66 Use auto_ptr to avoid leaks
svn-id: r14057
2004-06-25 22:12:57 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +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
Nicolas Bacca
a5aba18abf Remove old CE tweak
svn-id: r12626
2004-01-26 20:28:35 +00:00
Nicolas Bacca
76298a9cec Implements TOGGLE_VIRTUAL_KEYBOARD
svn-id: r12459
2004-01-17 23:40:36 +00:00
Max Horn
033ff78ae9 updated copyright notice
svn-id: r12176
2004-01-06 12:45:34 +00:00
Max Horn
14f28d58f1 remove 'Sky' name prefix for most stuff (not needed anymore since we are in namespace 'Sky' now)
svn-id: r12114
2004-01-03 15:57:57 +00:00
Max Horn
b0e23e35ee Introduce namespace 'Sky'
svn-id: r12099
2004-01-03 01:58:58 +00:00
Paweł Kołodziejski
b99af18bd5 cleanup whitespaces
svn-id: r11213
2003-11-08 20:27:27 +00:00
Torbjörn Andersson
61aaa5b40b Changed the behaviour of the page up/down buttons in the save/load dialog.
LavosSpawn tells me that the previous behaviour was, in fact, what the
original did, but agreed that it was confusing.

The new behaviour is consistent with how BS2 does it, by the way.

svn-id: r10962
2003-10-25 14:15:21 +00:00
Max Horn
bfce5e500a renamed SkyState to SkyEngine; cleaned the #include dependency mess a bit (try to only #include files when you *have* to -> this reduces compilation time to a minimum when header file changes are made)
svn-id: r10622
2003-10-05 20:21:20 +00:00
Nicolas Bacca
6c94765972 Improve intro timing a tiny bit on WinCE
svn-id: r10472
2003-09-28 22:23:59 +00:00
Torbjörn Andersson
570e60a487 Whitespace changes
svn-id: r10390
2003-09-24 06:33:59 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00
Marcus Comstedt
2ed0eee711 Replaced use of File with use of SaveFileManager where appropriate.
svn-id: r9627
2003-08-10 20:50:50 +00:00
Robert Göffringmann
31a143dcd4 new compacts, new loading + saving code (not compatible to old one)
svn-id: r9439
2003-08-03 17:17:24 +00:00
Max Horn
103112dd3d removed OSystem::set_mouse_pos (I hope I didn't break any backends, but if I did it should be trivial to get them working again)
svn-id: r9391
2003-08-02 00:36:38 +00:00
Robert Göffringmann
64e14fd4ed changed loading & saving code to fix the bug discribed in the general forum. This bug applies to all platforms, it just seems to cause a crash only on Mac OS X.
svn-id: r9352
2003-08-01 00:15:05 +00:00
Robert Göffringmann
847c702500 deactivated loading/(auto-)saving at places where it's not allowed
svn-id: r9315
2003-07-31 01:57:05 +00:00
Robert Göffringmann
66823befe2 maybe this fixed those random crashes...
svn-id: r9021
2003-07-14 20:01:54 +00:00
Robert Göffringmann
e997d05b3c fixed toggling music on/off after savegame restore
svn-id: r9007
2003-07-14 09:26:50 +00:00
Robert Göffringmann
d971845fab fixed text drawing bug and made sure autosave doesn't save if engine is in logic_choose mode
svn-id: r9006
2003-07-14 09:16:12 +00:00
Max Horn
963ecad362 debug/warning/error all automatically output a newline
svn-id: r8991
2003-07-13 16:22:17 +00:00
Travis Howell
6ea1d54f50 A few mino changes for pc gamer demo
svn-id: r8949
2003-07-12 16:54:30 +00:00