44 Commits

Author SHA1 Message Date
Max Horn
f445d8c800 Changed AGOS to use full KeyState, not just ascii value, in key events
svn-id: r27800
2007-06-30 22:21:29 +00:00
Torbjörn Andersson
2db2fbfc51 Use KEYCODE constants.
svn-id: r27599
2007-06-22 07:52:53 +00:00
Travis Howell
00829f15c8 Minor cleanup.
svn-id: r27580
2007-06-21 06:37:00 +00:00
Travis Howell
89b2cf75e2 Use frameBuffer directly, in order to drop extra buffer (frontBuffer) and cleanup code.
svn-id: r27577
2007-06-21 03:14:20 +00:00
Travis Howell
60a8c969f7 Restore DIMP specific timer code.
svn-id: r27277
2007-06-10 04:36:44 +00:00
Travis Howell
2d2bda501e Fix timer code in Puzzle Pack, to match original speed.
svn-id: r27275
2007-06-10 04:14:53 +00:00
Travis Howell
fff80bc489 Fix load/save interface in Elvira 1.
svn-id: r27191
2007-06-08 07:50:28 +00:00
Travis Howell
ce903d557a Add option to dump all subrountines in a game, to help with bug reports.
svn-id: r27104
2007-06-05 11:46:39 +00:00
Travis Howell
56cde56d4b Fix input issues in earlier games, and split handleMouseMoved() due to difference in earlier games.
svn-id: r27103
2007-06-05 11:38:26 +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
Travis Howell
0d789e074e Fix glitches caused by interface differences in the AtariST verison of Elvira 2.
svn-id: r26988
2007-05-28 08:54:13 +00:00
Travis Howell
d6e0fe13b5 Add code for opcodes 177/178 in Elvira 2.
svn-id: r26937
2007-05-26 13:23:06 +00:00
Travis Howell
5e1af6f479 Add load/save interface support for Elvira 2 and Waxworks.
svn-id: r26909
2007-05-22 10:31:51 +00:00
Travis Howell
d4191508f6 Cleanup.
svn-id: r26858
2007-05-17 09:00:14 +00:00
Travis Howell
bdb18c60d8 Add idle code for DIMP.
svn-id: r26848
2007-05-16 05:57:26 +00:00
Travis Howell
a8c6dc6e7d Cleanup.
svn-id: r26833
2007-05-13 13:19:46 +00:00
Travis Howell
9a04d1dffb Rename a few variables.
svn-id: r26827
2007-05-13 10:07:55 +00:00
Travis Howell
b6672f37a9 Fix bugs #941074 and #828860, by switching to graphics renderer code used by earlier (non-Windows) versions of Simon the Sorcerer 1/2.
svn-id: r26825
2007-05-13 08:46:48 +00:00
Travis Howell
6452a701be Fix glitches in pause options of Elvira 1.
svn-id: r26796
2007-05-10 00:43:27 +00:00
Travis Howell
20bf83a2ce Imrproved support for Elvira 1/2 and Waxworks.
svn-id: r26792
2007-05-09 15:36:05 +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
Max Horn
72ee9ee86a Changed AGOS to use the EventManager to track the mouse position; added a FIXME comment about _mouseOld never being set
svn-id: r26206
2007-03-18 13:29:12 +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
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
Travis Howell
e3594a6839 Add support for using soundtrack from the Simon the Sorcerer 1 - Music Enhancement Project.
svn-id: r25632
2007-02-16 13:55:01 +00:00
Torbjörn Andersson
6944797891 At Kirben's request, I've applied my old keyboard repeat patch for the AGOS
engine. Swampy's Adventures really needs it, and the more generic solution to
keyboard repeat is apparently stalled.

svn-id: r24964
2007-01-01 07:37:07 +00:00
Travis Howell
bd0a327a39 Remove vga opcodes which are never used by games
svn-id: r24557
2006-10-28 14:08:35 +00:00
Travis Howell
25c38db499 Add drag support for items in Elvira 1/2 and WW
svn-id: r24436
2006-10-22 13:04:34 +00:00
Travis Howell
399f8381a9 Cleanup
svn-id: r24397
2006-10-21 01:51:59 +00:00
Travis Howell
f46fb07f27 Add differences in opcode table for Elvira 2 and cleanup
svn-id: r24294
2006-10-13 11:38:41 +00:00
Travis Howell
71b0add601 Cleanup
svn-id: r24282
2006-10-11 15:10:59 +00:00
Travis Howell
af5c8eb1c3 Remove blocks/tiles related code for PP, which was only required by unreleased game
svn-id: r24092
2006-10-03 10:01:08 +00:00
Travis Howell
97cf93d275 Fix changing map areas in swampy
svn-id: r24062
2006-10-02 06:11:05 +00:00
Travis Howell
2cc1df6fdd Add last tiles code and corrections for Swampy
svn-id: r24061
2006-10-02 05:39:27 +00:00
Travis Howell
3fc8aec422 Add more tiles code for Swampy
svn-id: r24058
2006-10-02 01:09:50 +00:00
Travis Howell
c7a2d1eb6b Update vga timer code to match original PP
svn-id: r24052
2006-10-01 10:48:06 +00:00
Travis Howell
79e07ad97b Add debug output, to find triggers for PP functions
svn-id: r24037
2006-09-30 11:52:24 +00:00
Travis Howell
9b36168deb Ooops, another mistake in isVgaQueueEmpty()
svn-id: r24033
2006-09-30 07:29:23 +00:00
Travis Howell
46ed06fc27 Ooops, increase count in isVgaQueueEmpty()
svn-id: r24032
2006-09-30 07:26:40 +00:00
Travis Howell
b828f5e3bc Add code for isVgaQueueEmpty() in PP
svn-id: r24031
2006-09-30 07:24:30 +00:00
Travis Howell
5c3f7e4d5d Enable more code in oops functions of PP
svn-id: r24030
2006-09-30 07:15:19 +00:00
Eugene Sandulenko
bb1547ab1c Phase 5 of Simon engine renaming. Renamed namespace Simon -> AGOS and
SimonEngine -> AGOSEngine.

Source is compilable and runnable again. I'm done.

svn-id: r24013
2006-09-29 09:44:30 +00:00
Eugene Sandulenko
798c7ee682 Phase 2 of Simon renaming. Simon directory renaming
svn-id: r24009
2006-09-29 08:37:24 +00:00