16944 Commits

Author SHA1 Message Date
Travis Howell
778a528df3 _noRightClick got reversed in setVerb for FF
svn-id: r21591
2006-04-04 11:28:37 +00:00
Travis Howell
cc75c68090 Add skipSpeech difference in FF
svn-id: r21590
2006-04-04 11:06:48 +00:00
Travis Howell
49dc2622dd Add verb codes differences in FF
svn-id: r21589
2006-04-04 10:12:22 +00:00
Torbjörn Andersson
cb513de999 Added stub for FF right-clicking.
svn-id: r21588
2006-04-04 08:50:35 +00:00
Travis Howell
f5943d7e7f Adjust clear/restore window for FF
svn-id: r21587
2006-04-04 07:50:04 +00:00
Travis Howell
c21b81f5e5 More work on oracle in FF
svn-id: r21586
2006-04-04 07:34:48 +00:00
Torbjörn Andersson
ad5cac9eb4 Work around glitchy drawing of the Oracle icon, after discussing with Kirben.
But it's still unclear *why* the first 16 bytes should be skipped; hence the
Big Scary Comment (tm).

svn-id: r21585
2006-04-04 06:25:50 +00:00
Travis Howell
69d3fb7ef8 Remove debug left over
svn-id: r21584
2006-04-04 02:41:45 +00:00
Travis Howell
0ac5739ae2 More work on oracle in FF
svn-id: r21583
2006-04-04 01:38:53 +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
Travis Howell
3627056116 Add initial support for oracle icons in FF
svn-id: r21579
2006-04-03 14:40:07 +00:00
Max Horn
41f71238f2 Removing outdated and obsolete comment
svn-id: r21578
2006-04-03 12:11:04 +00:00
Max Horn
b9acc7a285 Since GF_HE_CURSORLESS is gone now, we can remove this special case for 'lost'
svn-id: r21577
2006-04-03 12:09:54 +00:00
Travis Howell
0e9b4ab17c GF_HE_CURSORLESS feature flag not required, since HE games always set a default cursor too.
svn-id: r21576
2006-04-03 11:35:02 +00:00
Max Horn
9f06a3bde6 Added variant string for some HE games
svn-id: r21574
2006-04-03 11:12:26 +00:00
Torbjörn Andersson
a55ebd5fb2 Merged d_draw.cpp and rdwin.cpp (what little remained of them) into screen.cpp.
svn-id: r21573
2006-04-03 09:54:05 +00:00
Max Horn
4df2948902 cleanup
svn-id: r21572
2006-04-02 21:38:36 +00:00
Max Horn
214c01d15d Set gDebugLevel in a single unified spot, instead of two different places
svn-id: r21571
2006-04-02 21:32:23 +00:00
Max Horn
29858dadcd Treat 'targes' like the other command line 'commands'
svn-id: r21570
2006-04-02 21:28:01 +00:00
Max Horn
7b63eadb50 Move handling of --list-targets and --list-games to a later point (after plugin & config file loading), to make them work properly again.
svn-id: r21569
2006-04-02 21:06:49 +00:00
Max Horn
ec432361d5 Process the command line args before passing them to GUI::Actions::init (so that _targetName & _gameid are set)
svn-id: r21568
2006-04-02 20:49:03 +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
92ad99a88c Compute the value GameDetector::_gameid *immediately* after _targetName has been set (this ensures that both are always in sync)
svn-id: r21566
2006-04-02 20:43:36 +00:00
Max Horn
5e4c6c76b1 Fixed '-f BAR' command line argument style (as opposed to '-fBAR' and '-foo=BAR')
svn-id: r21565
2006-04-02 20:29:54 +00:00
Max Horn
f600fd973a Use the new command line parsing code to handle --config and --debugflags, too
svn-id: r21564
2006-04-02 20:27:56 +00:00
Max Horn
004ca16de4 Split GameDetector::parseCommandLine into a static parseCommandLine method which returns a StringMap with all settings, and a non-static parseCommandLine method which interprets the StringMap returned by parseCommandLine.
svn-id: r21563
2006-04-02 20:11:50 +00:00
Torbjörn Andersson
80b3f9217d Don't try to copy str to _talkBuffer if str is pointing to _talkBuffer. Apart
from being unnecessary, the result of strcpy() on overlapping memory areas is
unpredictable.

svn-id: r21562
2006-04-02 18:58:07 +00:00
Max Horn
3686733595 Added missing backslash, oops
svn-id: r21561
2006-04-02 18:02:16 +00:00
Max Horn
9339e651aa - The command line parser now doesn't work in reverse order anymore.
- Changed the usage string to a very short message; the old usage string
  now is only printed upon help (this matches the behavior of many other
  tools out there).
- Continued to modify GameDetector::parseCommandLine in such a way that it
  soon will be possible to use it w/o immediately storing stuff into ConfMan.
- Slightly reduced code duplication for bool option parsing.

svn-id: r21560
2006-04-02 17:51:04 +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
a4d075dad3 Only include gui/launcher.h if it is used; cleanup
svn-id: r21552
2006-04-02 09:56:11 +00:00
Max Horn
32de344111 Move gDebugLevel to common/util.cpp (where most other debug() related stuff already is)
svn-id: r21551
2006-04-02 09:31:06 +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
a30d832ee0 Removed built-in endian/alignment verifier (it's original purpose is mostly gone now that we have a configure script detecting endianess and more)
svn-id: r21549
2006-04-02 09:23:18 +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
Johannes Schickel
70cc7b8c26 - changed standard inactive dialog effect to dim with 30% instead of luminance
svn-id: r21546
2006-04-02 01:08:16 +00:00
Max Horn
8a8bdcd1f8 Moved all debug functions to from main.cpp to util.cpp
svn-id: r21545
2006-04-02 00:56:53 +00:00
Johannes Schickel
d0b8efd575 - moves some code in ThemeNew.cpp (calcGradient and calcAlpha to the bottom)
- added possibility to use a shading effect on inactive dialogs (luminance and dim are builtin, and special ablility to specifiy a own expression, evaluated via the evaluator)
- adds also a color cache (atm it's generated on startup)
- uses luminance effect by default
- bumps theme config version to 7

svn-id: r21544
2006-04-02 00:56:21 +00:00
Max Horn
b2a5647887 Removing undocumented Allegro/Qtopia port stuff -- if anybody is working on either port, feel free to re-add it, but this time, document it and make sure it's clear how to build that port
svn-id: r21543
2006-04-02 00:18:33 +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
Travis Howell
a2c4795f32 Update gameDataPath() calls in engine, to fix compile
svn-id: r21541
2006-04-01 23:31:51 +00:00
Max Horn
3de55677b9 Typo
svn-id: r21540
2006-04-01 22:31:57 +00:00
Max Horn
8b1c432bac Switch ConfigManager to use HashMap (seems to work fine over here, but an older version killed my scummvm.ini, so use at your own risk (not that you really have a choice. I just like being evil *g*))
svn-id: r21539
2006-04-01 22:31:45 +00:00
Torbjörn Andersson
c4955466fd Simplified loading of startup.inf
svn-id: r21538
2006-04-01 21:56:10 +00:00