Commit Graph

1829 Commits

Author SHA1 Message Date
Lars Persson
3c7a5f78cc Updated symbian actions for working key names
svn-id: r23183
2006-06-19 21:07:37 +00:00
Won Star
da64d9f72e o WIP file cache code borrowed from PS2 port.
o add property

svn-id: r23062
2006-06-12 15:33:27 +00:00
Won Star
119a0192e1 * Move gp32-fs.cpp to fs/gp32 dir.
* Fix gp32 launcher code.

svn-id: r23023
2006-06-11 10:23:41 +00:00
Won Star
6897e06333 Rename filesystem file.
svn-id: r23022
2006-06-11 10:08:53 +00:00
Kostas Nakos
990ff8f0cc correctly load configuration at startup
svn-id: r23021
2006-06-11 08:34:56 +00:00
Lars Persson
b495cd44b3 Specific resource file used for UIQ3
svn-id: r23016
2006-06-10 20:31:20 +00:00
Lars Persson
55a13866a4 Symbian port build updates for S60V3 and UIQ3
svn-id: r23015
2006-06-10 20:30:21 +00:00
Kostas Nakos
a6a98c0009 fixed hashmap use
svn-id: r23007
2006-06-10 11:23:40 +00:00
Kostas Nakos
3b4416bb37 added multiple state support
svn-id: r23006
2006-06-10 11:23:00 +00:00
Kostas Nakos
fd672ef2e1 fixed code regression to pre 0.8.2, panel, clipping, overlay fixes, support for new actions, new scaler, toolbar mouse, inverse landscape and double-tap -> right click
svn-id: r23005
2006-06-10 11:16:43 +00:00
Kostas Nakos
a7a0d522d3 added hires aware flag for by-the-book handling of hires devices
svn-id: r23004
2006-06-10 11:10:05 +00:00
Kostas Nakos
33e6264954 new landscape aspect scaler (n0p)
svn-id: r23003
2006-06-10 11:08:34 +00:00
Kostas Nakos
a2651ff7cb added rotate and virtual keyboard actions
svn-id: r23002
2006-06-10 11:07:28 +00:00
Kostas Nakos
b9c8981d62 added keyboard-emulated mouse cursor
svn-id: r23001
2006-06-10 11:06:05 +00:00
Robert Göffringmann
7e65543482 cleanup, made osystem for .ini on different devices.
svn-id: r22984
2006-06-08 06:53:00 +00:00
Lars Persson
955a7aed38 Changed UID comment for S60V3 id tag
svn-id: r22983
2006-06-07 20:38:44 +00:00
Lars Persson
643bdfc4b1 Disable AGI support by default in the build
svn-id: r22982
2006-06-07 20:38:09 +00:00
Lars Persson
119d3dc0e8 Better UIQ3 view support
svn-id: r22981
2006-06-07 20:36:17 +00:00
Lars Persson
60456933e7 Proper override for vsnprintf to give proper error messages
svn-id: r22980
2006-06-07 20:35:47 +00:00
Robert Göffringmann
36c52873a6 EE RPC part of the cdvd driver...
svn-id: r22976
2006-06-07 07:01:21 +00:00
Robert Göffringmann
a4bafca779 forgot to commit this...
svn-id: r22975
2006-06-07 06:57:46 +00:00
Robert Göffringmann
93718ebef9 updated fs implementation
svn-id: r22974
2006-06-07 06:53:41 +00:00
Robert Göffringmann
939ebbb80d imported cdvd driver again..
svn-id: r22973
2006-06-07 06:51:45 +00:00
Robert Göffringmann
033803ba53 various PS2 changes
svn-id: r22971
2006-06-07 06:42:21 +00:00
Robert Göffringmann
de5b81f485 various PS2 changes
svn-id: r22970
2006-06-07 06:39:45 +00:00
Robert Göffringmann
a01d5c1393 various PS2 changes
svn-id: r22969
2006-06-07 06:07:05 +00:00
Joost Peters
c17bd63f07 %s/CVS/SVN/g
svn-id: r22963
2006-06-06 22:45:16 +00:00
Kostas Nakos
506456d014 update the CE port to work under 0.9.0 codebase
svn-id: r22956
2006-06-06 19:31:49 +00:00
Chris Apers
318770280c What's this?\!
svn-id: r22955
2006-06-06 18:34:03 +00:00
Chris Apers
9e86863a9d Updated project file
svn-id: r22945
2006-06-05 19:47:08 +00:00
Chris Apers
61453fa59d - Added AGI engine support
svn-id: r22940
2006-06-05 19:23:16 +00:00
Chris Apers
e51d5f3767 - Added arrow keys option
- Hide std palette ootion on ARM devices

