Commit Graph

254 Commits

Author SHA1 Message Date
Filippos Karapetis
11b43f877d Fix for bug #1742432 - AGI: Engine crashes if no game is detected
svn-id: r27993
2007-07-09 17:39:47 +00:00
Filippos Karapetis
e10a6e6515 Fix for bug #1746661: "KQ3: Lockup when pressing ESC (Amiga version)"
svn-id: r27989
2007-07-09 12:03:53 +00:00
Torbjörn Andersson
8e7269a100 Only redraw the save/load dialog when something in it has changed.
svn-id: r27942
2007-07-06 17:50:27 +00:00
Kari Salminen
118181e848 Added data for an Amiga-style busy mouse cursor (An hourglass). Not used yet though.
svn-id: r27941
2007-07-06 16:50:44 +00:00
Kari Salminen
ceca6a82f1 Added Amiga-style mouse cursor. Used with Amiga-render mode.
svn-id: r27938
2007-07-06 12:53:58 +00:00
Kari Salminen
1332a69b07 Tidied up and simplified AGI mouse cursor management.
svn-id: r27937
2007-07-06 12:42:50 +00:00
Neil Millstone
91648d68e0 Adding hooks for word completion interface on DS port
svn-id: r27871
2007-07-02 22:45:21 +00:00
Max Horn
e2ad271bd8 Removing non-ASCII chars from source code
svn-id: r27818
2007-07-01 12:47:07 +00:00
Kari Salminen
2ff0ffadb8 Oops. An extra comma in the enum list's end. Removed.
svn-id: r27775
2007-06-29 18:41:06 +00:00
Kari Salminen
3a03470caa Set AGI monitor type variable (vMonitor/v26) according to render mode.
svn-id: r27774
2007-06-29 15:58:48 +00:00
Kari Salminen
1a7b91b7e2 Removed superfluous comment and converted an int to bool conversion to a more usual way.
svn-id: r27757
2007-06-28 14:33:17 +00:00
Kari Salminen
f55d08a2d9 Fix saving & restoring with AGI256 and AGI256-2 games.
(Should save, restore and use decodePicture's agi256-parameter correctly now).

svn-id: r27730
2007-06-26 16:06:58 +00:00
Kari Salminen
38cbbf14fc Add workaround for Gold Rush intro skipping bug #1737343.
svn-id: r27719
2007-06-25 22:06:58 +00:00
Kari Salminen
4d7d3d96f5 Removed obsolete code for setting transparent debugging console colors.
svn-id: r27714
2007-06-25 18:32:40 +00:00
Kari Salminen
696b99e9b7 Unified GfxMgr::putPixelsA-function's priority info handling.
svn-id: r27710
2007-06-25 17:18:51 +00:00
Kari Salminen
a741f3c010 Fix priority screen showing when using AGI256 or AGI256-2.
svn-id: r27707
2007-06-25 14:40:40 +00:00
Max Horn
8a721de91c AGI: Properly handle backspace key on all systems, not just OS X
svn-id: r27638
2007-06-22 23:12:24 +00:00
Torbjörn Andersson
6f655ddbe5 Use KEYCODE constants.
svn-id: r27596
2007-06-21 20:04:10 +00:00
Kari Salminen
c8bbb6140f Add AGI256-2 support (On top of already present AGI256 support).
AGI256-2 means handling 256 color views/sprites (AGI256 means handling 256 color picture resources).
The code can now handle both 16 color and 256 color views/sprites in the same game.
FIXME: Background in AGI256-2 demo may be incorrect.

svn-id: r27572
2007-06-20 23:56:08 +00:00
Kari Salminen
0ebf986a1f Make putPixelsA-function use correct mask (0x0f normally for 16 colors, 0xff for 256 colors in AGI256 mode).
svn-id: r27571
2007-06-20 23:42:38 +00:00
Kari Salminen
dbac0054c1 Make drawing & blitting always use the correct screen
(Always 16 color screen for vector stuff, 256 color screen for everything else in AGI256 mode).

svn-id: r27570
2007-06-20 23:36:59 +00:00
Kari Salminen
d5822afe9e Add AGI256 picture resource loading using AGI command unknown170. Uses parts of patch #1728713.
svn-id: r27569
2007-06-20 23:18:24 +00:00
Kari Salminen
582fa4cdf0 Add AGI256 picture resource decoding support to PictureMgr::decodePicture.
svn-id: r27568
2007-06-20 23:12:38 +00:00
Kari Salminen
ae74b06756 Add an additional AGI screen for 256 color data (For use with AGI256 and AGI256-2).
svn-id: r27564
2007-06-20 22:54:51 +00:00
Kari Salminen
9f1ec5cb7a Add AGI256 and AGI256-2 game feature flags to games that use them.
svn-id: r27562
2007-06-20 22:39:14 +00:00
Kari Salminen
8b4b8a95a0 svn-id: r27561 2007-06-20 22:16:18 +00:00
Max Horn
ac1eea6265 Fixed warning about signedness issues
svn-id: r27402
2007-06-14 17:11:09 +00:00
Eugene Sandulenko
4d4cd489f5 Patch #1735773: "WAG file parsing patch to AGI's fallback detector".
Slightly modified, split into separate files.

svn-id: r27401
2007-06-14 12:06:12 +00:00
Max Horn
cbb378de1f Some cleanup to the pred.dic AGI code
svn-id: r27386
2007-06-13 13:26:46 +00:00
Kostas Nakos
a0cd025a16 implement predictive dictionary using ascii based operations, replacing the 10ary tree
svn-id: r27383
2007-06-13 12:48:14 +00:00
Eugene Sandulenko
6e5b70f5e9 Patch #1733764: "Fallback detection patch". GSoC student.
svn-id: r27375
2007-06-12 12:22:25 +00:00
Eugene Sandulenko
1cbcf395a6 Move hardcoded predictive dictionary name to config manager.
svn-id: r27315
2007-06-10 15:21:19 +00:00
Kostas Nakos
1243fc1145 oops
svn-id: r27246
2007-06-09 11:07:23 +00:00
Lars Persson
a3e8f765a6 Updated Symbian OS Prediction handling
Updated AGI to only enable predictive input after dictionary was found.

svn-id: r27206
2007-06-08 18:09:24 +00:00
Kostas Nakos
b59f4be4d1 adding navigation with arrow keys and enter; did away with some ugly gotos
svn-id: r27193
2007-06-08 08:12:18 +00:00
Eugene Sandulenko
7151050fc0 oops. MAX -> MIN to prevent memory overwrite.
svn-id: r27137
2007-06-06 13:35:41 +00:00
Eugene Sandulenko
603ef86894 Fix potential memory overwrite here too.
svn-id: r27134
2007-06-06 13:29:27 +00:00
Eugene Sandulenko
99d2736c9d Fix potential memory overwrite
svn-id: r27132
2007-06-06 13:25:48 +00:00
Kostas Nakos
5df28554ac Adding the new kFeatureDisableKeyFiltering OSystem feature.
This feature is used by agi's prediction dialog and is a hint to the backend
to temporarily switch off any keyboard mapping, used in devices with limited
keyboard input. Also, supply some comments to the newly added event & feature.

svn-id: r27069
2007-06-03 18:44:03 +00:00
Filippos Karapetis
476088e822 Silence an MSVC8 warning
svn-id: r27059
2007-06-02 21:02:35 +00:00
Kostas Nakos
9b0d6d0898 implement most-recently-used scheme for dictionary words
svn-id: r27058
2007-06-02 20:39:04 +00:00
Kostas Nakos
299cbcb059 better handle mode changes and command line length
svn-id: r27057
2007-06-02 19:56:18 +00:00
Kostas Nakos
8d97729ee8 adding multi-tap alpha input
svn-id: r27056
2007-06-02 19:32:57 +00:00
Kostas Nakos
a01eda95b8 oops, remove debugging output
svn-id: r27048
2007-06-02 08:21:09 +00:00
Kostas Nakos
f935b6981b permit only one instance of predictive dialog, add handling of keypad keys
svn-id: r27047
2007-06-02 08:15:06 +00:00
Kostas Nakos
26971aa6ab kill misplaced cursor, refresh only when necessary, add some (cheap) visual feedback on keypress
svn-id: r27046
2007-06-02 06:53:52 +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
Kostas Nakos
10764e965c fixed predictive dialog messing up state if another dialog was already shown
svn-id: r27023
2007-05-30 19:51:08 +00:00
Kostas Nakos
346b12d701 properly direct pred. dialog's output, when started thru the event mechanism
svn-id: r27022
2007-05-30 19:49:33 +00:00
Max Horn
0de170c980 Removing useless common/fs.h includes
svn-id: r27018
2007-05-30 17:44:52 +00:00