Commit Graph

57 Commits

Author SHA1 Message Date
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
Travis Howell
be794a6b84 Fix bug #1544810 - AGI: Launching undefined target 'agi' shows a blank screen
svn-id: r23754
2006-08-26 11:56:49 +00:00
Max Horn
4a80db4c7b * Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright
* Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too)

svn-id: r23645
2006-07-31 13:41:21 +00:00
Johannes Schickel
cfd9977425 Using FilesystemNode::name instead of FilesystemNode::displayName in all game detectors.
svn-id: r23558
2006-07-22 14:50:50 +00:00
Eugene Sandulenko
d2e54d5e3c Patch #1512689: "Fixing AGI Game Detection"
svn-id: r23315
2006-06-26 13:29:40 +00:00
Max Horn
3b1b06b09c Added some FIXME comments to AGI engine
svn-id: r23285
2006-06-24 10:45:47 +00:00
Max Horn
aa8ed526f0 cleanup
svn-id: r23280
2006-06-24 10:05:09 +00:00
Max Horn
75628fe9d7 Renamed class Timer to TimerManager (the old name was somewhat incorrect/confusing)
svn-id: r23278
2006-06-24 09:34:49 +00:00
Max Horn
d210b19aec Move backends/fs/fs.h and .cpp to common/fs/fs.h and .cpp
Rationale: backend implementations belong to backends/, but portable APIs meant to be used by high level code is for common / sound / graphics / ... (compare also with backends/midi vs. sound/mididrv.h)

svn-id: r23274
2006-06-24 08:07:48 +00:00
James Brown
f5fdbcddfb Pop AGIs text.cpp into a class, for later cleanup.
svn-id: r23011
2006-06-10 13:20:29 +00:00
Torbjörn Andersson
a0e3e208ee For the masochists out there,i it is now possible to select the PC Speaker
music driver. There are some other emulation modes, but I'm not sure how they
should be mapped to from our music drivers.

svn-id: r22952
2006-06-06 15:38:34 +00:00
Eugene Sandulenko
5a2fde0baa Fix keyboard input. Now it is possible to use key modifiers freely.
svn-id: r22818
2006-06-01 13:57:19 +00:00
Chris Apers
cbfc7bfc1a objectify AGI sprite.h/cpp
svn-id: r22781
2006-05-30 18:53:01 +00:00
Willem Jan Palenstijn
163ed1afd3 objectify AGI menu.h/cpp
svn-id: r22757
2006-05-29 21:30:48 +00:00
Torbjörn Andersson
e26285b3f8 Apparently some games use the F10 key, which makes it a poor choice for opening
the debug console. Ctrl-D may be just as bad. Does anyone know for sure?

svn-id: r22711
2006-05-28 11:52:24 +00:00
Torbjörn Andersson
db558e3d92 Allow key pad navigation.
svn-id: r22706
2006-05-28 11:08:46 +00:00
Torbjörn Andersson
8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Eugene Sandulenko
d05138fd9c - Fix typo in debug level Scripts.
- Show scripts execution if requested

svn-id: r22637
2006-05-25 21:16:49 +00:00
Eugene Sandulenko
4859de9ae7 Made CGA rendering, EGA/VGA palette selectable via render_mode
svn-id: r22632
2006-05-25 19:46:28 +00:00