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
Kostas Nakos
f66fb12718
added EVENT_PREDICTIVE_DIALOG event to bring up the predictive dialog on demand by the backends
...
svn-id: r27005
2007-05-29 20:07:19 +00:00
Eugene Sandulenko
d37e8b62b6
Removing debug leftovers
...
svn-id: r26962
2007-05-27 08:22:04 +00:00
Matthew Hoops
a26a36dad6
typo (interpretator => interpreter)
...
svn-id: r26945
2007-05-26 17:01:32 +00:00
Eugene Sandulenko
dcf368c3a4
Add fallback detector to AGI engine.
...
svn-id: r26939
2007-05-26 15:16:21 +00:00
Eugene Sandulenko
32a8e572d2
Fix potential memory overwrite
...
svn-id: r26938
2007-05-26 15:14:25 +00:00
Eugene Sandulenko
6a3848a299
Make new Schiller previews names more consistent.
...
svn-id: r26807
2007-05-12 14:52:25 +00:00
Filippos Karapetis
069e84b33b
Added MD5 from bug report " #1717129 - Schiller Preview No.2"
...
svn-id: r26803
2007-05-12 11:52:29 +00:00
Max Horn
750d0072ce
Fixed warnings, cleanup
...
svn-id: r26799
2007-05-10 07:48:54 +00:00
Filippos Karapetis
633be17e7f
Fixed bug #1715284 : Roger sometimes disappears
...
svn-id: r26790
2007-05-08 22:35:21 +00:00
Filippos Karapetis
50800d5969
Fixed bug #1658514 : AGI: SQ1 (2.2 DOS ENG) bizzare exploding roger
...
svn-id: r26782
2007-05-07 19:42:59 +00:00
Filippos Karapetis
3413dda0e9
Fixed some comments
...
svn-id: r26771
2007-05-07 05:06:22 +00:00
Filippos Karapetis
ae3e16c970
Changed a workaround made for Space Trek to apply to all AGI fanmade games. The original workaround was inactive for Space Trek in ScummVM, but was activated for some older AGI games, which was not its original purpose. If this causes regressions with other fanmade games, it'd be best to limit it to Space Trek only
...
svn-id: r26766
2007-05-06 14:57:35 +00:00
Filippos Karapetis
d4d04a150d
Added a game ID field for all Sierra AGI games. Removed many types which are now obsolete from the game features field
...
svn-id: r26764
2007-05-06 14:36:02 +00:00
Filippos Karapetis
dc1e1a3f11
Removed several goto statements
...
svn-id: r26763
2007-05-06 10:35:47 +00:00
Filippos Karapetis
0ab860d60d
Fixed bug #1658643 : AGI: SQ1 (2.2 DOS ENG) Graphic error, ego leaves behind copy
...
Also, removed one of the two workarounds for the KQ4 intro, as it's not needed
svn-id: r26754
2007-05-05 23:54:29 +00:00
Filippos Karapetis
b82c68542c
Fix bug #1712585
...
svn-id: r26753
2007-05-05 16:10:12 +00:00
Filippos Karapetis
0ba5afa585
Slight optimization
...
svn-id: r26745
2007-05-04 11:00:16 +00:00