Gregory Montoir
e5e353d89c
fixed loading of savestates on startup
...
svn-id: r28476
2007-08-06 20:24:05 +00:00
Gregory Montoir
79c67653b6
workaround for original game graphic glitch #1751170
...
svn-id: r28393
2007-08-01 20:59:59 +00:00
Gregory Montoir
9bdbb470c0
add missing clipping
...
svn-id: r28371
2007-07-31 21:19:45 +00:00
Gregory Montoir
d4999255b7
fix for bug #1751226 (glitches on save/load
...
svn-id: r28370
2007-07-31 21:17:15 +00:00
Gregory Montoir
012f16d5c3
added missing MIDI gm->mt32 program change mapping (bug #1759318 )
...
svn-id: r28331
2007-07-30 17:45:43 +00:00
Gregory Montoir
d88354a853
renamed wrongly named parameter
...
svn-id: r28201
2007-07-25 20:05:35 +00:00
Gregory Montoir
12bec1c494
workaround for bug #1751149 (original game issue).
...
svn-id: r28200
2007-07-25 20:03:31 +00:00
Gregory Montoir
38b282b313
renamed some fields for clarification
...
svn-id: r28184
2007-07-24 09:53:28 +00:00
Gregory Montoir
9bb903ee6b
fixed some issues in pathfinding code
...
svn-id: r28183
2007-07-24 09:50:24 +00:00
Max Horn
11b2806741
Removed the old (obsolete) audiostream factories for MP3/Vorbis/FLAC data which took a File pointer and a size (these were only implemented as brain-dead wrapper around the newer factory methods anyway)
...
svn-id: r28110
2007-07-15 18:29:05 +00:00
Torbjörn Andersson
dd77f8e153
Move the redrawing of dialog windows (options, save, load, ...) so that we do
...
not redraw it in the middle of changing to a different dialog. This should fix
bug #1745090 ("TOUCHE: Glitch in the menu").
svn-id: r27781
2007-06-30 08:24:36 +00:00
Max Horn
a041ef2317
Slightly updated key handling in BS2, Kyra, and Touche
...
svn-id: r27637
2007-06-22 23:03:12 +00:00
Torbjörn Andersson
245c997260
Use KEYCODE constants.
...
svn-id: r27597
2007-06-22 07:34:07 +00:00
Eugene Sandulenko
6e5b70f5e9
Patch #1733764 : "Fallback detection patch". GSoC student.
...
svn-id: r27375
2007-06-12 12:22:25 +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
Torbjörn Andersson
da658640ff
Removed the case for the Italian version from displayQuitDialog(). According to
...
cyx, it uses the same keys as the English version. Odd.
svn-id: r26846
2007-05-15 16:25:34 +00:00
Torbjörn Andersson
13f2b1fd63
Added cases for missing languages to displayQuitDialog(). Should fix feature
...
request #1718531 . I hope I used the correct keys.
svn-id: r26840
2007-05-14 19:14:48 +00:00
Gregory Montoir
0a37086d31
french and german versions of Touche use the same charset data (confirmed by looking in both original executables)
...
svn-id: r26819
2007-05-13 02:08:53 +00:00
Gregory Montoir
67c9099c34
this should trigger invalid resource types loads, if that ever happens
...
svn-id: r26818
2007-05-13 02:07:54 +00:00
Gregory Montoir
0e27c9c339
added a TODO for the german charset data and renamed some static arrays/data
...
svn-id: r26742
2007-05-03 22:56:02 +00:00
Gregory Montoir
510f3c6e75
added spanish charset data (bug report #1712107 )
...
svn-id: r26741
2007-05-03 22:52:43 +00:00
Max Horn
579a3fe7cf
Renamed plugin.cpp to detection.cpp in all engines
...
svn-id: r26622
2007-04-27 20:23:25 +00:00
Max Horn
3db1dd05bc
Replaced another use of getEventManager() by using Engine::_eventMan
...
svn-id: r26360
2007-04-01 18:08:19 +00:00
Gregory Montoir
5aca9dce8c
added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
...
svn-id: r26357
2007-04-01 17:36:13 +00:00
Torbjörn Andersson
bc253d214b
Slight simplification of last change. Make sure we don't "oversleep" in fast
...
mode.
svn-id: r26351
2007-04-01 15:04:11 +00:00
Torbjörn Andersson
7c4a8c6565
Make the mouse cursor move more smoothly. (Most of this improvement actually
...
comes from calling processEvents(), not from calling updateScreen() more
often.)
svn-id: r26350
2007-04-01 14:53:03 +00:00
Torbjörn Andersson
0d78a7ca64
Call updateScreen() more often in options/save/load dialog to keep mouse
...
movement smoother. And since this is potentially wasteful, only redraw the
entire dialog when it seems likely that it may have changed.
svn-id: r26348
2007-04-01 14:05:50 +00:00
Torbjörn Andersson
b4211fefc8
Call updateScreen() more often when drawing right-click menus, to make mouse
...
movement smoother.
svn-id: r26347
2007-04-01 14:04:45 +00:00
Torbjörn Andersson
9339d2a54e
We still track the mouse position while waiting for an answer to the "Do you
...
want to quit?" question, so it makes sense to me to keep drawing the cursor.
Even if the original didn't.
svn-id: r26346
2007-04-01 13:38:03 +00:00
Torbjörn Andersson
cfa746830f
Use the event manager to track the mouse position.
...
svn-id: r26345
2007-04-01 13:31:11 +00:00
Torbjörn Andersson
4550ca1572
Use the cursor manager instead of calling the backend functions directly.
...
(Maybe the backend functions ought to be protected?)
svn-id: r26344
2007-04-01 13:16:29 +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
feba06717f
added md5 for spanish version of Touche (tracker item #1681643 )
...
svn-id: r26151
2007-03-16 22:51:03 +00:00
Gregory Montoir
20fb62de3a
Removed the localized titles in Touche game descriptions, that didn't work really well and this wasn't really consistent with other engines. Also added fallback detection so that an unknown game can be started (as my original code did before switching to AdvDetector).
...
svn-id: r26030
2007-03-08 21:34:35 +00:00
Max Horn
b3931a847d
Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
...
svn-id: r25837
2007-02-24 23:40:28 +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
Torbjörn Andersson
16e7a12878
Some very obvious cleanups.
...
svn-id: r25635
2007-02-16 17:13:29 +00:00
Max Horn
7572d2b4f2
Changed detectBestMatchingGame to return a pointer to a ADGameDescription (or a subclass of it); added a (currently fake) fallback callback entry in ADParams
...
svn-id: r25574
2007-02-13 23:37:44 +00:00
Max Horn
4968e912ce
AdvancedDetector changes:
...
* Renamed genGameList to gameIDList to make it match the corresponding
plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN
svn-id: r25547
2007-02-13 14:55:11 +00:00
Eugene Sandulenko
da7d8c9f35
Rename Common::GF_XXX to Common::ADGF_XXX
...
svn-id: r25545
2007-02-13 13:42:28 +00:00
Max Horn
55adc889e7
(re)added flags field to ADGameDescription, with currently only one value (GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet)
...
svn-id: r25539
2007-02-13 01:28:18 +00:00
Eugene Sandulenko
70833e89a4
Fix warning.
...
svn-id: r25384
2007-02-04 13:37:02 +00:00
Gregory Montoir
c9cb0ca8bf
removed preallocation of sprite tables (the previous values were taken from the original but it seems they can be lowered)
...
svn-id: r25351
2007-02-03 17:50:29 +00:00
Gregory Montoir
5bdfd2d102
added checks to prevent crash if no datafiles can be found, also fixed a typo
...
svn-id: r25283
2007-01-30 20:18:06 +00:00
Eugene Sandulenko
843ac74c0e
Moved Touche engine to AdvancedDetector.
...
svn-id: r25272
2007-01-30 00:24:09 +00:00
Gregory Montoir
3341f49429
cleanup
...
svn-id: r25157
2007-01-21 22:06:54 +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
Gregory Montoir
53d842f377
renamed an opcode, fixed an assert condition
...
svn-id: r25056
2007-01-08 12:39:31 +00:00
Gregory Montoir
ef2d914742
Enabled exit from in-game options
...
svn-id: r25017
2007-01-05 23:51:50 +00:00