Johannes Schickel
690b88f982
Renamed gui/newgui.cpp -> gui/GuiManager.cpp and gui/newgui.h -> gui/GuiManager.h
...
svn-id: r35668
2009-01-02 03:21:40 +00:00
Max Horn
6510226216
Renamed NewGui to GuiManager
...
svn-id: r35544
2008-12-25 23:55:36 +00:00
Jordi Vilalta Prat
b1999a2a16
Fixed indentation and removed whitespaces at the end of line
...
svn-id: r35481
2008-12-22 11:22:15 +00:00
Matthew Hoops
a5721dc52d
The demo mode flag should also be compiled if Groovie is compiled in
...
svn-id: r35064
2008-11-14 22:37:32 +00:00
Johannes Schickel
5a0556f09c
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
...
svn-id: r35062
2008-11-14 22:08:10 +00:00
Max Horn
bb87d39424
Patch #2271425 : Groovie engine
...
svn-id: r35060
2008-11-14 21:32:20 +00:00
Max Horn
4e51c62e39
Added DISABLE_COMMAND_LINE switch
...
svn-id: r35045
2008-11-13 12:45:35 +00:00
Gregory Montoir
4a5d4ba94d
add initial support for 'Bud Tucker in Double Trouble'
...
svn-id: r34990
2008-11-10 20:38:54 +00:00
Max Horn
0508fec8a8
Pushing down some header deps
...
svn-id: r34936
2008-11-08 01:30:32 +00:00
Nicola Mettifogo
84b0d3d2f9
Added a destroy() call for SearchManager at the end of scummvm_main.
...
svn-id: r34929
2008-11-07 13:48:51 +00:00
Max Horn
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
f32be87633
Turned enum PluginError into Common::Error, which in the future is to be used in more places. Help with this is highly welcome
...
svn-id: r34906
2008-11-05 17:24:56 +00:00
Travis Howell
85174e8504
Add game path with a depth of level 4, to prevent regressions when loading files in HE arcade games again.
...
svn-id: r34842
2008-10-22 23:30:21 +00:00
Max Horn
f881b95ddd
Removed File::addDefaultDirectoryRecursive, tweaked SearchMan API slightly
...
svn-id: r34836
2008-10-22 17:08:17 +00:00
Johannes Schickel
649c18d565
Fix for bug #1960518 "ALL: --list-saves ignores custom paths".
...
svn-id: r34832
2008-10-21 16:01:06 +00:00
Max Horn
fe39d4f507
Merged revisions 34656-34661,34663-34664,34671-34672,34674-34676,34678-34686,34688-34689,34691-34698,34700-34705,34707-34713,34715-34722,34725 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
........
r34656 | eriktorbjorn | 2008-09-27 19:25:40 +0200 (Sa, 27 Sep 2008) | 2 lines
Fixed typos.
........
r34657 | eriktorbjorn | 2008-09-27 19:47:22 +0200 (Sa, 27 Sep 2008) | 2 lines
Allow quitting or returning to the launcher while cutscenes are playing.
........
r34658 | eriktorbjorn | 2008-09-27 19:51:22 +0200 (Sa, 27 Sep 2008) | 2 lines
Slight simplification of last commit.
........
r34659 | fingolfin | 2008-09-27 20:32:01 +0200 (Sa, 27 Sep 2008) | 1 line
Modified Common::SearchSet to take signed integer priorities, for convenience (so that one can add archives with less-than-default priority)
........
r34660 | fingolfin | 2008-09-27 20:34:24 +0200 (Sa, 27 Sep 2008) | 1 line
Fixed a nasty bug in SearchManager::addDirectory; made the 'char' constructor of Common::String explicit, to avoid such bugs in the future
........
r34661 | drmccoy | 2008-09-27 22:04:04 +0200 (Sa, 27 Sep 2008) | 2 lines
Added a spanish floppy version of Lost in Time, as supplied by goodoldgeorg in bug report #2105220
........
r34663 | fingolfin | 2008-09-28 01:00:46 +0200 (So, 28 Sep 2008) | 1 line
Changed Common::File to use SearchMan
........
r34664 | fingolfin | 2008-09-28 01:27:01 +0200 (So, 28 Sep 2008) | 1 line
SCUMM: Use FilesystemNode::openForReading instead of Common::File::open(FilesystemNode) in the detector
........
r34671 | john_doe | 2008-09-28 22:02:01 +0200 (So, 28 Sep 2008) | 1 line
Return 32000 in sfGetCdTime instead of 0; this fixes the Manhole intro/credits (until the function is actually implemented)
........
r34672 | sev | 2008-09-28 23:07:41 +0200 (So, 28 Sep 2008) | 2 lines
Add Italian C64 Zak
........
r34674 | sev | 2008-09-28 23:53:14 +0200 (So, 28 Sep 2008) | 2 lines
Fix bug #2043489 : DRASCULA: Cannot disable speech
........
r34675 | sev | 2008-09-29 00:07:16 +0200 (Mo, 29 Sep 2008) | 3 lines
- Renamed withVoices to _subtitlesDisabled as it reflect the true meaning.
- Allowed to disable subtitles from options dialogs including RTL.
........
r34676 | sev | 2008-09-29 00:19:11 +0200 (Mo, 29 Sep 2008) | 2 lines
Use better "silence" without clicks when speech is disabled.
........
r34678 | fingolfin | 2008-09-29 12:29:01 +0200 (Mo, 29 Sep 2008) | 1 line
Added FIXME to GP2x port
........
r34679 | fingolfin | 2008-09-29 12:30:31 +0200 (Mo, 29 Sep 2008) | 1 line
Add priority parameter to the SearchMan API
........
r34680 | fingolfin | 2008-09-29 12:32:06 +0200 (Mo, 29 Sep 2008) | 1 line
File::open no longer falls back to searching the current dir (if this causes any regressions, please report them; don't work around them, don't revert this change, without discussing it first)
........
r34681 | fingolfin | 2008-09-29 12:49:36 +0200 (Mo, 29 Sep 2008) | 1 line
Don't subclass ArjFile from Common::File (there seems to be no good reason for it). BTW, this code is an abomination and should be replaced by an Archive/SearchSet approach
........
r34682 | fingolfin | 2008-09-29 13:01:25 +0200 (Mo, 29 Sep 2008) | 1 line
Added const qualifiers
........
r34683 | fingolfin | 2008-09-29 13:02:11 +0200 (Mo, 29 Sep 2008) | 1 line
SCUMM HE: Fixed leak in Win32ResExtractor::extractResource_, use _filename instead of File::name
........
r34684 | fingolfin | 2008-09-29 13:03:10 +0200 (Mo, 29 Sep 2008) | 1 line
Added const qualifiers
........
r34685 | fingolfin | 2008-09-29 13:07:39 +0200 (Mo, 29 Sep 2008) | 1 line
Don't use File::name() needlessly (i.e. if you still know which file you just opened :)
........
r34686 | cyx | 2008-09-29 21:09:56 +0200 (Mo, 29 Sep 2008) | 1 line
add constructor to SearchSet::Node for proper init of structure members with gcc 3.4.x (see tracker items #2120595 , #2106292 )
........
r34688 | cyx | 2008-09-29 22:08:26 +0200 (Mo, 29 Sep 2008) | 1 line
restrict _heXmapNum to HE versions, should fix #2135822
........
r34689 | eriktorbjorn | 2008-09-29 22:40:58 +0200 (Mo, 29 Sep 2008) | 4 lines
Since no one has come up with any better suggestion... this should fix #2123258
("COMI: Crash after video (SAN) play"). The eos() function won't return true
until we've tried to read *past* the end of the stream.
........
r34691 | tanoku | 2008-09-30 00:29:07 +0200 (Di, 30 Sep 2008) | 1 line
Ported ZipArchive::getAllNames() implementation from GUI branch.
........
r34692 | fingolfin | 2008-09-30 11:07:03 +0200 (Di, 30 Sep 2008) | 1 line
Order alphabetically
........
r34693 | fingolfin | 2008-09-30 11:08:17 +0200 (Di, 30 Sep 2008) | 1 line
SAGA: Removed patchesCount from SAGAGameDescription
........
r34694 | fingolfin | 2008-09-30 11:09:39 +0200 (Di, 30 Sep 2008) | 1 line
SCUMM HE: Use FilesystemNode::openForReading() instead of 'new Common::File' (didn't cover all instances, though)
........
r34695 | fingolfin | 2008-09-30 11:11:25 +0200 (Di, 30 Sep 2008) | 1 line
SAGA: Forgot to commit saga.h
........
r34696 | fingolfin | 2008-09-30 11:12:02 +0200 (Di, 30 Sep 2008) | 1 line
Added multiple new open() methods to Common::File, which make it possible to use this class as a generic convenience wrapper around all kinds of SeekableReadStream; also renamed the name() method to the less confusing getName()
........
r34697 | fingolfin | 2008-09-30 13:33:43 +0200 (Di, 30 Sep 2008) | 1 line
cleanup
........
r34698 | tanoku | 2008-09-30 13:53:37 +0200 (Di, 30 Sep 2008) | 1 line
Fixed functionality of ZipArchive::getAllNames(). Now it expects a possibly non-empty string list and returns the amount of new filenames added to it.
........
r34700 | fingolfin | 2008-09-30 14:27:38 +0200 (Di, 30 Sep 2008) | 1 line
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
........
r34701 | fingolfin | 2008-09-30 14:37:28 +0200 (Di, 30 Sep 2008) | 1 line
cleanup
........
r34702 | fingolfin | 2008-09-30 14:38:44 +0200 (Di, 30 Sep 2008) | 1 line
AdvancedDetector: Do not (ab)use paths to keep track of files, rather, use FSNodes -- partial (?) fix for bug #2137680
........
r34703 | fingolfin | 2008-09-30 14:58:27 +0200 (Di, 30 Sep 2008) | 1 line
SAGA: Some code cleanup
........
r34704 | fingolfin | 2008-09-30 14:59:29 +0200 (Di, 30 Sep 2008) | 1 line
SKY: Fix detector to not (ab)use FSNode::getPath; if you want to open a FSNode, just pass it to File::open
........
r34705 | thebluegr | 2008-09-30 15:19:14 +0200 (Di, 30 Sep 2008) | 1 line
Fixed crash when starting IHNM, a regression from commit #34693
........
r34707 | fingolfin | 2008-09-30 17:42:19 +0200 (Di, 30 Sep 2008) | 1 line
Fixing ConfigManager::loadConfigFile
........
r34708 | fingolfin | 2008-09-30 18:23:35 +0200 (Di, 30 Sep 2008) | 1 line
AGI: Another case where it is better to use FSNodes directly, instead of converting them to path strings
........
r34709 | fingolfin | 2008-09-30 18:34:38 +0200 (Di, 30 Sep 2008) | 1 line
Modified FilePluginProvider to use FSNodes (instead of raw filenames / paths) in its API
........
r34710 | fingolfin | 2008-09-30 18:38:46 +0200 (Di, 30 Sep 2008) | 1 line
AGI: Got rid of yet another unwarranted use of FSNode::getPath
........
r34711 | fingolfin | 2008-09-30 18:53:04 +0200 (Di, 30 Sep 2008) | 1 line
AGI: Simplify WagFileParser by not reading data into a memory stream first (this was there to improve performance on systems with slow seeking; those systems should use another approach, see scummvm-devel)
........
r34712 | thebluegr | 2008-09-30 18:55:10 +0200 (Di, 30 Sep 2008) | 1 line
Fix crash when starting ITE, a regression from commit #34705
........
r34713 | fingolfin | 2008-09-30 19:09:41 +0200 (Di, 30 Sep 2008) | 1 line
Fix ThemeBrowser to use FSNodes, not getPath()
........
r34715 | Kirben | 2008-10-02 16:41:50 +0200 (Do, 02 Okt 2008) | 1 line
Correct HE version for Putt-Putt Enters the Race (French/Windows).
........
r34716 | fingolfin | 2008-10-02 18:58:59 +0200 (Do, 02 Okt 2008) | 1 line
Renamed FilesystemNode -> FSNode
........
r34717 | fingolfin | 2008-10-02 19:08:15 +0200 (Do, 02 Okt 2008) | 1 line
cleanup
........
r34718 | fingolfin | 2008-10-02 19:17:18 +0200 (Do, 02 Okt 2008) | 1 line
Ignore String::deleteLastChar when called on an empty string
........
r34719 | fingolfin | 2008-10-02 19:20:21 +0200 (Do, 02 Okt 2008) | 1 line
Fix for bug #2142743 : Assertion on clicking "Theme" in Options
........
r34720 | fingolfin | 2008-10-02 19:48:01 +0200 (Do, 02 Okt 2008) | 7 lines
Engine class changed:
- Moved initCommonGFX() && GUIErrorMessage() out of class Engine
- got rid of the _autosavePeriod member (this prevented users from
changing the autosave period during runtime)
- Got rid of an evil 'using GUI::Dialog' statement
- Clarified some Doxygen comments
........
r34721 | fingolfin | 2008-10-02 19:52:29 +0200 (Do, 02 Okt 2008) | 1 line
Add the current dir to the global SearchSet, i.e. to SearchMan (this should fix the problems on Windows, and maybe other systems, see 'bug' #2137680 )
........
r34722 | fingolfin | 2008-10-02 19:55:08 +0200 (Do, 02 Okt 2008) | 1 line
Forgot to mention yet another Engine class change: mainMenuDialog -> openMainMenuDialog; and also forgot to commit this related file :/
........
r34725 | fingolfin | 2008-10-02 20:11:40 +0200 (Do, 02 Okt 2008) | 1 line
typo
........
svn-id: r34730
2008-10-03 14:25:03 +00:00
Max Horn
c7fde102e3
Renamed FilesystemNode -> FSNode
...
svn-id: r34716
2008-10-02 16:58:59 +00:00
Max Horn
73b833042e
Modified FilePluginProvider to use FSNodes (instead of raw filenames / paths) in its API
...
svn-id: r34709
2008-09-30 16:34:38 +00:00
Stephen Kennedy
a7bb113e83
Merged revisions 33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621,33623,33626-33627,33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716,33719,33721-33723,33725-33727,33729-33730,33733,33736,33742,33754,33756,33758,33761,33763,33766,33777,33781-33788,33790,33792-33793,33795,33797,33805,33807-33812,33815-33817,33819,33822,33826,33829,33837,33839,33844,33847,33858-33861,33864,33871-33873,33875,33877-33879,33886,33889-33892,33894,33896,33900,33902-33903,33919,33928,33930,33932-33936,33938-33940,33942-33943,33948,33950,33953,33967,33973,33976,33978,33980,33985,33991,33993,33999-34000,34006,34009,34011,34013,34015,34019,34021-34023,34025,34027-34028,34030,34032-34034,34036,34038-34039,34041,34046-34048,34050-34055,34057,34059-34065,34067,34072,34074,34076,34078-34081,34084,34086-34087,34089-34090,34093,34096-34102,34104,34107,34113,34116,34119,34122,34124,34126,34128,34131-34132,34135,34138,34141,34144,34146,34149,34152-34154,34156-34157,34160,34163-34164,34169,34173,34179-34194,34196-34198,34200-34201,34205-34206,34208-34217,34219-34225,34227-34228,34234-34237,34239-34249,34251-34279,34281-34284,34286-34288,34290-34320,34323-34324,34326,34328-34329,34332,34334,34336,34338-34340,34343-34353,34356-34357,34359-34371,34373,34375,34378,34381-34382,34384-34385,34389-34391,34393-34394,34396-34397,34399-34405,34407-34409,34411,34413,34415,34417-34420,34423-34426,34428-34438,34440-34454,34456-34458,34460,34462-34469,34472,34474,34479-34481,34483-34498,34501-34505,34508,34511-34518,34520-34524,34526-34563,34566-34569,34571-34590,34592,34595-34599,34602-34603,34605,34613-34615,34617,34619-34624,34627-34628,34630-34639,34642-34649 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r34654
2008-09-26 21:53:08 +00:00
Johannes Schickel
7166d43774
Fix for bug #2120780 "GUI: gui-theme command-line option ignored", '-f' and '-g' command line switch behavior.
...
svn-id: r34637
2008-09-23 16:40:41 +00:00
Max Horn
a6dd4b7d4d
Moved base/game.* to engines/game.*
...
svn-id: r34589
2008-09-17 17:31:29 +00:00
Johannes Schickel
3739662b75
Added support for SCUMM savestates date/time and playtime info in the launcher load dialog.
...
svn-id: r34583
2008-09-16 14:56:02 +00:00
Johannes Schickel
259d87a8a6
Added "querySaveMetaInfos" to MetaEngine.
...
-> Allows easy addition of save state specific infos like playtime, save date atc.
-> Removed MetaEngine::loadThumbnailFromSlot, superseded by meta infos
-> Changed SCUMM / KYRA to implement the newly added functionallity
-> Removed hack in KYRAs listSavefiles, which is now handled via meta infos
svn-id: r34581
2008-09-16 14:10:55 +00:00
Johannes Schickel
78d7a276cf
Fix for bug #2089275 : "GUI: Returning to launcher may trigger an error".
...
svn-id: r34532
2008-09-14 18:59:43 +00:00
Nicola Mettifogo
83e09d1aa4
Documented commit 34450 (game path searched recursively).
...
svn-id: r34456
2008-09-08 23:24:20 +00:00
Nicola Mettifogo
fbc62e56fa
Made searching the game path recursive (with the default depth of 4 levels). This is a temporary fix to make some games work, until we decide what to do with the file/directory searching.
...
svn-id: r34450
2008-09-08 14:38:07 +00:00
Lars Persson
2c36f00ff2
Remove usage of main_features.inl and the file
...
svn-id: r34361
2008-09-05 18:45:04 +00:00
Max Horn
d3642080de
Moved check for shouldRTL() from engines to scummvm_main
...
svn-id: r34310
2008-09-03 16:56:40 +00:00
Max Horn
531bcf847c
Moved FilesystemNode / FSList to namespace Common; also got rid of some 'typedef Common::String String;' name aliases
...
svn-id: r34302
2008-09-03 11:22:51 +00:00
Max Horn
4d1df20cfd
If launching scummvm with no game selected, clear the transient domain (and hence the effect of all command line args) before opening the launcher (may cause regressions)
...
svn-id: r34293
2008-09-03 08:57:39 +00:00
Max Horn
027ae0a6f6
First part of GSoC2008 RTL branch merge
...
svn-id: r34241
2008-09-01 17:30:03 +00:00
Max Horn
31320430de
Partial commit of patch #2012839 : Atari Patch for adding Native MIDI and Fix Compile
...
svn-id: r34194
2008-08-27 18:52:21 +00:00
Kostas Nakos
2b2bfc04c1
patch 1984130: Add Tremolo info
...
svn-id: r34138
2008-08-25 08:11:52 +00:00
Stephen Kennedy
d92909203b
- proper init of virtual keyboard now implemented (involved added EventManager::init() which is called after screen has been initialised)
...
- changed HardwareKey / Action id field to an array of 4 chars instead of int32. Means that the keymap key/value pairs in config file are more readable.
svn-id: r33986
2008-08-18 10:07:11 +00:00
Christopher Page
20f0bb7a40
Added documentation to the README, also added --list-saves to the HELP_STRING in commandline.cpp
...
svn-id: r33922
2008-08-16 02:57:30 +00:00
Christopher Page
ce3d1e1a7d
Merged revisions 33632-33633,33635,33637,33639-33640,33642-33645,33648,33654-33655,33664,33667-33670,33673-33674,33678,33682,33686-33691,33693,33696,33698,33700,33703,33708,33710,33712-33714,33716 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33720
2008-08-09 19:03:29 +00:00
Torbjörn Andersson
4e66938e8c
Committed my patch #2026097 ("ALSA: Try both 65:0 and 17:0 by default"), with a
...
slight modification to the README changes. (I don't know how to interpret all
the output from aconnect, so I'm only documenting "the most important bit".)
svn-id: r33648
2008-08-05 21:43:10 +00:00
Christopher Page
4198ee9623
Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33624
2008-08-04 22:34:07 +00:00
Max Horn
92d6ee3d76
Moved ConfMan.registerDefault calls for savepath to DefaultSaveFileManager (eventually, should be pushed into backends/platform/ code)
...
svn-id: r33614
2008-08-04 17:17:37 +00:00
Max Horn
df6e8e8889
Added convenience accessor method GameDescriptor::preferredtarget
...
svn-id: r33414
2008-07-29 16:16:15 +00:00
Max Horn
e5c09b018a
BASE: in runGame, do not set addDefaultDirectory() the game path before invoking createInstance() -- detectors must use FSNode for detection, not rely on File::open
...
svn-id: r33389
2008-07-29 00:54:28 +00:00
Max Horn
e1520c6462
Changed output of --test-detector: multiple hits with same gameid now only are a warning, not a failure
...
svn-id: r33387
2008-07-29 00:49:44 +00:00
Lars Persson
2f0a40a697
Fixed the Symbian default savepath, but adding the needed \ at the end and now as a string.
...
svn-id: r33347
2008-07-27 21:37:47 +00:00
Lars Persson
e93fb5fe80
Fixed the Symbian default savepath, but adding the needed \ at the end.
...
svn-id: r33345
2008-07-27 21:35:39 +00:00
Max Horn
c441c5261f
Added Tinsel engine to main repos (no news item for it ON PURPOSE)
...
svn-id: r33230
2008-07-23 09:02:47 +00:00
Christopher Page
09f4fd946e
Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33183
2008-07-21 22:46:39 +00:00
Eugene Sandulenko
f82cf58780
This is 0.13.0svn now
...
svn-id: r33160
2008-07-21 05:09:29 +00:00
Max Horn
22ab05aa8a
Fixed nasty bug in findPlainGameDescriptor -- contrary to is documentation, it would not return 0 upon failure to find a match, but rather a (0,0) record.
...
svn-id: r33136
2008-07-20 16:28:06 +00:00
Max Horn
4ab211f673
Removed -Wundef from the default list of compiler flags, and changed PLUGIN_ENABLED_DYNAMIC to not use 'defined()', thus avoiding compiler problems on e.g. BeOS
...
svn-id: r33114
2008-07-19 21:42:31 +00:00
Christopher Page
7f480ac571
Quit and RTL code is more modular now. EVENT_RTL no longer sets _shouldQuit, shouldQuit is only set if there's an EVENT_QUIT. EVENT_RTL and EVENT_QUIT are completely separate from each other. Engine::quit() method now checks both _shouldQuit and _shouldRTL to determine if the engine should exit. There is no longer a need for resetQuit(), so it's removed
...
svn-id: r33082
2008-07-16 04:22:56 +00:00
Christopher Page
d2e8d4831e
Merged revisions 32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33051
2008-07-14 00:10:09 +00:00
Christopher Page
a4f56de13a
Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
...
svn-id: r32952
2008-07-07 22:34:45 +00:00
Christopher Page
f878820bbe
Created Global Main Menu Dialog. Made a uniform _quit flag for engines. So far agi, agos, and cine are now using the new _quit flag.
...
svn-id: r32770
2008-06-24 21:15:30 +00:00
Max Horn
c67b914376
Disabled return to launcher on trunk again
...
svn-id: r32745
2008-06-22 10:26:18 +00:00
Christopher Page
37a7a572cf
Merged revisions 32668-32669,32676,32687-32689,32693,32695,32698-32701,32705 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32720
2008-06-16 19:06:48 +00:00
Travis Howell
91d3ea3135
Revert last commit.
...
svn-id: r32700
2008-06-14 11:23:29 +00:00
Travis Howell
2e3077b3cb
Disable drawObject type 0x41, which is currently causing frequent crashes.
...
svn-id: r32699
2008-06-14 11:17:16 +00:00
Jordi Vilalta Prat
177993b145
Renamed MIDI plugins to Music plugins
...
svn-id: r32693
2008-06-13 14:30:47 +00:00
Christopher Page
0cbfc3a9d1
Merged revisions 32348-32349,32351-32356,32358-32411,32413-32441,32443-32445,32449,32453-32454,32456-32457,32459-32462,32464-32465,32467-32492,32494-32503 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32505
2008-06-02 21:36:45 +00:00
Filippos Karapetis
c9fd5fef76
Added a note about the MSVC quirk with the spaces around ENABLE_##ID
...
svn-id: r32351
2008-05-28 20:31:01 +00:00
Christopher Page
8297ead267
Merged revisions 32124,32126-32128,32131,32133,32135-32144,32146-32153,32155-32163,32165-32168,32170-32173,32175-32179,32181-32191,32193-32202,32204-32205,32209-32214,32216,32218,32220-32235,32237-32266,32269-32271,32273-32290,32292-32295,32297-32317,32319-32323,32325-32328,32330-32331,32334-32338,32343-32347 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32350
2008-05-28 20:30:20 +00:00
Filippos Karapetis
057af1000f
Removed an MSVC specific hack, after discussing with jvprat. It seems that MSVC was trying to add the parenthesis after ENABLE_##ID to the check...
...
svn-id: r32347
2008-05-28 19:45:04 +00:00
Johannes Schickel
86d0dcabde
Should fix compiling erros.
...
svn-id: r32289
2008-05-26 12:43:01 +00:00
Johannes Schickel
a6d591b947
Replaced a loop in PluginManger::loadPlugins with Common::for_each as a typical usage example.
...
svn-id: r32286
2008-05-26 12:12:51 +00:00
Jordi Vilalta Prat
2862a30dac
Fixed some code formatting thanks to LordHoto
...
svn-id: r32275
2008-05-26 00:28:48 +00:00
Max Horn
6af9fcc579
Made the startup log output a bit more informative
...
svn-id: r32243
2008-05-24 14:12:32 +00:00
Chris Apers
770f0ad619
Use default save game class
...
svn-id: r32227
2008-05-23 12:59:18 +00:00
Max Horn
5204d012f6
Add a tiny TODO entry for graphics scaler plugins
...
svn-id: r32194
2008-05-20 15:54:27 +00:00
Christopher Page
cbe03226a4
Merged revisions 31972-31973,31975-31981,31984-31989,31993-31994,31996-32014,32016-32020,32022-32025,32027-32028,32030,32034,32037-32038,32040-32058,32060-32087,32089-32093,32095-32123 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32125
2008-05-14 20:37:18 +00:00
Jordi Vilalta Prat
b35941c3c2
Added plugin priority so there's just one plugin that provides a module functionality.
...
svn-id: r32121
2008-05-14 17:26:05 +00:00
Jordi Vilalta Prat
eb6c809d2b
- Added more information (ID and capabilities) to the MIDI drivers
...
- Added the MidiPlugin interface to the remaining MIDI drivers
- Added an initial MidiManager to handle the MIDI plugins (just static plugins by now)
svn-id: r32117
2008-05-14 14:56:29 +00:00
Jordi Vilalta Prat
a392bc4b0e
Taken care of FilePluginProvider's FIXMEs
...
svn-id: r32085
2008-05-13 13:24:49 +00:00
Max Horn
f7a682edf9
Some more Doxygen comments, as well as some FIXMEs/TODOs
...
svn-id: r32084
2008-05-13 11:00:25 +00:00
Max Horn
2bb39e591f
Moved the engine plugin code to engines/metaengine.h; added/clarified/corrected various Doxygen comments for the plugin system
...
svn-id: r32083
2008-05-13 10:41:32 +00:00
Jordi Vilalta Prat
fe58f0ee4b
- Added operator-> to Plugin subclasses so they don't have to reimplement the PluginObject subclass interfaces (thanks to Fingolfin for suggesting it)
...
- Added the PluginSubclass template to help creating Plugin subclasses
svn-id: r32082
2008-05-13 09:30:23 +00:00
Jordi Vilalta Prat
9ba353b9d8
Keep separated arrays for each type of plugin
...
svn-id: r32046
2008-05-12 01:26:43 +00:00
Jordi Vilalta Prat
2c9968fe80
- Added an engine plugin manager and moved engine specific functionality into it
...
- base/plugins.* reorganization
svn-id: r32045
2008-05-12 00:26:29 +00:00
Christopher Page
307ef24582
Modified game loop to return to launcher, codeblocks layouts update 1.5->1.6
...
svn-id: r31992
2008-05-10 23:44:46 +00:00
Jordi Vilalta Prat
420d376a90
Added the option to specify the custom path for loading plugins
...
svn-id: r31960
2008-05-09 01:58:12 +00:00
Filippos Karapetis
c396694f3b
Added a temporary hack to get the engine plugins working under MSVC
...
svn-id: r31904
2008-05-06 17:30:52 +00:00
Jordi Vilalta Prat
38a8aa516e
Allow static and dynamic plugins to be used at the same time
...
svn-id: r31888
2008-05-06 03:00:26 +00:00
Jordi Vilalta Prat
3f44977885
Added support to load plugins from different directories and the ability to specify the default directory from configure.
...
svn-id: r31816
2008-05-02 14:30:06 +00:00
Johannes Schickel
bba003e53a
Fixed segfault when trying to start invalid gameid from command line.
...
svn-id: r31731
2008-04-26 10:21:53 +00:00
Filippos Karapetis
8dea07eeac
Added the m4 and made plugins
...
svn-id: r31602
2008-04-20 14:55:41 +00:00
Max Horn
9287ea8376
Patch #1926787 : small memory leak and cleanup
...
svn-id: r31261
2008-03-27 11:06:29 +00:00
Max Horn
b0c6a12c81
Modified Patch #1925352 : Memory leak fixes
...
svn-id: r31244
2008-03-26 19:29:33 +00:00
Max Horn
88bb567e18
Merged lots of _mixer->isReady() warnings into a single one in Engine constructor
...
svn-id: r30871
2008-02-15 17:01:35 +00:00
Max Horn
98c661d70f
Removed unused #include
...
svn-id: r30870
2008-02-15 16:50:24 +00:00
Jordi Vilalta Prat
e3852c92a7
Remove undesired spaces and an old TODO
...
svn-id: r30827
2008-02-08 01:45:46 +00:00
Jordi Vilalta Prat
00987db3a9
Implemented plugin versioning
...
svn-id: r30826
2008-02-08 01:02:25 +00:00
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +00:00
Eugene Sandulenko
bf4340d562
revert accidental commit
...
svn-id: r30801
2008-02-05 15:35:17 +00:00
Eugene Sandulenko
9f6282defc
Fix compilation
...
svn-id: r30800
2008-02-05 15:33:01 +00:00
Jordi Vilalta Prat
e4ab5dd339
Change MetaEngine references to PluginObject where possible to make its semantics more generic.
...
svn-id: r30789
2008-02-04 18:38:22 +00:00
Filippos Karapetis
468e9cb056
Surface is a struct, not a class
...
svn-id: r30788
2008-02-04 17:04:03 +00:00
Max Horn
3cd1e60e7a
Moved common code from Plugin subclasses to class Plugin itself
...
svn-id: r30787
2008-02-04 13:14:52 +00:00
Max Horn
5fb7f7a4d6
Commited updated version of my own patch #1868402 : Basic savestate plugin API
...
svn-id: r30786
2008-02-04 10:15:21 +00:00
Torbjörn Andersson
0c6cd983dc
Replaced GUI dialog with warning. We don't have any screen to draw on yet.
...
svn-id: r30782
2008-02-03 21:15:48 +00:00
Max Horn
8a73356a2d
Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
...
svn-id: r30780
2008-02-03 18:56:47 +00:00
Oystein Eftevaag
deb6baf0db
Migration code for users updating to the 1.1.3 iPhone firmware, which has a different directory structure and permission setup
...
svn-id: r30761
2008-02-03 12:36:51 +00:00
Max Horn
5dfabb24d0
Moved enum PluginError from base/plugins.h to common/error.h
...
svn-id: r30723
2008-02-01 23:36:45 +00:00
Jordi Vilalta Prat
d6c34bdc4b
Fixed the spaces before tabs.
...
svn-id: r30667
2008-01-28 00:14:17 +00:00
Jordi Vilalta Prat
66e9d4f5e8
Removed trailing spaces.
...
svn-id: r30664
2008-01-27 19:47:41 +00:00
Max Horn
0ec8d35e4d
Revert accidental commits in rev 30372
...
svn-id: r30374
2008-01-10 12:00:10 +00:00
Max Horn
7ed64488a8
Removed obsolete FIXME
...
svn-id: r30372
2008-01-10 11:29:29 +00:00
Eugene Sandulenko
26913c3057
Bumping version to 0.12.0svn
...
svn-id: r30030
2007-12-28 07:28:16 +00:00
Oystein Eftevaag
05b5a493f8
Initial commit of the iPhone/iPod Touch backend
...
svn-id: r29488
2007-11-13 08:06:15 +00:00
Gregory Montoir
6c6e8657b6
added 'igor' engine for the game 'Igor: Objective Uikokahonia'
...
svn-id: r29318
2007-10-29 23:35:50 +00:00
Eugene Sandulenko
ddb39090bc
Implement FR #1775044 : "set extrapath from commandline"
...
svn-id: r29280
2007-10-28 11:27:00 +00:00
Eugene Sandulenko
b508441972
Patch #1800767 : "Sort the list of engines"
...
svn-id: r29089
2007-09-24 17:44:47 +00:00
Eugene Sandulenko
77eea722af
Modified patch #1738058 : "Action recorder".
...
svn-id: r28968
2007-09-19 13:55:05 +00:00
Nicola Mettifogo
258901bab9
Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated.
...
svn-id: r28966
2007-09-19 08:40:12 +00:00
Max Horn
3abc11611e
Code formatting fixes
...
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
c3d3aebe87
Patch #1768757 : Merge fsnode-gsoc into trunk (MAJOR change, will break compilation on some ports)
...
svn-id: r28944
2007-09-18 20:02:04 +00:00
Max Horn
4cc9d17c34
Adding various FIXME comments to bogus (non-self-explanatory) existing FIXME comments; and some other related cleanup
...
svn-id: r28890
2007-09-11 09:20:39 +00:00
Chris Apers
500481c4ec
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
...
svn-id: r28803
2007-09-01 19:13:04 +00:00
David Corrales
6856535010
Merged fsnode with trunk: r27971:28460
...
svn-id: r28462
2007-08-05 19:34:20 +00:00
Paweł Kołodziejski
d04b653378
added engine stubs code for Drascula game
...
svn-id: r28130
2007-07-17 21:35:01 +00:00
David Corrales
9bfe5d5354
Merged the FSNode branch with trunk r27681:27969
...
svn-id: r27970
2007-07-08 16:58:54 +00:00
Max Horn
8fcece52ac
Patch #1595026 : engine init/shutdown OSystem methods
...
svn-id: r27838
2007-07-01 20:29:28 +00:00
David Corrales
cacd7a28fd
Merged the FSNode branch with trunk r27031:27680
...
svn-id: r27681
2007-06-23 18:51:33 +00:00
David Corrales
b405220ff2
Fixed several TODO's concerning path validation.
...
svn-id: r27472
2007-06-16 17:20:46 +00:00
Max Horn
a097a11ce7
BASE code: renamed detectMain to detectPlugin and updated some comments for clarity; added some TODO/FIXME comments; added a dialog that's shown if the user tries to start a game for which no plugin feels responsible
...
svn-id: r27423
2007-06-15 17:29:49 +00:00
Max Horn
e627cddd19
Added some doxygen comments to (Plain)GameDescriptor, and added a findPlainGameDescriptor convenience function
...
svn-id: r27422
2007-06-15 17:13:13 +00:00
Willem Jan Palenstijn
3b7b869476
add DATA_PATH to directory search list when starting game
...
svn-id: r27381
2007-06-12 21:21:40 +00:00
Eugene Sandulenko
add3243e5e
Fix for bug #1719463 : "DETECTOR: Launching undefined target adds launcher entry"
...
svn-id: r27352
2007-06-11 08:38:23 +00:00
Eugene Sandulenko
c0a33c57b3
Trunk becomes 0.11.0svn
...
svn-id: r27116
2007-06-05 22:16:36 +00:00
David Corrales
3b96c7fad5
Renamed methods in the FilesystemNode class to match the AbstractFSNode implementations.
...
Also exposed the new methods (exists, isReadable and isWritable) in FilesystemNode.
svn-id: r27113
2007-06-05 21:02:35 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Johannes Schickel
86104e0bf0
Reverted r26922.
...
svn-id: r26967
2007-05-27 11:40:03 +00:00
Max Horn
33f17c57a5
Patch #1726251 : Reject long commandline parameters that lack the option
...
svn-id: r26961
2007-05-27 07:37:08 +00:00
Eugene Sandulenko
da8097896e
Fix wrong error message as pointed out by jvprat. I.e. ./scummvm -g produced:
...
"Option '(null)' requires an argument"
svn-id: r26941
2007-05-26 15:59:54 +00:00
Joost Peters
0bd2a211fd
replace "normal" graphics scaler with "1x" in the --help text.
...
"normal" is not documented in the README and is apparently some legacy option,
the SDL backend source implies that using "normal" mode would use a 1x scaler,
but using it seems no different from the default "2x" scaler, so this option is
basically useless, even though parseCommandLine() still accepts both "normal" and
"default" (which seems completely undocumented)... argh!
svn-id: r26936
2007-05-26 12:01:33 +00:00
Johannes Schickel
8ff17142c5
Simpilified Singleton implementation and usage.
...
svn-id: r26922
2007-05-22 14:17:44 +00:00
Filippos Karapetis
d00e72e5c8
Added the cruise engine to the list of plugins in plugins.cpp
...
svn-id: r26607
2007-04-27 14:50:27 +00:00
Torbjörn Andersson
a3bde14ead
Fixed bug #1701842 , after discussing with Fingolfin.
...
svn-id: r26545
2007-04-18 20:59:51 +00:00
Travis Howell
b0fea397ab
Allow PC Engine version of Loom to at least start up.
...
svn-id: r25951
2007-03-03 12:59:48 +00:00
Max Horn
b9658b5960
Do not use addDefaultDirectoryRecursive to add 'path', rather use the non-recurseive addDefaultDirectory (see also bug #1672098 )
...
svn-id: r25922
2007-03-02 12:57:38 +00:00
Eugene Sandulenko
0a20af0323
Make extra information generated by launcher consistent with what we have
...
in our md5 list, preferred target and Wiki.
svn-id: r25398
2007-02-06 12:01:34 +00:00
Max Horn
8ae2be31e0
Don't add '.' to the search dirs as a last fallback. Fixes bug #1597208
...
svn-id: r25382
2007-02-04 13:04:36 +00:00
Max Horn
04e76156ef
Change s_appName from Common::String to const char * on all platforms
...
svn-id: r25354
2007-02-03 18:09:09 +00:00
Max Horn
d32b1b1b7a
Always set gameid & description in a GameDescriptor (somewhat more future proof fix for the recent regression caused by the changes to gameid() / description() )
...
svn-id: r25242
2007-01-28 10:29:22 +00:00
Eugene Sandulenko
b8a48f5751
Fix regression which prevented to run games specified only in command line
...
and not in config file.
svn-id: r25240
2007-01-28 01:01:36 +00:00
Marcus Comstedt
23a1efe628
Reintroduced non-static gameid() and description(), by popular(?) demand.
...
svn-id: r25239
2007-01-28 00:56:08 +00:00
Marcus Comstedt
a9cd5f59b0
Made gameid() and description() const.
...
svn-id: r25234
2007-01-27 22:59:01 +00:00
Max Horn
853b00fba1
Fix for bug #1586640 : SDL: Joystick/Joypad doesnt work with 0.9.0
...
svn-id: r25161
2007-01-24 00:07:23 +00:00
Max Horn
0a9276092f
Fix crash in GameDescriptor::updateDesc
...
svn-id: r25153
2007-01-21 16:34:18 +00:00
Max Horn
aaf706a43d
Don't mkdir the default savepath whenever we startup; rather, mkdir (on Unix/Symbian, at least) the savedir just before we need it, i.e. just before saving. Fixes bug #1504398
...
svn-id: r25150
2007-01-21 15:17:28 +00:00
Max Horn
f30f00aedc
Make use of HashMap::getVal/setVal, and some cleanup
...
svn-id: r25138
2007-01-21 00:29:03 +00:00
Max Horn
baaedb1651
Added game.cpp file with some funcs/methods declared in game.h
...
svn-id: r25137
2007-01-21 00:25:04 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Eugene Sandulenko
e5c7ce83b8
Initial import of Parallaction engine
...
svn-id: r25083
2007-01-14 21:29:12 +00:00
Max Horn
fb1cb33324
Fix previous commit by anotherguest
...
svn-id: r24942
2006-12-28 12:29:18 +00:00
Lars Persson
203b93e49d
Updated makefiles to support touche and agos naming properly
...
svn-id: r24941
2006-12-28 12:14:58 +00:00
Max Horn
865d8717a3
* Change the GameList typedef to a proper class with an additional
...
constructor which takes a PlainGameDescriptor 'list'
* Replaced real_ADVANCED_DETECTOR_GAMEID_LIST by this new constructor
* Removed ADVANCED_DETECTOR_GAMEID_LIST and ADVANCED_DETECTOR_FIND_GAMEID
* Some minor cleanup
svn-id: r24893
2006-12-19 22:43:15 +00:00
Eugene Sandulenko
4d840e5295
Patch #1595319 : "Enable the command line --debugflags before engine.init()"
...
svn-id: r24705
2006-11-13 12:03:08 +00:00
Max Horn
1f26cb8965
Reworked code in the advanced game detector (getting rid of much of the evil #define hell it consisted of previously)
...
svn-id: r24685
2006-11-12 03:23:29 +00:00
Max Horn
c7b2f4d332
Print sensible messages if engine instantiation failed
...
svn-id: r24684
2006-11-12 03:21:44 +00:00
Gregory Montoir
13d9cdbd26
added 'touche' engine for the game 'Touche: The Adventures of the 5th Musketeer'
...
svn-id: r24592
2006-11-03 21:23:07 +00:00
Max Horn
07f7761479
Backend modularization: Create timer manager, savefile manager and audio mixer in the backends for increased flexibility
...
svn-id: r24443
2006-10-22 15:42:29 +00:00
Max Horn
f95f5ed133
Added OSystem::getTimerManager and OSystem::getMixer methods (wip)
...
svn-id: r24405
2006-10-21 12:03:43 +00:00
Johannes Schickel
7212dfaa22
Whitespaces.
...
svn-id: r24179
2006-10-07 21:22:32 +00:00
Torbjörn Andersson
f11c3d1f26
Removed some left-over (I think!) code from unloadPluginsExcept() that was
...
causing ScummVM to crash for me.
svn-id: r24155
2006-10-07 01:56:31 +00:00
Max Horn
df5be19409
Instantiate and hook up the plugin providers in the main() function of the corresponding backends (porters may have to update their ports if they were using the POSIX or Win32 module loading code implicitly); some cleanup
...
svn-id: r24153
2006-10-07 01:05:12 +00:00
Max Horn
26e4e16800
Started to refactor the plugin code (moving backend specific stuff into backends/plugins/)
...
svn-id: r24148
2006-10-07 00:22:48 +00:00
Eugene Sandulenko
8e2c703bab
First pahse of renaming simon engine to agos. Internal renames. Compilation
...
is broken
svn-id: r24008
2006-09-29 08:14:27 +00:00
Max Horn
4c14cf6d1a
Moved base/engine.cpp and .h to engines/ (main motivation: helps untangle the linker dependency graph). Porters will have to update project files
...
svn-id: r23974
2006-09-23 00:42:35 +00:00
Max Horn
16ace099aa
Work around conflict between ISO C++ and POSIX, to allow ISO C++ compliant compilers like GCC 4.x to compile the plugin code again
...
svn-id: r23945
2006-09-20 11:54:15 +00:00
Max Horn
651d22b873
* Added virtual Engine::getDebugger() method
...
* Removed code from errorString() methods that hooked the debugger(s)
into error(), in favor of using getDebugger() from within error()
* As a consequence, removed most custom errorString() methods
svn-id: r23894
2006-09-16 19:31:23 +00:00
Max Horn
4ee581adb5
Fixed some broken #include's (the PS2 and Symbian may need more fixed, though)
...
svn-id: r23666
2006-08-04 17:47:57 +00:00
Max Horn
4a80db4c7b
* Added copyright string to all engine plugins
...
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)
svn-id: r23645
2006-07-31 13:41:21 +00:00
Max Horn
29b64b4aab
Small fix for the symbian port
...
svn-id: r23618
2006-07-29 20:20:01 +00:00
Torbjörn Andersson
5cb8802699
The GUI now uses the cursor palette for all themes. Therefore, it shouldn't be
...
necessary to set up a "dummy" palette for the cursor any more. If an engine
wants to display an error message without using the GUI, it can set up its own
palette.
With this change, ScummVM no longer sets a palette before _screen is created in
the SDL backend.
svn-id: r23575
2006-07-23 07:18:37 +00:00
Torbjörn Andersson
e3ab20ee90
Fixed DO_OPTION_OPT so that the '=' is no longer required in long options. (The
...
value is, as the name implies, optional.) This fixes bug #1526483 .
svn-id: r23561
2006-07-22 15:16:28 +00:00
Max Horn
5e1bf44046
Testing the new ciabot.py hook ... dang, I wanted to modify scummsys.h, where is abort butto... CARRIER LOST
...
svn-id: r23440
2006-07-08 20:56:02 +00:00
Marcus Comstedt
d71d5774ad
Include DCLauncherDialog.h from the new backend dir.
...
svn-id: r23360
2006-06-30 21:58:40 +00:00
Max Horn
8c5ead1f70
No need to calls clearSoundCallback here (engine destructor already does that)
...
svn-id: r23356
2006-06-30 19:54:12 +00:00
Max Horn
c9fd9c4878
Added 'timer' backend module, based on the existing TimerManager code (work in progress)
...
svn-id: r23279
2006-06-24 09:53:45 +00:00
Max Horn
75628fe9d7
Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
...
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
9a955180a4
* Renamed config.mak to config.mk
...
* Renamed common.rules to rules.mk
* Removed explicit declaration of MODULE_DIRS in various spots (instead we let rules.mk compute it)
svn-id: r23275
2006-06-24 08:48:11 +00:00
Max Horn
d210b19aec
Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
...
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)
svn-id: r23274
2006-06-24 08:07:48 +00:00
Eugene Sandulenko
6f844ae420
- Make tabs narrower so they all fit on screen. Now navigation buttons
...
appear only on PSP resolution
- Combined Audio/Volume tab in game options for consistency.
svn-id: r23130
2006-06-15 13:18:28 +00:00
Johannes Schickel
70fc192f30
Should fix --debugflags for all engines which set up the debug flags in Engine::init.
...
svn-id: r23110
2006-06-14 19:43:25 +00:00
Torbjörn Andersson
42d093cd16
Added --themepath option, and documented (very briefly) the --gui-theme option.
...
svn-id: r23108
2006-06-14 19:32:26 +00:00
Eugene Sandulenko
1c285c7094
Bump version
...
svn-id: r23041
2006-06-11 22:29:41 +00:00
Lars Persson
4549a61060
Removed actions.h include for symbian build. Not needed anymore.
...
svn-id: r23027
2006-06-11 14:21:46 +00:00
Kostas Nakos
44fc26a907
removed GUI::Actions::init() now that noone uses it.
...
svn-id: r23017
2006-06-10 21:17:26 +00:00
Lars Persson
5755b5a97e
Fixed problem when building and debugging using Symbian Emulator.
...
svn-id: r22820
2006-06-01 22:43:19 +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
acb3ff742b
Only do warning for path create failure and not error as it can be set within scummvm.
...
svn-id: r22797
2006-05-31 11:36:20 +00:00
Travis Howell
d9d3b604f2
Fix compile
...
svn-id: r22592
2006-05-24 00:27:56 +00:00
Paweł Kołodziejski
107073537e
imported AGI engine
...
svn-id: r22588
2006-05-23 23:43:52 +00:00
Won Star
7eede3c510
Compile fix for GP32 and PalmOS. GP32 port still doesn't work since when GUI code changed...
...
svn-id: r22583
2006-05-23 14:19:38 +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
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
Andrew Kurushin
45b249ee60
fix VS2005 compilation warnings
...
svn-id: r22431
2006-05-13 08:39:12 +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
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
Max Horn
0bb35a7856
Corrected a warning message (findGame failures are due to unsupported gameids, and have nothing to do with targets)
...
svn-id: r22357
2006-05-05 00:28:26 +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
b56139b3aa
Updated outdated TODO
...
svn-id: r22354
2006-05-05 00:12:42 +00:00
Max Horn
dc2581fa09
Fingolfin just remembered *why* GUI::Actions::init() is called in scummvm_main, but luckily those reasons are gone now, so let's fix this :-)
...
svn-id: r22353
2006-05-05 00:05:38 +00:00
Max Horn
f42baa6dab
Some further cleanup in scummvm_main
...
svn-id: r22352
2006-05-05 00:03:21 +00:00
Max Horn
5e2d023aa8
Moved PalmOS specific call to ArgsFree up to the last point where argv is used (hopefully that's correct :-)
...
svn-id: r22351
2006-05-05 00:00:39 +00:00
Max Horn
e20d896a72
Fix s_appName computation
...
svn-id: r22350
2006-05-04 23:59:12 +00:00
Max Horn
be09fc77dc
Moved listGames, listTargets, runDetectorTest to base/options.cpp; also moved some code that was formerly in scummvm_main() to Base::processSettings()
...
svn-id: r22349
2006-05-04 23:57:49 +00:00
Max Horn
2dcf2c36ad
Removed last traces of class GameDetector
...
svn-id: r22348
2006-05-04 23:37:50 +00:00
Max Horn
64d9224b54
Renamed base/gameDetector.h/.cpp to base/options.h/.cpp
...
svn-id: r22347
2006-05-04 23:29:56 +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
c46301bcc2
Make sure our config default values get properly registered
...
svn-id: r22345
2006-05-04 22:55:15 +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
Max Horn
b727a89b6c
Set speech_mute/sfx_mute/music_mute values in one single central place
...
svn-id: r22342
2006-05-04 21:14:50 +00:00
Torbjörn Andersson
6a41946219
The loadPlugins() function works a bit better if it doesn't fail when listDir()
...
succeeds. ;-)
svn-id: r22325
2006-05-04 03:50:30 +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
b67c30f6c8
Fix DYNAMIC_MODULES (update the listDir call used in PluginManager::loadPlugins when using dynamic modules/plugins)
...
svn-id: r22316
2006-05-03 20:45:57 +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
Willem Jan Palenstijn
af280f967b
add small note about svnversion
...
svn-id: r22220
2006-04-29 13:17:22 +00:00
Max Horn
a427a14ebe
Updated the common on why we would like to display the SVN rev as part of the ScummVM version string, and why this is non-trivial
...
svn-id: r22217
2006-04-29 12:38:28 +00:00
Max Horn
bf73598811
* Changed the createEngine() factory function of our plugins to return an error code (the engine is now passed indirectly via a double pointer)
...
* Removed Engine_Empty (obsolete now that engines can return actual error codes)
svn-id: r22199
2006-04-29 00:27:20 +00:00
Max Horn
1dba198cbf
Proper fix for bug #1476651 : Do not use File::exists to check for the presence of a directory described by an absolute path
...
svn-id: r22174
2006-04-26 08:36:55 +00:00
Eugene Sandulenko
9aec81802d
Return correct value from Engine_Empty::init() method.
...
svn-id: r22166
2006-04-26 01:09:31 +00:00
Eugene Sandulenko
35098dbd9f
Introduce and use Engine_Empty() and Engine::GUIErrorMessage()
...
svn-id: r22165
2006-04-26 00:59:13 +00:00
Eugene Sandulenko
bf53520130
- Check if path specified for a game in scummvm.ini really exists and complain
...
if it does not
- Give more understandable feedback to user when SCUMM module can't find
a game
- Put TODO to kyra engine as their current detection scheme does not let
easily tell if game data really present in specified directory
svn-id: r22163
2006-04-25 23:07:59 +00:00
Max Horn
e9332e41d6
Added hidden --test-detector command line option to make it easy to test the detector on your config file (to be removed before the next release)
...
svn-id: r22158
2006-04-25 21:31:55 +00:00
Max Horn
5e3e026f92
Also output the description when running DETECTOR_TESTING_HACK
...
svn-id: r22106
2006-04-23 14:47:43 +00:00
Max Horn
8e9c2e7508
typo
...
svn-id: r22103
2006-04-23 13:39:57 +00:00
Max Horn
c7f2e3d630
Modified DETECTOR_TESTING_HACK code to skip over invalid paths
...
svn-id: r22099
2006-04-23 12:30:52 +00:00
Max Horn
eb895185a6
Test code for the detection code in all engines (disabled by default)
...
svn-id: r22095
2006-04-23 11:38:48 +00:00
Lars Persson
fb905751c7
Conflicting domains for String definition. Added Common:: to String to clarify domain.
...
svn-id: r22072
2006-04-21 20:50:28 +00:00
Max Horn
206fdf0528
Fixed broken svn:keywords values
...
svn-id: r21939
2006-04-16 13:01:41 +00:00
Max Horn
3020b2016a
test commit
...
svn-id: r21938
2006-04-16 12:55:14 +00:00
Max Horn
18975a298d
Moved (Plain)GameDescriptor from base/gameDetector.h to the new base/game.h header file
...
svn-id: r21917
2006-04-15 21:20:16 +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
dc5f513bcf
Set *plugin to 0, not plugin, which has the advantage that games launch again... stupid me
...
svn-id: r21914
2006-04-15 17:32:06 +00:00
Max Horn
fa085439b9
Removed GameDetector::createMixer(), GameDetector::createEngine(), GameDetector::_plugin
...
svn-id: r21913
2006-04-15 16:37:48 +00:00
Max Horn
ebea155b8e
Always use base 0 in strtol when parsing integer command line options / config file entries (this makes it possible to optionally use hex values)
...
svn-id: r21911
2006-04-15 13:58:01 +00:00
Max Horn
c07fc494d2
oops
...
svn-id: r21910
2006-04-15 13:51:49 +00:00
Max Horn
9c4577b639
- Get rid of GameDetector::_dumpScripts and GameDetector::_force1xOverlay in favor of settings in the transient config domain
...
- This also means you can now set those options in the config file
- Fixed a bug I recently introduced that made bool command line options (like -u, -f) always return 'false' when used in their single letter form
svn-id: r21909
2006-04-15 13:50:44 +00:00
Max Horn
f3278d7f82
Clear the transient domaing *after* running the launcher, not before, so that the graphics mode gets set correctly
...
svn-id: r21907
2006-04-15 13:21:02 +00:00
Max Horn
3628629007
- Replaced ConfigManager::_globalDomains by _appDomain (we don't support multiple global domains anymore)
...
- Restructured parts of the ConfigManager to be more consistent and a bit easier to understand
- Introduced ConfigManager::getDomain, potentially useful for code that needs to edit a specific domain (like the option dialogs)
- Allow passing an empty string to ConfigManager::setActiveDomain(), to reset the active domain
- Discard all transient config options (i.e. mostly command line settings) when entering the launcher, and after an engine exits
- Introduced various hidden easter bugs. Happy easter, and have fun searching!
svn-id: r21906
2006-04-15 13:12:03 +00:00
Max Horn
edd8557a0e
cleanup
...
svn-id: r21888
2006-04-14 14:26:34 +00:00
Max Horn
64343ef2c0
Fix for bug #1470104 ("Compiled features" string empty)
...
svn-id: r21878
2006-04-14 09:29:58 +00:00
Won Star
491d5ad12e
GP32 uses ARM processor. So some of PalmOS specific changes also apply to GP32.
...
svn-id: r21834
2006-04-13 02:39:59 +00:00
Lars Persson
1d265f1895
Commiting Fingolfins patch to remove gamedetector usage.
...
svn-id: r21830
2006-04-12 19:04:10 +00:00
Chris Apers
f61d74532b
Fixed crash with PalmOS ARM version : global objects are allocated but constructors are not called - anyway this var is useless with PalmOS version
...
svn-id: r21805
2006-04-11 18:19:54 +00:00
Max Horn
e7a8bb6abf
Modified the REGISTER_PLUGIN macro so that it allows (and requires) a trailing semicolon (this helps certain tools to parse our code better)
...
svn-id: r21689
2006-04-08 12:06:07 +00:00
Max Horn
4572d0ba16
Moved version vars from base/main.cpp to base/version.cpp; thus now version.o is always rebuilt on every change, not main.o
...
svn-id: r21687
2006-04-08 11:36:49 +00:00
Eugene Sandulenko
baf2a06e0a
Recursive current directory has a big overhead since it can point to
...
(a) scummvm source tree for dev (b) desktop with a:\ on Windows
svn-id: r21627
2006-04-05 06:58:18 +00:00
Eugene Sandulenko
607ae0bab6
Fix crash for a case when game path is set incorrectly
...
svn-id: r21614
2006-04-04 23:30:41 +00:00