108 Commits

Author SHA1 Message Date
Gregory Montoir
52b18c9ae6 simplification, increased game state filenames
svn-id: r29399
2007-11-04 03:02:32 +00:00
Eugene Sandulenko
c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Gregory Montoir
7ca277d252 don't update the screen directly after a gamestate load ; keychars and room background are now redrawn on the same frame (bug #1751226)
svn-id: r29133
2007-09-29 19:14:38 +00:00
Gregory Montoir
bdffcca128 workaround for original game glitch (bug #1751170)
svn-id: r29132
2007-09-29 19:13:04 +00:00
Gregory Montoir
d8831b44da simplified touche savegame listing
svn-id: r29112
2007-09-27 20:38:23 +00:00
Gregory Montoir
3d2485ca97 rename ui.cpp to menu.cpp for consistency with other engines
svn-id: r29108
2007-09-26 19:26:12 +00:00
Gregory Montoir
72d0be841f no need to assert here, just don't start playing the stream if read failed
svn-id: r29107
2007-09-26 19:20:59 +00:00
Gregory Montoir
8d84e9add1 add polish version (bug report #1800500)
svn-id: r29106
2007-09-26 19:18:47 +00:00
Gregory Montoir
af9abde7dd _currentObjectNum should also be set in text only talk mode
svn-id: r29103
2007-09-26 19:11:19 +00:00
Johannes Schickel
fb912f9539 Silence warnings on 64bit systems.
svn-id: r29088
2007-09-24 17:23:34 +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
Gregory Montoir
e5e353d89c fixed loading of savestates on startup
svn-id: r28476
2007-08-06 20:24:05 +00:00
David Corrales
6856535010 Merged fsnode with trunk: r27971:28460
svn-id: r28462
2007-08-05 19:34:20 +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
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
9bfe5d5354 Merged the FSNode branch with trunk r27681:27969
svn-id: r27970
2007-07-08 16:58:54 +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
David Corrales
cacd7a28fd Merged the FSNode branch with trunk r27031:27680
svn-id: r27681
2007-06-23 18:51:33 +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
David Corrales
0cab5b7791 Merged the fs branch with trunk. r26949:27031
svn-id: r27032
2007-05-31 23:44:43 +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