Commit Graph

181 Commits

Author SHA1 Message Date
Eugene Sandulenko
14ec3f45fa - Heavily modified patch #1214784: "Disable overlay scaling"
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes
  is applied as is. It lacks resolution switch on-the-fly.
- GUI widgets are repositioned on the fly and use most space, even aspect
  ratio corrected screen is used without scaling
- Heavy tesing is required, but works for me in all cases except for bug
  #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more
  work.
- I probavly broke some backend or two

svn-id: r22505
2006-05-17 23:52:45 +00:00
Max Horn
d5739c29fd Attempted fix for bug #1484881
svn-id: r22398
2006-05-09 21:55:29 +00:00
Max Horn
dad44b45d3 Removed Base::setTarget, and some minor cleanup & tweaks
svn-id: r22356
2006-05-05 00:26:03 +00:00
Max Horn
5d5c02d66c Moved GameDetector::setTarget & findGame to the new namespace Base; moved their declaration to base/game.h, their implementation to base/main.cpp (both until we can come up with a better location). Also moved detectMain into main.cpp, where it now is a local static function
svn-id: r22346
2006-05-04 23:24:09 +00:00
Max Horn
6321cfc874 Turned the last remaining few GameDetector methods into static methods
svn-id: r22344
2006-05-04 22:52:18 +00:00
Marcus Comstedt
c319e97246 Put "path" config in game specific domain. Fixes bug #1475049.
svn-id: r22343
2006-05-04 21:44:36 +00:00
Marcus Comstedt
aa7513d0d5 Implemented new InSaveFile methods.
svn-id: r22281
2006-05-02 22:26:26 +00:00
Max Horn
e9bc5ba280 Backends now are also responsile for deiniting properly. In particular, moved the call to quit() from scummvm_main to the various backend main routines (porters may want to replace it by something different)
svn-id: r21559
2006-04-02 14:31:23 +00:00
Max Horn
9217472f0e With this change, backends are now responsible for instantiating their OSystem class before calling scummvm_main (Note: PalmOS and Symbian are not yet converted, and won't work currently)
svn-id: r21557
2006-04-02 14:16:31 +00:00
Max Horn
587431f8e8 Fully and officially renamed our main function to scummvm_main, thus making
various backend specific hacks unnecessary. As a consequence, it is now the
responsibility of the backend to define main. Hence I adapted the SDL backend
accordingly.

svn-id: r21542
2006-04-02 00:08:22 +00:00
Max Horn
2eaa929af7 Fix for bug #1449912 (DC: selector.cpp compilation failed)
svn-id: r21319
2006-03-15 17:56:53 +00:00
Max Horn
3582efc5d2 Fixes for the DC backends (see patch #1436898)
svn-id: r21292
2006-03-14 14:52:36 +00:00
Max Horn
9b6b816a01 Adapting plugin.syms to the changes made to the plugin API (matching it with the conent of plugin.exp)
svn-id: r21143
2006-03-08 11:47:17 +00:00
Marcus Comstedt
8734538e99 $Header$ -> $URL$ + $Id$
svn-id: r20441
2006-02-09 13:25:53 +00:00
Marcus Comstedt
405c2832e8 Properly initialize _devpoll.
svn-id: r20439
2006-02-09 12:30:52 +00:00
Max Horn
0ad58cdb95 Removed .cvsignore files
svn-id: r20424
2006-02-07 22:50:14 +00:00
Marcus Comstedt
5b1718f17b fingolfin renamed 'GameSettings::name' to 'GameSettings::gameid'.
svn-id: r20222
2006-01-27 13:48:14 +00:00
Eugene Sandulenko
b36677af71 Update FSF address. Eek. Actually that took place on May 1, 2005
svn-id: r19142
2005-10-18 01:30:26 +00:00
Marcus Comstedt
ea6b0f2b44 Enable MAD support.
svn-id: r19104
2005-10-15 22:28:27 +00:00
Marcus Comstedt
1ee05972af Avoid "double-clicks" when the virtual keyboard is activated.
svn-id: r19101
2005-10-15 14:59:46 +00:00
Marcus Comstedt
a4aefbe9b4 Added support for cursor palettes.
svn-id: r19100
2005-10-15 14:33:58 +00:00
Marcus Comstedt
dbea2b5a1d Added some missing functions.
svn-id: r19099
2005-10-15 14:15:22 +00:00
Marcus Comstedt
57e1c6451d Improved savefile error handling:
* New flush() method in WriteStream class to flush pending I/O, in order
  to detect any I/O errors

* Use of flush() and ioFailed() added to scumm engine save function

* Dreamcast backend extended to support the new checks

svn-id: r19066
2005-10-13 18:50:53 +00:00
Marcus Comstedt
78e619efaf gBitFormat seems to be back in libcommon again... (This underhanded parameter passing has to go.)
svn-id: r19005
2005-10-10 17:58:35 +00:00
Marcus Comstedt
72ed016ea2 Run the detectors on one directory at a time, rather than one file at a time.
svn-id: r18685
2005-08-14 15:51:41 +00:00
Marcus Comstedt
a1e4dd1390 Force a single PHDR.
svn-id: r18684
2005-08-14 14:46:42 +00:00
Eugene Sandulenko
6b4484472b Remove trailing whitespaces.
svn-id: r18604
2005-07-30 21:11:48 +00:00
Marcus Comstedt
e2d1b7afa4 Implemented OSystem_Dreamcast::grabPalette().
svn-id: r18472
2005-06-27 15:16:58 +00:00
Marcus Comstedt
9e13459338 Implemented InVMSave::skip().
svn-id: r18471
2005-06-27 15:16:05 +00:00
Torbjörn Andersson
7760c0b8a4 Changed #include <stdafx.h> to #include <common/stdafx.h>. It should
probably be #include "common/stdafx.h", but I'll let the backend
maintainers worry about style.

svn-id: r18455
2005-06-24 16:18:10 +00:00
Max Horn
72f4c03b0b Moved (In/Out)SaveFile(Manager) and Timer to namespace Common
svn-id: r18038
2005-05-10 23:17:38 +00:00
Marcus Comstedt
38c9a40c22 Dispense with the filename field of InVMSaves.
svn-id: r17911
2005-05-04 23:38:07 +00:00
Marcus Comstedt
fc25ef24b0 Cleanup of the cleanup code. :-)
svn-id: r17910
2005-05-04 23:34:26 +00:00
Marcus Comstedt
5b56b5ac01 Split VMSave into InVMSave and OutVMSave.
svn-id: r17909
2005-05-04 23:24:03 +00:00
Marcus Comstedt
925c69797d Slightly more elegant LauncherDialog connector.
svn-id: r17844
2005-04-27 21:58:21 +00:00
Marcus Comstedt
f95e696034 Added eos() method.
svn-id: r17843
2005-04-27 21:57:13 +00:00
Max Horn
86752763c8 add a comment regarding an odd hack
svn-id: r17758
2005-04-22 21:30:07 +00:00
Max Horn
25d56525c8 Replace OSystem::hasAlpha with a feature flag
svn-id: r17695
2005-04-19 20:35:48 +00:00
Max Horn
14adfd3cac Typo
svn-id: r17547
2005-04-11 18:42:57 +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
Marcus Comstedt
e62d6773ef Added mouse wheel support.
svn-id: r17360
2005-04-03 21:41:39 +00:00
Marcus Comstedt
4187ed3e11 Oops, cleared too large memory region...
svn-id: r17356
2005-04-03 20:45:26 +00:00
Marcus Comstedt
167badf727 Switch overlay mode to ARGB4444.
svn-id: r17355
2005-04-03 19:42:02 +00:00
Marcus Comstedt
8fe07f1f3e Added new cursorTargetScale parameter to setMouseCursor().
svn-id: r17352
2005-04-03 18:02:27 +00:00
Marcus Comstedt
17aa2d6dfd SaveFile stuff now resides in <common/savefile.h>.
svn-id: r17351
2005-04-03 18:00:13 +00:00
Marcus Comstedt
c734fc5b5c Until there is a proper way of communicating pixel format, declare ugly global variable...
svn-id: r17334
2005-04-02 15:45:50 +00:00
Eugene Sandulenko
7bb53f3bf1 Patch #1013937 "OSystem layer with bigger resolution". Now you will always
get at least 640x400 window. And finally we have means of implementing
nice looking GUI.

Also updated all backends. If your backend has ability to run with 640x400 or
640x480 resolution then read patch tracker item to find out details. Other
port maintainers shouldn't worry, as this patch doesn't affect them, they
still get their 320x200.

svn-id: r17055
2005-03-09 23:07:32 +00:00
Marcus Comstedt
f74fce354f Access timer.
svn-id: r16481
2005-01-07 21:56:10 +00:00
Marcus Comstedt
9f5bd8510d Made SoftKbd more usable with a mouse.
svn-id: r16004
2004-12-09 20:21:31 +00:00
Marcus Comstedt
24bc673b8b Switch back from netcd to regular ronin.
svn-id: r15995
2004-12-06 15:57:08 +00:00