svn-id: r22939
2006-06-05 19:21:51 +00:00
Chris Apers
f54bf6759f - Added arrow keys emulation
- Ajust mouse simulation so that there is no more hang while moving it

svn-id: r22938
2006-06-05 19:17:30 +00:00
Travis Howell
d47f3a76fb Add trailing slash to getCurrentDirectory if required. Fixes bug #1500563 - WIN32/SCUMM: Using scummvm.exe targetname not possible
svn-id: r22923
2006-06-05 00:14:23 +00:00
Eugene Sandulenko
1db54ac15c Small correction to resolution selector. Still not perfect.
svn-id: r22919
2006-06-04 19:44:47 +00:00
Won Star
a995950508 Fix infinite loop in updateScren() when mouse cursor is not initialized by setMouseCursor().
svn-id: r22914
2006-06-04 13:13:40 +00:00
Torbjörn Andersson
68cd5456dd "They sought it with thimbles, they sought it with care;
They pursued it with forks and hope;
 They threatened its life with a railway-share;
 They charmed it with smiles and soap."

Maybe this time the elusive cursor hotspot bugs will finally be fixed, once
and for all. The blitCursor() function now calculates both the real and the
virtual dimensions of the cursor, since they may both be different from the
original dimensions.

svn-id: r22913
2006-06-04 12:38:27 +00:00
Eugene Sandulenko
c9a5b18069 Remove executable bit in lots of files. Usually it is set by stupid Windows
clients when you add new file to CVS repo. No idea if this affects svn.

