Commit Graph

67 Commits

Author SHA1 Message Date
Eugene Sandulenko
6e795a89b0 AGOS: Reduced header dependency 2011-08-06 11:28:40 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
2b62f6bec3 AGOS: Adapt to setPalette RGBA->RGB change.
I only (minimally) tested this change with Simon 1 + 2 DOS CD.
2011-02-15 23:22:30 +01:00
Max Horn
2d1c8a3533 ALL: Fix whitespaces / indention
svn-id: r55818
2011-02-07 23:01:06 +00:00
Torbjörn Andersson
dde6dabac9 Cleanup: Treat booleans as booleans, not integers. (I hope I didn't mess up,
because that would cause some nasty regressions...)

svn-id: r50643
2010-07-04 07:32:12 +00:00
Travis Howell
8a62c94f80 Enable Personal Nightmare by default.
svn-id: r43304
2009-08-12 02:24:03 +00:00
Travis Howell
1c15bcf87d Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
2009-08-11 14:42:44 +00:00
Travis Howell
8eee50103c Fix recent regression in AGOSEngine_Simon1::drawImage().
svn-id: r42360
2009-07-11 00:38:50 +00:00
Travis Howell
dc0f6dce76 Use graphics surfaces for screen buffers, and always use correct pitch when writing to the frameBuffer.
svn-id: r42163
2009-07-06 06:21:59 +00:00
Travis Howell
dd54193f95 Expand dump image code to cover all games, and add options to the debugger.
svn-id: r40548
2009-05-14 07:05:51 +00:00
Travis Howell
b771aa5f0d Add more code differences in PN.
svn-id: r39261
2009-03-09 08:38:02 +00:00
Travis Howell
2bd2fe43c5 Change Personal Nightmare support to optional, until setjmp/longjmp code is converted.
svn-id: r39253
2009-03-09 02:25:29 +00:00
Travis Howell
56189fcf30 Clarify several errors messages.
svn-id: r39219
2009-03-08 10:08:09 +00:00
Travis Howell
2620d6836c Add initial support for Personal Nightmare.
Thanks to dreammaster for file decompression and icon decoding code.

NOTE: setjmp/longjmp code will require conversion for portability.

svn-id: r39216
2009-03-08 08:45:21 +00:00
Travis Howell
b08c22b283 Fix bottom palette in AtariST version of Elvira 2.
svn-id: r39014
2009-03-01 07:14:13 +00:00
Filippos Karapetis
8b4c44373c Silenced MSVC warnings about uninitialized variables
svn-id: r36251
2009-02-08 21:36:43 +00:00
Travis Howell
5de19ecb28 Cleanup.
svn-id: r36232
2009-02-07 03:36:36 +00:00
Travis Howell
b2332744e4 Cleanup.
svn-id: r36228
2009-02-07 01:11:51 +00:00
Max Horn
9b160804ab Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
09f4fd946e Merged revisions 33052-33053,33056-33058,33061-33064,33068,33070,33072,33075,33078-33079,33083,33086-33087,33089,33094-33096,33098-33099,33104,33108-33109,33114-33117,33120,33135-33146,33160,33162,33165,33167-33169 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r33183
2008-07-21 22:46:39 +00:00
Travis Howell
e1c71dab99 Spacing.
svn-id: r33168
2008-07-21 10:32:20 +00:00
Bertrand Augereau
ecd44b8f90 Avoid branching in the inner loop of AGOS drawVertImageCompressed
svn-id: r33167
2008-07-21 10:13:44 +00:00
Bertrand Augereau
bd17a600dc Split the drawVertImage function in the agos engine to make it clearer
and easier to profile

svn-id: r33083
2008-07-16 09:08:44 +00:00
Bertrand Augereau
9c91f091ff Register spilling avoided in AGOS background drawing (and 2x unrolling)
svn-id: r33062
2008-07-14 20:34:31 +00:00
Christopher Page
30b1a62e81 Removed unnecessary #inlcudes
svn-id: r32984
2008-07-10 05:15:19 +00:00
Christopher Page
e808cdf7a0 Reimplemented pushEvent() and artificialEventQueue to work with Events instead of EventTypes. Reimplemented Queue as a List instead of Array. Updated AGOS, AGI, CINE, GOB, and KYRA to work with the current implementation of the GMM
svn-id: r32971
2008-07-09 02:27:05 +00:00
Christopher Page
a4f56de13a Implemented Common::EventManager::pushEvent() to insert fake events into the event queue. Quit and RTL events have been added, and are now tracked by the DefaultEventManager using shouldQuit() and shouldRTL(). AGOS is working with this new implementation, other engines to follow.
svn-id: r32952
2008-07-07 22:34:45 +00:00
Christopher Page
ca76ef4e1f AGOS Engine: Began implementation for a new quit event which will cleanly return to the launcher. This replaces the old shutdown() method within delay()
svn-id: r32203
2008-05-20 21:40:53 +00:00
Travis Howell
48fac2f9dc Fix palette glitches in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r31233
2008-03-25 08:03:32 +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
Travis Howell
705c1e8403 Fix masking crash in Simon the Sorcerer 1 (Floppy DOS Demo), the address and pitch wasn't set for state->surf2.
svn-id: r27985
2007-07-09 02:27:38 +00:00
Travis Howell
64cafa0270 Fix regressions, due to buffer changes and cleanup.
svn-id: r27578
2007-06-21 05:10:42 +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
ab9b9a1bf3 Cleanup, could cause regressions.
svn-id: r27547
2007-06-19 11:50:22 +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
c983e879e1 Fix regressions, caused by VGATimerEntry type changes.
svn-id: r27044
2007-06-01 23:12:22 +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
e2af13a7f6 Adjust code for paranoid compilers.
svn-id: r26971
2007-05-27 11:54:01 +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
73749ddafa Minor cleanup.
svn-id: r26845
2007-05-15 13:01:36 +00:00
Travis Howell
ee0cb9ee2d Ooops, the y offset in drawBackGround() should be based on state width too.
svn-id: r26843
2007-05-15 07:14:12 +00:00
Travis Howell
2371b4ec03 Fix regressions in the introduction of Simon the Sorcerer 1 and in the DOS Floppy demo of Simon the Sorcerer 1.
svn-id: r26842
2007-05-15 07:08:24 +00:00
Travis Howell
2e53712d31 Correct error in drawImages(), where _window3Flag should have been used.
svn-id: r26839
2007-05-14 00:00:36 +00:00
Travis Howell
a8c6dc6e7d Cleanup.
svn-id: r26833
2007-05-13 13:19:46 +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
Filippos Karapetis
24fa689ee0 Fix compilation with MSVC8
svn-id: r26793
2007-05-09 15:48:18 +00:00
Travis Howell
20bf83a2ce Imrproved support for Elvira 1/2 and Waxworks.
svn-id: r26792
2007-05-09 15:36:05 +00:00
Travis Howell
5c3f6721b8 Fix masking issues in Amiga versions of Simon the Sorcerer 1.
svn-id: r26787
2007-05-08 14:48:46 +00:00