Commit graph

80 commits

Author SHA1 Message Date
athrxx
1e9b46e367 AGOS: fix regression from 8d175842
(assert triggered in PN due to invalid rect. The dirty rects are only used in Elvira/PC-98)
2021-02-07 03:40:33 +01:00
athrxx
56d897a100 AGOS: (ELVIRA/PC98/Jp) - more fixes
Just walking around the castle fixing bugs as I find them, e. g.:
- make decompression routine safer (this could write a couple of invalid byte in at least one case)
- also support compressed data header without actual data (required in the kitchen scene when killing the evil cook)
- fix some graphics/palette related glitches
2021-01-22 00:47:59 +01:00
athrxx
8d17584247 AGOS: (ELVIRA/PC98/Jp) - more dirty rect handling
Make more use of dirty rect handling (applies to the PC-98 version only, the other versions don't need that).
2021-01-22 00:47:58 +01:00
athrxx
574133086d AGOS: (ELVIRA/PC98/Jp) - add Japanese font drawing
- Add dual layer graphics display to display the Japanese characters in their proper (double) resolution on top of the graphics. The original actually uses text mode.
- Adapt mouse handling to dual layer code.
- For consistency I got rid of all direct calls to _system->lockScreen() and _system->unlockScreen(), even in the sub engines that aren't affected. I find it easier to debug and to maintain this way.
2021-01-22 00:47:58 +01:00
athrxx
bb8c70f865 AGOS: (ELVIRA/PC98/Jp) - fix startup
Add necessary file name and file format modifications so that the game at least loads up and runs up to the start scene without glitches.
2021-01-22 00:47:58 +01:00
Torbjörn Andersson
b57e9ae814 AGOS: Adjust indentation. 2015-06-30 18:54:10 +02:00
Kirben
d48ccd357d AGOS: Fix bug #5986 - AGOS: Simon1 Amiga CD32 Verb Area missing. 2015-06-30 20:43:10 +10:00
Torbjörn Andersson
f94f48ae2b AGOS: Fix invisibility in Amiga CD32 Simon the Sorcerer 1 demo
This probably affects the full version as well, but I haven't
verified that. Either way, the old code was obviously wrong while
the new makes it look right to me.
2014-11-19 22:59:34 +01:00
D G Turner
3d3a791085 AGOS: Switch VGA script debug output to debug flag, rather than level 5.
This is now set by --debugflags=vga_script rather than -d 5, though
it will still require a debug level greater than 0.
2014-05-11 15:26:58 +01:00
Johannes Schickel
c4fc0cee96 AGOS: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Johannes Schickel
01daff0f1d AGOS: Take advantage of Surface::getPixels. 2013-08-03 04:02:50 +02:00
Johannes Schickel
28b74b14ec AGOS: Prefer getBasePtr over direct Surface::pixels access. 2013-08-03 02:52:31 +02:00
Matthew Hoops
0031c41db8 COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI.

This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
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