Commit Graph

81 Commits

Author SHA1 Message Date
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
Nicolas Bacca
ad66be2b57 Add WinCE virtual keyboard
svn-id: r8944
2003-07-12 13:15:12 +00:00
Robert Göffringmann
2ccaa6f1af fix Swedish quit message
svn-id: r8932
2003-07-12 06:39:55 +00:00
Robert Göffringmann
4e406387ad one more small fix
svn-id: r8929
2003-07-12 05:57:53 +00:00
Robert Göffringmann
fbb0ddcc34 keep virgin logo from flashing up when using -x
svn-id: r8928
2003-07-12 05:52:28 +00:00
Robert Göffringmann
cb48b4fca0 implemented -x command line option
svn-id: r8926
2003-07-12 05:26:23 +00:00
Robert Göffringmann
8b36d14696 added support for different languages and fixed memory leak and screen refreshes in load/save dialogs
svn-id: r8921
2003-07-12 03:40:44 +00:00
Robert Göffringmann
f89c68c6f1 added autosaving every 5 minutes
svn-id: r8915
2003-07-11 22:19:16 +00:00
Robert Göffringmann
b3247c5e5f fixed endian specific palette bugs for restarting game and control panel
svn-id: r8899
2003-07-10 20:09:19 +00:00
Robert Göffringmann
6ae8144929 whoops.
svn-id: r8895
2003-07-10 07:56:35 +00:00
Torbjörn Andersson
989b155044 Slight cleanup. Fixes a few minor memory leaks, I believe.
svn-id: r8894
2003-07-10 07:09:25 +00:00
Robert Göffringmann
1bedb9ebbf forgot to allow restarting from control panel
svn-id: r8887
2003-07-10 02:13:53 +00:00
Robert Göffringmann
96f442923c implemented fnRestartGame() and skipping of 2nd intro part
svn-id: r8885
2003-07-10 00:08:07 +00:00
Robert Göffringmann
5f9845b2cb added toggling music on/off
svn-id: r8884
2003-07-09 18:12:58 +00:00
Robert Göffringmann
2c065bcffe activated speed slider in SkyControl, fixed different charsets in control panel when entering from LINC terminal, etc.
svn-id: r8883
2003-07-09 17:50:57 +00:00