svn-id: r22911
2006-06-04 12:12:24 +00:00
Lars Persson
45330298ef Enable medium quality FM sound for S60V3 devices
svn-id: r22909
2006-06-04 11:39:46 +00:00
Marcus Comstedt
9b08aefbb3 Added a default icon for savegames.
svn-id: r22892
2006-06-03 16:00:53 +00:00
Marcus Comstedt
d4984908ec Ignore bogus values of sizeimg in the header sanity check, it will get recomputed anyway.
svn-id: r22891
2006-06-03 15:42:15 +00:00
Marcus Comstedt
c42e5813af FilesystemNode() does not create a valid node anymore, specify a path...
svn-id: r22889
2006-06-03 15:18:21 +00:00
Won Star
db709f57f6 Cleanup. / Add speed meter for 'operator new'
svn-id: r22887
2006-06-03 15:07:26 +00:00
Marcus Comstedt
e44e5d9be0 Add the new Dreamcast filesystem backend to the build.
svn-id: r22884
2006-06-03 14:13:37 +00:00
Marcus Comstedt
51e1438020 Separated the Dreamcast filesystem backend from the POSIX one.
svn-id: r22883
2006-06-03 14:09:04 +00:00
Marcus Comstedt
2795f743db Cleaned up plugin_dist target, and added target "spotless".
svn-id: r22881
2006-06-03 14:05:51 +00:00
Chris Apers
75af002bd3 Oops
svn-id: r22868
2006-06-03 11:40:31 +00:00
Chris Apers
d224f5a6ce Updated palmos FS based on lastest changes to the base class
svn-id: r22867
2006-06-03 11:21:39 +00:00
Chris Apers
ced30c3444 Added AGI support
svn-id: r22866
2006-06-03 11:19:41 +00:00
Chris Apers
6b3b516f9e Added missing functions and fixed saving with AGI engine
svn-id: r22865
2006-06-03 11:16:48 +00:00
Chris Apers
3a78221832 Fixed calls
svn-id: r22864
2006-06-03 11:14:12 +00:00
Chris Apers
8d42d331c7 Missing propset
svn-id: r22863
2006-06-03 11:10:46 +00:00
Chris Apers
0d51dc4b22 Don't reinvent the wheel, use MSL functions when available for better compatibility and smaller code size
svn-id: r22862
2006-06-03 11:00:15 +00:00
Eugene Sandulenko
a681ebad7d More maemo port development
svn-id: r22849
2006-06-03 01:05:09 +00:00
Lars Persson
a5c03dce0a Specific resource file for UIQ3 added and updated.
svn-id: r22821
2006-06-01 22:44:08 +00:00
James Brown
1a64d032fe Allow X11 backend to compile
svn-id: r22819
2006-06-01 15:07:58 +00:00
Lars Persson
72904c3354 Moved Symbian call to GUI::Actions::init(); to the Symbian backend
svn-id: r22811
2006-05-31 21:13:37 +00:00
Lars Persson
4ccc04588f Project files for AGI added and support for S60V3
svn-id: r22803
2006-05-31 19:05:47 +00:00
Joost Peters
6ea375b890 free old buffers when changing resolution in the non-GU backend (not that it's ever used, but anyway)
svn-id: r22787
2006-05-30 21:22:52 +00:00
Joost Peters
0612e74116 - fix bug in copyRectToOverlay() that was introduced after _overlayScale cleanup.
- implement grabOverlay()

svn-id: r22772
2006-05-30 16:19:56 +00:00
Joost Peters
e1844e485f some cleanup
svn-id: r22753
2006-05-29 18:06:02 +00:00
Won Star
e4e145b5bc Update makefile for the GP32 port.
svn-id: r22752
2006-05-29 18:00:38 +00:00
Joost Peters
1b6363c731 fix 480x272 overlay drawing, set default overlay size to 480x272
svn-id: r22751
2006-05-29 17:53:06 +00:00
Joost Peters
31413d871b get rid of _overlayScale
svn-id: r22750
2006-05-29 17:40:31 +00:00
Joost Peters
4d55bff13d add SCEkxploit rule
svn-id: r22749
2006-05-29 17:37:59 +00:00
Joost Peters
69b5d6fa3d fix PSPFilesystemNode::parent() + some minor cleanup
svn-id: r22727
2006-05-28 22:02:38 +00:00
Joost Peters
8c1d71851a make getNodeForPath() use the proper PSPFilesystemNode ctor (and remove the old, now unused, one).
svn-id: r22726
2006-05-28 21:35:35 +00:00
Torbjörn Andersson
1da221279c The dirty rect produced by drawMouse() is updated without going through any
scaling or aspect-ratio correction, so it has to be added using real surface
coordinates. So I had to re-introduce the extra parameter to addDirtyRect().

svn-id: r22681
2006-05-27 12:55:28 +00:00
Willem Jan Palenstijn
fa3f1fc15c fix warpmouse in overlay-mode; fixes cursor jumps when opening menu
svn-id: r22679
2006-05-27 12:39:55 +00:00
Joost Peters
91cd652f1d move psp_fs.cpp from backends/psp/ to backends/fs/psp/
svn-id: r22657
2006-05-26 10:46:52 +00:00
Joost Peters
48ecd027a3 Update to adapt for AbstractFilesystemNode changes made recently.
svn-id: r22655
2006-05-26 10:42:29 +00:00
Willem Jan Palenstijn
f6e6d7e8e9 unused variable
svn-id: r22633
2006-05-25 19:48:54 +00:00
Willem Jan Palenstijn
14774d1760 fix hotspot handling when overlay visible
svn-id: r22631
2006-05-25 19:43:33 +00:00
Torbjörn Andersson
935d3bb425 The AGI engine's save/load dialog dirties the entire screen thirteen times
each iteration of the loop, causing a serious slowdown on my computer. It
empathically should not be doing that, of course, but to safe-guard against
such patological cases, if the entire screen is dirtied even once we can set
_forceFull to true.

svn-id: r22616
2006-05-24 21:04:44 +00:00
Andrew Kurushin
36957a2c50 fix VC & SDL 1.2.10 compilation error
svn-id: r22585
2006-05-23 16:49:46 +00:00
Won Star
f38af30d6a Update GP32 port. It still doesn't work very well...
svn-id: r22584
2006-05-23 14:30:13 +00:00
Torbjörn Andersson
7d15c60ab9 Don't crash if drawMouse() is called before _mouseSurface is created.
svn-id: r22562
2006-05-21 18:49:26 +00:00
Paweł Kołodziejski
e7a4b46479 fixed compilation when DISABLE_SCALERS
svn-id: r22551
2006-05-20 15:43:27 +00:00
Paweł Kołodziejski
da9bf4dd71 fix compilation, that variable no longer exists
svn-id: r22550
2006-05-20 15:22:17 +00:00
Torbjörn Andersson
1c7c0039b5 Removed stray printf() from earlier commit.
svn-id: r22542
2006-05-20 10:57:15 +00:00
Torbjörn Andersson
407cb66502 Re-render the cursor when enabling/disabling cursor palette. Also, I don't
think _cursorHasOwnPalette is needed any more, so I've removed it.

svn-id: r22541
2006-05-20 09:27:56 +00:00
Torbjörn Andersson
87ee8db10d Our GUI uses the "cursor palette" feature, but the SDL backend did not use the
cursor palette in overlay mode. Now it does, which fixes bug #1476666. The
reason it worked at all before was that blitCursor() was called while still not
in overlay mode.

This, of course, means that the GUI can corrupt the in-game cursor palette. I
don't have any game that uses this feature, so I don't know if it's properly
restored again afterwards. But if it isn't, that should be fairly easy to fix.

svn-id: r22539
2006-05-20 08:06:21 +00:00
Torbjörn Andersson
80eb6e4f5e Fixed cursor drawing in the classic theme.
svn-id: r22538
2006-05-20 07:31:03 +00:00
Eugene Sandulenko
84c649c4a9 Slighty modified patch #1491859: "Possible fix for recent cursor regressions"
svn-id: r22535
2006-05-19 22:26:07 +00:00
Eugene Sandulenko
9e3b78e1e9 --force-1x-overlay is no more. Remove leftovers.
svn-id: r22519
2006-05-18 13:59:20 +00:00
Eugene Sandulenko
4dfbfe7eca - Revert additional setUpCursor() call as it broke in-game cursor palette
- Disable scaling for cursors which have target scale defined

svn-id: r22509
2006-05-18 02:03:43 +00:00
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
Travis Howell
1403a3511e Add code for get current directory
svn-id: r22437
2006-05-13 11:18:52 +00:00
Travis Howell
1124fa8d90 Get current directory via a path of '.'
svn-id: r22435
2006-05-13 10:42:21 +00:00
Max Horn
3623a94927 Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941.
svn-id: r22424
2006-05-12 21:41:54 +00:00
Max Horn
ed339aa771 Updated some comments
svn-id: r22422
2006-05-12 21:11:37 +00:00
Max Horn
0dfb76002f Fixed memory leak in PSPFilesystemNode
svn-id: r22421
2006-05-12 21:02:26 +00:00
Max Horn
726c05be96 Make some tweaks to the GP32 and PSP FS code (trying to at least partially bring them up to speed with the FS code changes). Note: If those files were inside backends/fs/, they wouldn't be overlooked as easily when making FS changes...
svn-id: r22420
2006-05-12 21:01:50 +00:00
Max Horn
b5556c50fe Updated WinCE backend to the new form of FilesystemNode::listDir
svn-id: r22419
2006-05-12 20:55:53 +00:00
Max Horn
d5739c29fd Attempted fix for bug #1484881
svn-id: r22398
2006-05-09 21:55:29 +00:00
Eugene Sandulenko
d2546e3979 - Updated MSVC8 project files
- Renamed base/options.cpp to base/commandLine.cpp because of conflict
  with gui/options.cpp which sit in same directory in MSVC builds
- Moved AudioCDManager singleton declaration outside of Audio namespace
- Fixed numerous MSVC warning of potentially uninitialized variables and
  int <-> bool conversions.

svn-id: r22397
2006-05-09 14:16:43 +00:00
Torbjörn Andersson
30c0bd63bc Fixed bug #1483450. Apparently, S_ISDIR() is undefined if stat() fails. The
change to the POSIXFilesystemNode constructor is the one that matters to this
bug. The changes to listDir() are made from paranoia.

svn-id: r22382
2006-05-08 04:48:40 +00:00
Max Horn
b2d4cd6a35 Paranoia
svn-id: r22379
2006-05-07 19:41:56 +00:00
Max Horn
ae50315fa0 Added a default implementation of the OSystem CD API (which simply does nothing)
svn-id: r22370
2006-05-06 18:10:38 +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
Lars Persson
ffd43c54a6 Updates for S60V3 and UIQ3
svn-id: r22341
2006-05-04 20:47:27 +00:00
Travis Howell
84c99c8242 Revert the last change, since AbstractFilesystemNode::child() handles files and directories
svn-id: r22319
2006-05-03 21:53:38 +00:00
Max Horn
05f6adbbd9 Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
svn-id: r22317
2006-05-03 20:49:33 +00:00
Max Horn
d016c353c5 Changed FilesystemNode::listDir to return a bool indicating its success (or failure)
svn-id: r22315
2006-05-03 20:43:26 +00:00
Lars Persson
fb0cc056aa Project file updated
svn-id: r22313
2006-05-03 18:09:37 +00:00
Lars Persson
5da67ab112 Updated build script for Symbian OS9 devices
svn-id: r22312
2006-05-03 18:05:55 +00:00
Travis Howell
e4e7ba1d7a Make sure AbstractFilesystemNode::child() only returns a directory in Windows
svn-id: r22306
2006-05-03 13:06:22 +00:00
Max Horn
31444d3d35 Some doxygen comment cleanup for (Abstract)FilesystemNode
svn-id: r22304
2006-05-03 11:42:50 +00:00
Max Horn
fea36d0112 Disabled evil getcwd hack in POSIXFilesystemNode
svn-id: r22302
2006-05-03 11:36:07 +00:00
Max Horn
9c1fc02328 Got rid of AbstractFilesystemNode::wrap (begone, evil hack)
svn-id: r22300
2006-05-03 11:13:21 +00:00
Max Horn
8c452daac2 Moved static methods getRoot / getNodeForPath from class FilesystemNode to class AbstractFilesystemNode
svn-id: r22298
2006-05-03 10:19:05 +00:00
Max Horn
d404b6150a Started to separate AbstractFilesystemNode from FilesystemNode
svn-id: r22297
2006-05-03 10:14:05 +00:00
Marcus Comstedt
5468059d44 Removed compilation error.
svn-id: r22282
2006-05-02 22:27:24 +00:00
Marcus Comstedt
aa7513d0d5 Implemented new InSaveFile methods.
svn-id: r22281
2006-05-02 22:26:26 +00:00
Max Horn
dbe1c50bc9 Added a missing '*' (which marks the comment as being one doxygen should process)
svn-id: r22268
2006-05-01 22:04:13 +00:00
Max Horn
e4a7de9d75 Patch #1479919 (AmigaOS maintaining)
svn-id: r22267
2006-05-01 21:53:31 +00:00
Lars Persson
49dd540213 _pseudoRoot was not intialized properly
svn-id: r22261
2006-05-01 15:36:54 +00:00
Lars Persson
492929ae53 Updated symbian-fs backend and cleanup
svn-id: r22260
2006-05-01 14:20:02 +00:00
Travis Howell
7b7d290675 Add windows code for AbstractFilesystemNode::child()
svn-id: r22253
2006-05-01 08:24:57 +00:00
Max Horn
8300d1d2a9 Added new AbstractFilesystemNode::child() resp. FilesystemNode::getChild() methods
svn-id: r22249
2006-04-30 22:52:10 +00:00
Travis Howell
c1572b2dbd _isPseudoRoot should be always false, in WindowsFilesystemNode(const String &path)
svn-id: r22195
2006-04-27 23:16:45 +00:00
Travis Howell
e163be131c Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot in windows filesys backend was real cause of problem.
svn-id: r22194
2006-04-27 23:14:54 +00:00
Max Horn
cf13cf3a70 I still don't know whether this is the correct fix for WindowsFilesystemNode, but at least with it, one definite and serious bug in the code (using an uninitialised variable) has been fixed, the end result hardly will be worse
svn-id: r22192
2006-04-27 17:21:33 +00:00
Max Horn
307f4e387b Fixed getNodeForPath on systems using POSIXFilesystemNode to again correctly check whether the given path exists, and whether it points to a directory
svn-id: r22097
2006-04-23 12:29:43 +00:00
Lars Persson
37633732f1 Added F1 as save for ITE
svn-id: r22083
2006-04-22 07:32:06 +00:00
Lars Persson
a3661c158a Updated Symbian Actions and SDL Symbian interface for latest backend changes so it all works properly again.
svn-id: r22076
2006-04-21 21:15:05 +00:00
Lars Persson
86bc1d4923 Add creation of Symbian SDL backend instead of plain SDL
svn-id: r22071
2006-04-21 20:49:06 +00:00
Won Star
564727be2c Add used memory counter.
svn-id: r22061
2006-04-20 14:55:27 +00:00
Joost Peters
d5909ee122 some cleanup
svn-id: r21946
2006-04-16 14:40:12 +00:00
Joost Peters
1baf98f1c8 update so it compiles again with current svn
svn-id: r21941
2006-04-16 13:26:10 +00:00
Max Horn
68cb7f52c8 - Renamed ConfigManager::getActiveDomain to getActiveDomainName, and added a new getActiveDomain method that returns a pointer to the actual active *domain*
- Added Engine::_targetName whose value is computed from the name of the active domain
- Removed GameDetector::_targetName, instead code now uses either Engine::_targetName or the name of the active domain
- This in turn allowed for removing usage of GameDetector in many places

svn-id: r21916
2006-04-15 20:36:41 +00:00
Max Horn
ad45318328 Removed GameDetector::_gameid in favor of using a config manager entry
svn-id: r21915
2006-04-15 17:39:14 +00:00
Max Horn
04709491f7 Avoid using exceptions
svn-id: r21894
2006-04-14 23:21:59 +00:00
Eugene Sandulenko
e7af211fb5 Remove AmigaOS4 cookie as described in patch #1467193: "AmigaOS changes":
- Icon (icons/scummvm.info) contains stack requirement so the stack cookie
  can be removed

svn-id: r21863
2006-04-14 01:14:38 +00:00
Eugene Sandulenko
065dcf5653 Part of patch #1467193: "AmigaOS changes":
- Filesystem errors are now more detailed
- casting problems are hopefully gone
- some comments added in amigaos4-fs.cpp

svn-id: r21861
2006-04-14 01:06:08 +00:00
Eugene Sandulenko
ab799101c0 First batch of root directory cleanup. Now icons are stored in directory
icons/ and all other assorted stuff in dists/ directory. Still I may broke some
packaging/building procedures as no testing was performed.

svn-id: r21859
2006-04-14 00:55:37 +00:00
Lars Persson
1d265f1895 Commiting Fingolfins patch to remove gamedetector usage.
svn-id: r21830
2006-04-12 19:04:10 +00:00
Lars Persson
0d9fc230bc Updated project files with new required libs.
svn-id: r21821
2006-04-12 07:56:44 +00:00
Max Horn
0c75d7d1c0 Removed the PalmOS specific hack in file.cpp in favor for code that should work everywhere (and hopefully will help the GP32 port, too).
svn-id: r21811
2006-04-11 22:29:51 +00:00
Chris Apers
7aacf8e5fb Updated project file
svn-id: r21807
2006-04-11 18:26:40 +00:00
Chris Apers
4f28027c55 Fixed FS support based on lastest changes to the base fs class
svn-id: r21801
2006-04-11 18:13:04 +00:00
Chris Apers
f6ae33b3d7 There is no ::create function anymore in backends
svn-id: r21800
2006-04-11 18:11:03 +00:00
Chris Apers
d32320da0f Added now required palm_main(...) function
svn-id: r21799
2006-04-11 18:08:51 +00:00
Chris Apers
cbe570756b Missing endian.h
svn-id: r21798
2006-04-11 18:06:22 +00:00
Chris Apers
0fd8c1da1e Added missing 'auto' music driver
svn-id: r21797
2006-04-11 18:04:09 +00:00
Max Horn
8271273cb5 Fallback to using stat() if readdir returns DT_UNKNOWN (replacing the AMD64 hack)
svn-id: r21767
2006-04-10 19:26:40 +00:00
Johannes Schickel
df1bc871f1 Forces usage of SYSTEM_NOT_SUPPORTING_D_TYPE on amd64 systems. (read comment for more information)
svn-id: r21739
2006-04-09 23:30:16 +00:00
Travis Howell
8dced54111 Add SDL_SetModuleHandle to WinMain
svn-id: r21710
2006-04-09 01:59:47 +00:00
Eugene Sandulenko
5a2ad04a9e Introduced language EN_ANY used for general English game entries. EN_USA and
EN_GRB should be used for games which have both variants. Currently it is
MM NES and BASS. All other are switched to EN_ANY.

svn-id: r21702
2006-04-08 23:12:56 +00:00
Max Horn
4a8c9c323d AmigaOS4 changes from tracker #1416370
svn-id: r21691
2006-04-08 12:39:27 +00:00
Max Horn
67fda4ece5 Cache the root node (cause a major speedup on OSX, since by far the slowes part in the FS code over here is the getcwd call in getRoot() )
svn-id: r21667
2006-04-07 11:47:58 +00:00
Won Star
00a4ca0224 Fix compile
svn-id: r21666
2006-04-07 11:37:46 +00:00
Won Star
ab41c88902 Disable i/o cache which is incomplete and can cause serious problem with SMC.
Fix compile by overriding typenames.
Cleanup and fix ASM functions. Some of them didn't return properly to C code when called...
Cleanup Makefile again.

svn-id: r21663
2006-04-07 10:38:06 +00:00
Max Horn
9394430ea8 use _gameid instead of _game.features to detect games using ImuseDigital (slightly less clean, but then it's still a hack, and this way we only need to pass around the gameid)
svn-id: r21625
2006-04-05 00:58:08 +00:00
Max Horn
2d10d1960e Use full path qualifiers in #include statements (exception: engines/ can be ommited, at least for now)
svn-id: r21620
2006-04-05 00:18:22 +00:00
Max Horn
bec09d3094 Turned FSList::sort into a generic function which can be applied to anything which implements comparable iterators (like Array, List, or plain C arrays)
svn-id: r21617
2006-04-04 23:55:47 +00:00
Eugene Sandulenko
66d8b85463 Allow symlinks to directories for FS;es with D_TYPE support.
svn-id: r21616
2006-04-04 23:52:56 +00:00
Eugene Sandulenko
004a39b3af Symlinks are also valid files
svn-id: r21615
2006-04-04 23:44:27 +00:00
Travis Howell
194945f2a1 Rename variable in FSList::sort() to avoid conflict with system defines
svn-id: r21612
2006-04-04 23:26:11 +00:00
Eugene Sandulenko
8fa9bd6728 Removed extra exclamation marks in warning() calls as well.
svn-id: r21608
2006-04-04 22:21:10 +00:00
Max Horn
e4930bd96d Don't use HAVE_CONFIG_H / config.h directly, use scummsys.h instead
svn-id: r21605
2006-04-04 21:45:13 +00:00
Max Horn
ac9203415e Some more FS code cleanup
svn-id: r21600
2006-04-04 21:03:17 +00:00
Max Horn
ca6d345220 Possible bug in the Symbian FS code?
svn-id: r21599
2006-04-04 21:02:44 +00:00
Max Horn
e366ed75da oops
svn-id: r21598
2006-04-04 21:01:26 +00:00
Max Horn
112ba72222 Removing more pseudo copy constructors in favor of the standard copy constructor (gee, everybody is copying my bad code, it seems ;-)
svn-id: r21597
2006-04-04 20:54:55 +00:00
Max Horn
bca4dd001f Rewrote sort code to use iterators (means it can be used with any container now, in theory at least)
svn-id: r21596
2006-04-04 20:49:26 +00:00
Max Horn
ebeded36a1 Added comment on why we use getcwd in POSIXFilesystemNode at all
svn-id: r21582
2006-04-03 22:06:42 +00:00
Max Horn
4226aa761d Fix AbstractFilesystemNode::wrap to not call (indirectly) getRoot, just to throw away the result immediately again (which (a) caused a slowdown and (b) a leak, both fixed now)
svn-id: r21581
2006-04-03 21:54:26 +00:00
Max Horn
5595ec5680 Various changes to POSIXFilesystemNode:
- Removed pseudo copy constructor, use the automatically generated one instead.
- Do not always call stat() whenever creating a POSIXFilesystemNode from a path.
- Use lastPathComponent in POSIXFilesystemNode(path) constructor.
- Some further cleanup.

svn-id: r21580
2006-04-03 21:18:24 +00:00
Max Horn
4a54db07a6 To detect specific games, you want to look at the gameid, not the targetname (which can take on arbitrary values)
svn-id: r21567
2006-04-02 20:44:07 +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
Travis Howell
72f4a1c76c Fix console output been redirected under win32 build, due to main changes. Remove NO_CONSOLE, since it is never defined
svn-id: r21554
2006-04-02 13:33:36 +00:00
Max Horn
f8bb142f0b Fixing the X11 & NULL backends by adding main()
svn-id: r21553
2006-04-02 10:01:58 +00:00
Max Horn
2fd027846e Moved AmigaOS 'magic cookie' to sdl.cpp, as it is port specific (porter says he might remove it completly in a future version)
svn-id: r21550
2006-04-02 09:26:51 +00:00
Max Horn
041bc770e8 ps2_fopen uses getGameDataPath -- added FIXME comment that explain how it probably could be fixed, but I'll leave this to somebody who can actually compile & test this port :-)
svn-id: r21548
2006-04-02 02:40:39 +00:00
Max Horn
9b08d8e467 Moved the Win/Symbian specific stdout/stderr redirect code from base/main.cpp to sdl.cpp, where it belongs (considering that it is backend specific code)
svn-id: r21547
2006-04-02 02:23:29 +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
8cdee5a931 Do not #include endian.h in scummsys.h (cuts down deps on endian.h from ~400 to ~250). Many greetings to eriktorbjorn, and have fun recompiling.
svn-id: r21500
2006-03-29 15:59:37 +00:00
Max Horn
9f93e5bb81 Renamed various container isEmpty() methods to empty() to match STL conventions
svn-id: r21472
2006-03-28 09:42:54 +00:00
Travis Howell
a98aea6efd Add kListAllNoRoot type to listDir() to handle recent file class changes, on file system backends which use _isPseudoRoot
svn-id: r21449
2006-03-25 10:39:05 +00:00
Won Star
d0c73b346e Cleanup Makefile.
svn-id: r21410
2006-03-23 03:08:05 +00:00
Won Star
85661bca03 Update port.
* NO SOUND support.
* New asm functions.
* Prepare for MP3 / OGG

svn-id: r21409
2006-03-23 03:02:04 +00:00
Max Horn
99635b6a90 Removed implicit screen updates (see also the discussion on scummvm-devel)
svn-id: r21385
2006-03-19 17:14:43 +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
0a3e4f04e5 Use SDL_GetError in an attempt to display slightly more information about the reason(s) SDL_SetVideoMode failed
svn-id: r21291
2006-03-14 14:37:13 +00:00
Oystein Eftevaag
c3d8674a26 Adds support for building on Intel Macs, using a modified
version of patch 1448395 by Aubin and some of my 
own changes.

Notably:
* Two elements of a struct in backends/midi/quicktime.cpp
needed to be forced to BE.
* NASM set to build Mach-O binaries
* configure now checks for Altivec support on Darwin hosts,
instead of assuming it. Altivec support can also be disabled (not 100% sure if t
his is actually needed, but might be handy for crosscompiling).
* The aliasing of the symbols contained in the .asm files
done on Windows were also needed on MacOS.

Note that while the asm code is properly compiled and linked
in, HQ2/3x support will still not work properly on Intel macs
if NASM is enabled.

svn-id: r21280
2006-03-14 12:18:04 +00:00
Lars Persson
5129635257 Updated build scripts
svn-id: r21182
2006-03-09 15:07:10 +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
Chris Apers
532f38f19f Updated project file with lastest added/removed files from CinE, Gui, Kyra, imuse
svn-id: r21134
2006-03-07 19:24:58 +00:00
Chris Apers
1157cbf842 Fixed invalid event returned with ARM OS5 backend
svn-id: r21132
2006-03-07 19:19:37 +00:00
Chris Apers
44f3879f58 Fixed fight mode shortcut
svn-id: r21113
2006-03-06 20:22:14 +00:00
Eugene Sandulenko
ccbe4ebf92 Update SVN tags
svn-id: r21056
2006-03-04 01:47:40 +00:00
Eugene Sandulenko
233c2a42f9 WIP of maemo port
svn-id: r21055
2006-03-04 01:32:04 +00:00
Lars Persson
9255a7b408 Updated buildfile for new file structure
svn-id: r20989
2006-03-01 12:50:42 +00:00
Lars Persson
0b0848e34c Update buildfiles with CINE settings
svn-id: r20974
2006-02-28 18:59:15 +00:00