Commit Graph
105 Commits
Author SHA1 Message Date
Christopher Page 369f7b0d08 AGI: Modified AGI Engine to shutdown without using system->quit
svn-id: r32329
2008-05-27 20:15:36 +00:00
Christopher Page e41bd1eae8 AGI: Fixed two memory leaks when returning to launcher from AGI Engine
svn-id: r32236
2008-05-24 00:08:13 +00:00
Eugene Sandulenko d1d227db83 Fix initialization of Apple //gs sound
svn-id: r31659
2008-04-22 20:33:46 +00:00
Filippos Karapetis 71f6a7e855 Allow the predictive dialog to be shown when ego cannot be moved (i.e. when _game.playerControl is 0), since in those cases it is possible to enter text in the input area. Should fix bugs #1935844 - "PQ1: Predictive Text does not load" and #1936374 - "LSL1: No predictive input at age verification page"
svn-id: r31462
2008-04-10 08:27:09 +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 66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Kari Salminen b8a455db9b Define and use enumerations for AGI Mouse protocol 1.0's button states.
svn-id: r30620
2008-01-23 00:06:10 +00:00
Kari Salminen 8d1dd18bda Implements 2 arguments version of the adj.ego.move.to.x.y-command. Should fix bug #1733297 (GR: Actor stuck (Amiga version)). Savegames when using adj.ego.move.to.x.y-command may be broken at the moment.
svn-id: r30602
2008-01-21 21:09:42 +00:00
Kari Salminen 5a2440ce1b Fix for isalpha() assertions (Almost identical to revision 29924's fix). Added the rationale for this fix in comments so hopefully this won't happen a third time at the same point in code ;).
svn-id: r30531
2008-01-17 11:16:00 +00:00
Filippos Karapetis 6f4acae161 Fixed some issues with AGI keyboard input
svn-id: r30356
2008-01-09 12:59:11 +00:00
Kari Salminen 64601d446f Workaround for Amiga Gold Rush's broken picture 147 by patching it.
svn-id: r30263
2008-01-05 21:10:49 +00:00
Max Horn 67d14ed322 Silence a -Wuninitialized warning
svn-id: r30205
2008-01-03 23:36:55 +00:00
Max Horn 4b897807c5 Clarify AGI FIXME
svn-id: r29930
2007-12-20 22:14:50 +00:00
Filippos Karapetis 193760a40f Fix for isalpha() assertions
svn-id: r29924
2007-12-20 17:04:15 +00:00
Max Horn 44effa32eb Further changes to the AGI keyboard code, matching it against the original Sarien SDL input code. There are still quite some bits which are unclear to me, though
svn-id: r29921
2007-12-20 14:57:05 +00:00
Max Horn d7e358acfa More cleanup
svn-id: r29917
2007-12-20 14:28:40 +00:00
Max Horn a47446600a get rid of unused globals
svn-id: r29916
2007-12-20 14:26:03 +00:00
Max Horn a556368c99 Update mouse coordinates onn *all* mouse events, i.e. also after click events
svn-id: r29657
2007-11-28 15:00:41 +00:00
Max Horn 402a3dbbe3 cleanup
svn-id: r29617
2007-11-23 10:51:16 +00:00
Max Horn 207ecdb332 Change the AGI image stack to use Common::Stack
svn-id: r29608
2007-11-22 10:32:36 +00:00
Eugene Sandulenko c640d1c604 Patch #1825276: "DETECTION: advanced detector engine simplification"
svn-id: r29386
2007-11-03 21:06:58 +00:00
Filippos Karapetis 39da7deefb Fix for bug #1751483 - "AGI: The -x command-line option appears to be broken"
svn-id: r29346
2007-10-31 21:28:33 +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
Eugene Sandulenko 7f08865ec5 An early WIP of PreAGI (TrollVM) support
svn-id: r28787
2007-09-01 14:58:46 +00:00
Kari Salminen aa8db3f74f Added a definition for Apple IIGS sound emulation mode, made sound initialization set it when appropriate and instruments loading use it.
svn-id: r28647
2007-08-17 13:10:57 +00:00
Kari Salminen c987d6aaf0 Added rudimentary classes for different AGI sound resources (IIgsMidi, IIgsSample, PCjrSound). Made existing code to at least work with PCjrSound.
svn-id: r28630
2007-08-15 22:00:31 +00:00
Kari Salminen b99153050a Moved AgiSound definition around and also changed it from a struct to a class.
svn-id: r28629
2007-08-15 18:37:52 +00:00
Neil Millstone 91426f82c6 Porting DS word completion keyboard changes from branch0-10-0.
svn-id: r28125
2007-07-16 22:55:44 +00:00
Torbjörn Andersson 7a7212b9c1 Fixed bug #1751385 ("LSL: Impossible to enter "Number 9""), which was
introduced when migrating to KEYCODE constants. Considering how silly the bug
was, I probably introduced it myself.

svn-id: r28017
2007-07-10 21:24:58 +00:00
Kari Salminen 969df42d01 Make AGI's button drawing use AgiButtonStyle. Doesn't use Amiga-style yet. It's next.
svn-id: r28014
2007-07-10 18:08:35 +00:00
Torbjörn Andersson 83e038de19 For some reason, AgiTextColor(amigaBlack, _olderAgi? amigaOrange : amigaPurple)
caused a linking error on my computer. Worked around that, and added curly
braces for (IMO) better readability.

svn-id: r28013
2007-07-10 17:41:40 +00:00
Kari Salminen b2cae8fe15 Oops. AgiButtonStyle::getColor's color parameters were bool rather than int. Fixed.
svn-id: r28011
2007-07-10 17:04:09 +00:00
Kari Salminen 80cdd532bc Add AgiButtonStyle and create correct style according to render mode (Supports PC and Amiga styles).
svn-id: r28009
2007-07-10 15:28:43 +00:00
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
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
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 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
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
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
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 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 55152e4055 Fix for loading savegames from the command line.
svn-id: r26567
2007-04-22 16:06:00 +00:00
Eugene Sandulenko 3be109b646 More safe version of patch #1689533: "AGI: Load from command line"
svn-id: r26560
2007-04-21 21:35:30 +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