Commit Graph

1549 Commits

Author SHA1 Message Date
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