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