Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Max Horn
df20d264fd
Pushing down some header deps (on common/system.h, mostly)
...
svn-id: r35542
2008-12-25 20:40:00 +00:00
Max Horn
4b7d455580
Got rid of Stream::readLine_OLD calls in two places (mostly untested, please check/test for regressions)
...
svn-id: r35198
2008-12-01 21:13:02 +00:00
Gregory Montoir
2730a6dddc
queen doesn't use target name for savestate files (amiga & dos versions use the same savegame data)
...
svn-id: r35190
2008-11-30 11:52:54 +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
40136f2590
Switched various Engine APIs to use Common::Error
...
svn-id: r34916
2008-11-06 17:05:54 +00:00
Max Horn
8f33d4a40a
Implemented GMM loading (and, once the GMM supports it, saving) for SCUMM
...
svn-id: r34913
2008-11-06 15:41:38 +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
Max Horn
fe2935ad4b
Got rid of the unused 'filename' attribute in SaveStateDescriptor
...
svn-id: r34905
2008-11-05 15:41:12 +00:00
Max Horn
61aadb378d
Fixed the EngineFeature vs. MetaEngineFeature mess, clarified some EngineFeature comments
...
svn-id: r34896
2008-11-04 16:11:40 +00:00
Max Horn
55c10e0ec6
Patch #2122869 : ALL: Common load dialog
...
svn-id: r34883
2008-11-03 18:32:16 +00:00
Filippos Karapetis
b7a219ebc6
Renamed engine feature kSupportsDirectLoad to kSupportsLoadingDuringStartup, as discussed in patch #2122869
...
svn-id: r34854
2008-10-26 16:42:08 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Johannes Schickel
0a35842954
Committed my patch #2105593 "Launcher/MetaEngine: Finnished removeSaveState".
...
svn-id: r34495
2008-09-11 19:47:45 +00:00
Filippos Karapetis
814e27fe40
Fix for bug #2101083 - "ANY - MSVC71 compilation fails due to warnings-as-errors"
...
svn-id: r34457
2008-09-09 06:47:41 +00:00
Max Horn
57e724bfc3
Renamed SeekableReadStream::readLine to SeekableReadStream::readLine_OLD; added a new alternate SeekableReadStream::readLine() instead
...
svn-id: r34315
2008-09-03 17:53:25 +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
dcd52c1210
Merging more of the GSoC 2008 RTL branch: QUEEN
...
svn-id: r34247
2008-09-01 17:55:52 +00:00
Torbjörn Andersson
235ab94ef3
Refined the workaround for wrongly compressed audio. If the sample rate is given
...
as 11025 Hz, it should be 11840 Hz. However, a fixed version of compress_queen
won't necessarily produce files with that sample rate, since LAME will resample
the sounds to 12000 Hz. I.e. we can only override the rate if it's exactly 11025.
svn-id: r34169
2008-08-25 18:47:27 +00:00
Christopher Page
ec8dac5540
Added a MetaEngineFeature for RTL support, the RTL button is disabled in the GMM if the engine doesn't support it
...
svn-id: r33921
2008-08-16 02:53:16 +00:00
Christopher Page
9d3cdcb2da
Defined some MetaEngineFeatures for the engines, the launcher uses these features to allow/disallow loading and deleting saves
...
svn-id: r33909
2008-08-15 18:15:14 +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
5f4c9f913f
Turned InSaveFile & OutSaveFile into simple typedefs
...
svn-id: r33606
2008-08-04 11:38:25 +00:00
Torbjörn Andersson
b79f069c58
Applied my patch #2030058 ("Workaround for incorrectly compressed FotAQ"), and
...
made a mention in NEWS that speech is played correctly now. Of course, we
should still provide a correctly compressed version at some point.
svn-id: r33471
2008-07-31 13:45:58 +00:00
Christopher Page
c318987ff5
Added --list-saves support for QUEEN
...
svn-id: r33390
2008-07-29 01:52:29 +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
Christopher Page
45d24a58f9
QUEEN sound settings work with the GMM
...
svn-id: r33093
2008-07-18 01:46:33 +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
Gregory Montoir
cdade7eff3
fix bug #1876741 : changed .SB playback rate to 11840Hz (matches dos game)
...
svn-id: r33079
2008-07-15 20:31:11 +00:00
Gregory Montoir
2bae0df17e
fix bug #1995042 : stop previous sfx playback when starting a new sfx (matches original dos code). Also removed the "sound skipping" hack in final bam scene.
...
svn-id: r33078
2008-07-15 20:26:12 +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
67c8c39fdf
Queen works with the new GMM implementation, and made a correction to a change in parallaction
...
svn-id: r32999
2008-07-11 00:49:01 +00:00
Christopher Page
a42bb09c72
QUEEN: Made it possible to quit during the intro cutaways
...
svn-id: r32933
2008-07-06 23:42:29 +00:00
Christopher Page
6d1350638a
Queen sound settings are now configurable through the GMM
...
svn-id: r32922
2008-07-05 22:04:15 +00:00
Gregory Montoir
358d2ec44a
fix possible oob access
...
svn-id: r32799
2008-06-26 10:12:47 +00:00
Christopher Page
7d0eb4f4f0
Queen and Saga now use the new _quit flag
...
svn-id: r32774
2008-06-25 02:14:55 +00:00
Christopher Page
18b892e534
QUEEN: Modified engine to use a quit flag instead of system->quit() in order to return to the launcher
...
svn-id: r32525
2008-06-04 05:21:47 +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
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
Jordi Vilalta Prat
c103290e2b
Initial support for plugin types
...
svn-id: r30825
2008-02-08 00:02:23 +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
Max Horn
015e73b792
cleanup
...
svn-id: r30777
2008-02-03 18:23:27 +00:00
Torbjörn Andersson
e51bf80218
Changed "COMPATIBLITY" to "COMPATIBILITY".
...
svn-id: r30754
2008-02-03 10:15:36 +00:00
Jordi Vilalta Prat
c070f0d04f
Converted queen and sky to use MetaEngine (forgot them because they don't use the AdvancedDetector).
...
svn-id: r30752
2008-02-03 09:39:26 +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
9a1e7a0c35
Possible fix for bug #1874516 (QUEEN: Lockup on quit)
...
svn-id: r30551
2008-01-18 17:23:10 +00:00
Paul Gilbert
6eb64102a4
Fix to remove a tab character from the GPL header
...
svn-id: r30238
2008-01-05 12:45:14 +00:00
Max Horn
4aacb020a4
cleanup
...
svn-id: r30005
2007-12-26 21:45:22 +00:00
Max Horn
a65b5a6d5c
Fix for bug #1858080 : FOTAQ: game terminates badly
...
svn-id: r29996
2007-12-26 00:22:32 +00:00
Gregory Montoir
13e9079e89
indentation
...
svn-id: r29671
2007-11-30 19:05:10 +00:00
Torbjörn Andersson
c1877ac20f
Indentation.
...
svn-id: r29660
2007-11-30 04:10:28 +00:00
Gregory Montoir
7167e0274e
code conventions
...
svn-id: r29595
2007-11-21 21:47:01 +00:00
Gregory Montoir
247a6fb8aa
use mutex to prevent race between MidiParser & MidiDriver
...
svn-id: r29594
2007-11-21 21:46:30 +00:00
Gregory Montoir
c76c6e2256
added rjp1 module specific pattern playback
...
svn-id: r29559
2007-11-18 20:27:31 +00:00
Gregory Montoir
de750efced
added support for Adlib tracks
...
svn-id: r29509
2007-11-15 20:21:33 +00:00
Gregory Montoir
20b3ee2057
made CmdText a virtual class, so that language tweaks can be handled in subclasses.
...
svn-id: r29424
2007-11-05 20:53:30 +00:00
Filippos Karapetis
f7c6189c1e
Sort the language ID bytes of the JAS Version String alphabetically, like they are in the queen page of the ScummVM wiki
...
svn-id: r29421
2007-11-05 17:17:35 +00:00
Filippos Karapetis
70aa7d3f74
Don't show a space after the "give" command in the Greek fan translated version of FOTAQ
...
svn-id: r29420
2007-11-05 17:11:47 +00:00
Filippos Karapetis
bc391e48f0
Updated the check for the language byte of the JAS Version String to be 'g' for the Greek fan translation and 'R' for the Russian fan translation (according to the Queen engine page in the ScummVM wiki)
...
svn-id: r29419
2007-11-05 17:10:32 +00:00
Filippos Karapetis
ad64b3728a
Fixed compilation
...
svn-id: r29368
2007-11-01 20:11:54 +00:00
Gregory Montoir
36a372ecd1
fix previous commit
...
svn-id: r29367
2007-11-01 18:42:22 +00:00
Gregory Montoir
bd3767068d
dont call trim(), which relies on isspace(), with specific game charset strings
...
svn-id: r29365
2007-11-01 18:16:52 +00:00
Filippos Karapetis
60c6720441
Some changes to FOTAQ for the work in progress Greek translation in FR #1723255 - "FOTAQ code modifications (mostly for greek translation)":
...
- Added Greek font to FOTAQ
- When the verb is "Go to" in the Greek version, there won't be a space after the verb and the item (as per the translator's request)
- The strings in the journal are not cut off in the Greek version
svn-id: r29360
2007-11-01 17:06:03 +00:00
Gregory Montoir
b767eb771b
fix incomplete savestate prefix
...
svn-id: r29138
2007-09-30 11:16:01 +00:00
Gregory Montoir
c1eacc0357
simplified queen savegame listing (removed marks array etc.)
...
svn-id: r29111
2007-09-27 20:38:04 +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
Max Horn
4a302b25ad
Lots of source code formatting corrections
...
svn-id: r28887
2007-09-10 13:17:20 +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
Max Horn
f4c0b853cc
Fixed sound factory messup caused by my previous commit
...
svn-id: r28111
2007-07-15 19:24:00 +00:00
David Corrales
720c974faf
Changed SaveFileManager::listSavegames() function to be engine agnostic. It now returns a list will the full paths of existing files that match a given regex.
...
Additionally, modified the 5 engines which use the default manager (Agos, Queen, Saga, Scumm and Touche) to parse the filename list and mark the available saves bool array correctly.
svn-id: r28046
2007-07-12 17:58:15 +00:00
David Corrales
cacd7a28fd
Merged the FSNode branch with trunk r27031:27680
...
svn-id: r27681
2007-06-23 18:51:33 +00:00
Max Horn
d21b8c43d0
Converted some more code to make use of Common::KEYCODE_ / Common::ASCII_
...
svn-id: r27628
2007-06-22 21:38:34 +00:00
Max Horn
2fa0a5c457
Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
...
svn-id: r27625
2007-06-22 21:16:07 +00:00
Max Horn
54d668ac13
Changed more code to use Common::KEYCODE_ enum
...
svn-id: r27624
2007-06-22 21:10:57 +00:00
Max Horn
e8a4d396fe
Get rid of FOTAQ's own KeyCode enum in favor of Common::KeyCode (attention: the F12 quickload hotkey used to be incorrectly mapped to F6, this change 'fixes' that)
...
svn-id: r27623
2007-06-22 20:51:37 +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
Max Horn
d4660cce55
Removing more semicola
...
svn-id: r26597
2007-04-26 19:08:53 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Gregory Montoir
38eab5c5df
Re-introduced Input::getMousePos and removed g_system-
...
svn-id: r26372
2007-04-02 19:12:17 +00:00
Gregory Montoir
20ec8d2d34
This should make the game match the original DOS version speed.
...
svn-id: r26371
2007-04-02 18:59:00 +00:00
Gregory Montoir
a1d9bcd923
enabled music volume changes in Amiga version
...
svn-id: r26265
2007-03-20 23:24:54 +00:00
Max Horn
b44d93d068
QUEEN: Make use of EventManager::getMousePos
...
svn-id: r26224
2007-03-18 18:55:11 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Max Horn
15d9bc42ea
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
...
svn-id: r26156
2007-03-17 00:53:21 +00:00
Gregory Montoir
00bb66d60d
minor simplification
...
svn-id: r26150
2007-03-16 22:34:59 +00:00
Gregory Montoir
00e85d9f57
fixed volume slidebar display in journal, removed unused var
...
svn-id: r26149
2007-03-16 22:28:25 +00:00
Eugene Sandulenko
9b0bf64448
Silence MSVC8 warnings.
...
svn-id: r26062
2007-03-10 15:02:39 +00:00
Gregory Montoir
a3c2c1f413
Since the amiga version handle music very differently than the PC version, the existing Music and MusicPlayer classes have been merged to a single MidiMusic class, simplifying code a bit.
...
svn-id: r26033
2007-03-08 22:15:20 +00:00
Gregory Montoir
77aa551722
only request the user to update the queen.tbl if the game she/he's trying to play really *requires* it.
...
svn-id: r25944
2007-03-02 23:57:37 +00:00
Gregory Montoir
370c07f925
added other code differences for Amiga FOTAQ versions, full game is now completable under ScummVM
...
svn-id: r25941
2007-03-02 23:47:49 +00:00
Gregory Montoir
82adbc025d
some fixes for FOTAQ Amiga versions, cleanup
...
svn-id: r25886
2007-02-26 20:50:33 +00:00
Gregory Montoir
ca597dbf50
reduced code dup, Queen::LineReader -> SeekableReadStream::readLine
...
svn-id: r25871
2007-02-25 22:24:11 +00:00
Gregory Montoir
4af53c56e9
changed all hard-coded filenames to uppercase, for consistency
...
svn-id: r25862
2007-02-25 19:10:59 +00:00
Gregory Montoir
c5f5583ded
added AmigaSound::playRandomPatternJungle, minor cleanup
...
svn-id: r25860
2007-02-25 19:01:59 +00:00
Gregory Montoir
11e679845d
some fixes and additions for FOTAQ amiga versions
...
svn-id: r25825
2007-02-24 18:39:08 +00:00
Gregory Montoir
4fbca85aef
indentation
...
svn-id: r25787
2007-02-22 12:25:30 +00:00
Gregory Montoir
f2df410660
setup default colors for Amiga versions
...
svn-id: r25786
2007-02-22 12:20:56 +00:00
Gregory Montoir
eec3543c7d
some fixes with resource files handling for Amiga versions
...
svn-id: r25785
2007-02-22 12:12:45 +00:00
Gregory Montoir
948630c3b4
added initial support for FOTAQ amiga versions
...
svn-id: r25769
2007-02-21 20:27:48 +00:00
Max Horn
cc210d7512
cleanup
...
svn-id: r25753
2007-02-20 19:23:07 +00:00
Gregory Montoir
18cab2cc65
added basic support for playing FOTAQ amiga modules files (rjp1) instead of MIDI (code is currently #ifdef'ed out).
...
svn-id: r25707
2007-02-18 21:46:40 +00:00
Max Horn
b8aeefaffb
Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
...
svn-id: r25660
2007-02-17 18:55:51 +00:00
Gregory Montoir
1ce912e106
made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
...
svn-id: r25564
2007-02-13 21:06:57 +00:00
Gregory Montoir
7fa8e652a0
added missing MKID_BE macros
...
svn-id: r25560
2007-02-13 20:58:20 +00:00
Max Horn
cb49cbdd45
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
...
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer
svn-id: r25356
2007-02-03 19:05:53 +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
Torbjörn Andersson
35b712e1ea
Fixed compile error in FLAC sound support. I haven't tested this.
...
svn-id: r24784
2006-11-24 18:50:21 +00:00
Gregory Montoir
28be8164ac
simplification, removed some duplicated code
...
svn-id: r24783
2006-11-24 18:37:43 +00:00
Gregory Montoir
d4f61e6ee9
loadFile isn't called with useMalloc=true anymore, got rid of it
...
svn-id: r24782
2006-11-24 18:24:45 +00:00
Gregory Montoir
d47d545631
Fix for bug #1599393 - FOTAQ: clicks at the beginning of speech. English talkie version (and probably others) has 2 different .SB file formats, with a different size for the header data. Added code to detect that.
...
svn-id: r24775
2006-11-23 22:10:25 +00:00
Gregory Montoir
55da3104cc
workaround bug #1599009
...
svn-id: r24743
2006-11-19 02:02:41 +00:00
Torbjörn Andersson
2d8bd1add3
Reverted previous commit to keep FotAQ from crashing. The LineReader class
...
already frees the buffer when it's done with it.
svn-id: r24717
2006-11-13 23:38:44 +00:00
Gregory Montoir
d992c66b29
once parsed, queen2.jas buffer can be free'd.
...
svn-id: r24694
2006-11-12 17:51:39 +00:00
Gregory Montoir
701b803aff
cleanup
...
svn-id: r24693
2006-11-12 17:47:16 +00:00
Gregory Montoir
5a902f8f7a
rewrote FOTAQ game version detection code in a - if I didn't break anything - better way (no more duplicated code, more accurate game description in the launcher...)
...
svn-id: r24598
2006-11-04 12:00:31 +00:00
Gregory Montoir
d5608e82ed
cleanup (got rid of the custom Language enum, re-used the one in the Common namespace)
...
svn-id: r24595
2006-11-03 22:36:05 +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
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
919092e5fc
Overhaul of the debugger code
...
* Moved Common::Debuggger to GUI::Debugger (mainly to satisfy linker
restrictions)
* Change the base Debugger class to *not* be a template class anymore;
instead, a thin (template based) wrapper class is used to hook up
debugger commands
* Removed duplicate Cmd_Exit and Cmd_Help methods in favor of a single
version of each in GUI::Debugger
* New Cmd_Help doesn't word wrap after 39/78 chars, but rather queries
the console to determine when to wrap
* Debugger::preEnter and postEnter aren't pure virtual anymore
svn-id: r23890
2006-09-16 16:58:27 +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
Torbjörn Andersson
c32076e5d0
Use #include "..." instead of #include <...> for pack-start.h and pack-end.h
...
for consistency with other #includes.
svn-id: r23585
2006-07-23 16:13:26 +00:00
Max Horn
2859b64702
Fix struct packing issues (macros are not resolve in #pragma params, at least for GCC)
...
svn-id: r23569
2006-07-22 17:28:48 +00:00
Johannes Schickel
cfd9977425
Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
...
svn-id: r23558
2006-07-22 14:50:50 +00:00
Max Horn
f59cf1fcdc
Removing GCC_PACK, we fully rely on START_PACK_STRUCTS / END_PACK_STRUCTS now (hiya eriktorbjorn, this one is for you *ggg*)
...
svn-id: r23547
2006-07-21 21:25:17 +00:00
Max Horn
f35f4a4d1c
Use START_PACK_STRUCTS / END_PACK_STRUCTS when available, instead of checking for GCC / not GCC
...
svn-id: r23458
2006-07-09 13:01:15 +00:00
Max Horn
eaff9344a4
Added OSystem::setFocusRectangle (first part of Nintendo DS patch)
...
svn-id: r23449
2006-07-09 09:40:44 +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
Torbjörn Andersson
ecfedb1e81
Cleanup. It seems unnecessary to have a "break" right after an unconditional
...
return in a switch case.
svn-id: r23198
2006-06-20 18:55:25 +00:00
Kostas Nakos
4adb798232
fix CE port
...
svn-id: r23018
2006-06-10 22:26:46 +00:00
Gregory Montoir
4bdef42007
Workaround bug #1497280 .
...
svn-id: r22785
2006-05-30 20:46:11 +00:00
Torbjörn Andersson
8062eb6ec3
Set and show/hide mouse cursors through a "cursor manager" (analogous to the
...
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.
If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?
svn-id: r22639
2006-05-25 22:51:42 +00:00
Max Horn
0d6362ea48
Patch #1091170 : ALL, SCUMM: Subtitle speed control
...
svn-id: r22456
2006-05-13 17:30:04 +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
Max Horn
27307acd7c
Moved the AudioCDManager as well as class AudioStream and its (standard) subclasses to namespace Audio
...
svn-id: r22231
2006-04-29 22:33:31 +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
Torbjörn Andersson
614fc253a9
Moved updateScreen() into delay() for smoother mouse cursor movement. This may
...
possibly make some other calls to updateScreen() unnecessary, but it's the
backend's responsibility to ignore unnecessary calls.
svn-id: r21994
2006-04-17 23:55:42 +00:00
Max Horn
74edd90aba
Fix for bug #1471383 : Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
...
svn-id: r21951
2006-04-16 19:23:14 +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
1470dadb1d
Changed File::open to take a Common::String as file name parameter
...
svn-id: r21867
2006-04-14 01:48:51 +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
Eugene Sandulenko
d292c0ec55
Since our debug() adds an exclamation mark at the message end, remove
...
it in several calls to avoid duplication!!11!
svn-id: r21607
2006-04-04 22:04:51 +00:00