Commit Graph
234 Commits
Author SHA1 Message Date
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
Torbjörn Andersson 0c5d862ab1 Removed code that at least for now is presumed dead.
svn-id: r26304
2007-03-25 20:23:14 +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
Torbjörn Andersson 8a2529b2d6 Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat
when scrolling the list of savegames.

svn-id: r26175
2007-03-17 16:08:29 +00:00
Torbjörn Andersson 53624376b4 Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.

Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.

svn-id: r26170
2007-03-17 15:44:26 +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
Eugene Sandulenko b12db77620 Patch #1678264: "AGI: Extending the number of save slots"
svn-id: r26098
2007-03-12 08:43:13 +00:00
Max Horn 48a401d9dd Removing dead code
svn-id: r25878
2007-02-26 12:07:20 +00:00
Eugene Sandulenko 80eb248a0e Get rid of _opt. Cleanup.
svn-id: r25549
2007-02-13 15:27:36 +00:00
Eugene Sandulenko f2dff4dec6 Fingolfin's patch for improving dictionary loading speed. Applied as is.
svn-id: r25503
2007-02-12 00:21:30 +00:00
Eugene Sandulenko 90a7cbd6d7 Get rid of AGI_AMIGA and use platform setting instead.
svn-id: r25469
2007-02-10 17:10:55 +00:00
Torbjörn Andersson ea131c6049 Select default render mode based on platform: Amiga mode for Amiga games, EGA
mode for PC games. You can, of course, still override it.

svn-id: r25457
2007-02-10 10:27:07 +00:00
Max Horn 73c3625f1f Fixing various doxygen warnings
svn-id: r25362
2007-02-03 21:37:52 +00:00
Eugene Sandulenko d3b0ff8ade Reduce dependency from common/advancedDetector.h
svn-id: r25156
2007-01-21 20:24:38 +00:00
David Symonds a2f49d31fb Remove #include "agi/text.h"; fixes build. Pointyhat to aquadran.
svn-id: r25103
2007-01-16 13:09:42 +00:00
Paweł Kołodziejski b47eb95316 Formating names in source code
svn-id: r25101
2007-01-16 12:40:51 +00:00
Stuart George baf9d63f5b Fixed version number printing in alt-d dialogue box
svn-id: r25070
2007-01-12 02:31:04 +00:00
Eugene Sandulenko 1403c8e6b0 Slighty modified patch #1631229: "Revamp of AGI savegame system"
svn-id: r25069
2007-01-12 02:29:20 +00:00
Max Horn 29f59fc468 Renamed amiga -> amigaMode and agds -> agdsMode; also some minor cleanup
svn-id: r25047
2007-01-07 18:02:54 +00:00
David Symonds ee1d36b915 Removed almost all the remaining hires code.
svn-id: r25037
2007-01-06 17:53:15 +00:00
David Symonds fc2454556a Another set of unused hires code bites the dust.
svn-id: r25036
2007-01-06 17:21:33 +00:00
David Symonds 5e2bd94f7a Start removing hires code from AGI engine.
svn-id: r25033
2007-01-06 17:07:13 +00:00