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
Stuart George
b9cd2ae97f
Added some extra game versions, KQ2, KQ3, KQ4, Groza, DDP
...
svn-id: r24908
2006-12-20 23:59:09 +00:00
Stuart George
374f87d7cb
Added AdvancedDetection to AGI engine. Only added KQ1 for testing
...
svn-id: r24877
2006-12-19 01:11:41 +00:00
Torbjörn Andersson
efb38a5d60
Fixed compile errors (for me at least). Still plenty of warnings, though.
...
svn-id: r24809
2006-12-06 19:44:27 +00:00
Paweł Kołodziejski
1d3ca2e409
first phase of objectisation of agi engine
...
svn-id: r24808
2006-12-06 19:27:02 +00:00
Eugene Sandulenko
c5bed9ebb7
Specify proper copyright line for AGI engine.
...
svn-id: r24737
2006-11-18 19:58:17 +00:00
Max Horn
8d37c135c0
Since we now generate warnings/messages for engine instantiation failures in a central place, get rid of such messages printed by engines
...
svn-id: r24686
2006-11-12 03:26:44 +00:00
Max Horn
a2dc897fe5
Reduce code duplication
...
svn-id: r23888
2006-09-16 15:01:14 +00:00
Torbjörn Andersson
fb27c58977
Don't create a second Menu object unless the first one has been deleted. This
...
seems to fix bug #1553513 ("AGI: Crash after restart").
svn-id: r23833
2006-09-07 16:13:41 +00:00
Torbjörn Andersson
c49cf0c6ed
This could possibly fix bug #1551524 ("MAXOSX: Cannot Backspace in AGI Games").
...
We have a similar backspace handling in several other engines.
svn-id: r23827
2006-09-04 18:57:12 +00:00