Commit graph

57 commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
8c81b5026a AGOS: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Torbjörn Andersson
f6bac7b6c6 AGOS: Fix restoreBlock() regression
The whole restoreBlock() function looked strange. It said it took x, y,
w and h, but it seems pretty clear that what it expects is left, top,
right and bottom.

Except in one case, where the order of the parameters had been swapped.

The most visible result of all this was that The Feeble Files crashed
when you pressed the "Off" button in the Oracle interface.

I've changed the names of the parameters, and that one strange call, and
changed how the function calculates the dirty rect. Hopefully that
should be correct.
2021-06-01 22:22:47 +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
512ae9cfe3 AGOS: (ELVIRA/PC98/Jp) - add static msg strings + some fixes
(this concerns mostly the save/load/pause texts)
2021-01-22 00:47:58 +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
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
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
Filippos Karapetis
b4f1960318 Reverted parts of revisions #44298, #44299 and #44300, to prevent warnings and issues in compilers which don't support NORETURN
svn-id: r44314
2009-09-24 17:52:53 +00:00
Filippos Karapetis
9026b63503 AGOS: Fixed some warnings about unreachable code
svn-id: r44298
2009-09-24 09:53:51 +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
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
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
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
8d8c46e36f Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
svn-id: r33848
2008-08-13 20:45:00 +00:00
Travis Howell
fd65ea311a Hopefully allow quiting at any stage AGOS engines games again.
svn-id: r33693
2008-08-08 02:18:17 +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
Travis Howell
59b0bf8fa1 Correct background color when displaying saved game list in Amiga versions of Simon the Sorcerer 1.
svn-id: r31230
2008-03-24 06:48:09 +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
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
f95c8450cb Fix line wrapping of text in Elvira 2.
svn-id: r27522
2007-06-18 10:57:50 +00:00
Travis Howell
c03fe8e8cf Fix window scrolling in earlier games.
svn-id: r27183
2007-06-08 02:18:22 +00:00
Travis Howell
56a7a29c42 Fix inventory arrows still been shown in Elvira 1, when inventory is removed.
svn-id: r27181
2007-06-08 01:47:29 +00:00
Travis Howell
bb476586b7 Fix inventory arrows in Elvira 1.
svn-id: r27170
2007-06-07 15:42:59 +00:00
Travis Howell
bcd4dfb86a Fix incorrect position of characters in Elvira 2, caused by column offset difference in clearWindow.
svn-id: r27154
2007-06-07 00:54:17 +00:00
Travis Howell
3547c13e49 Updates, to keep Amiga demo of Elvira 1 working.
svn-id: r27102
2007-06-05 09:14:59 +00:00
Travis Howell
06d9b8ea39 Fix palette glitches on printScroll background, during many scenes in Eivira 1.
svn-id: r27100
2007-06-05 08:48:30 +00:00
Travis Howell
43511e8ed2 Change printChar variables to signed, to allow removal of work around for The Feeble Files.
svn-id: r27075
2007-06-04 05:02: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
5f84a9ce71 Add minor code differences in Elvira 2 and Waxworks.
svn-id: r26969
2007-05-27 11:46:42 +00:00
Travis Howell
82d6145be5 Minor cleanup.
svn-id: r26913
2007-05-22 13:11:06 +00:00
Travis Howell
766d889b69 Move code to correct position.
svn-id: r26912
2007-05-22 11:31:31 +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
aa89759a55 Trigger palette update in colorWindow() for Elvira 2.
svn-id: r26824
2007-05-13 05:58: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
1a69604e82 Cleanup.
svn-id: r26769
2007-05-07 01:11:10 +00:00
Travis Howell
76c98a03af Fix regression that caused input to fail, after load or save error occurs.
svn-id: r26756
2007-05-06 09:31:32 +00:00
Travis Howell
b2f9c5ab8e Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
2007-02-12 11:27:11 +00:00
Travis Howell
f55320f988 Add inital pause code for Elvira 1/2 & WW, and cleanup
svn-id: r24723
2006-11-15 13:11:53 +00:00
Travis Howell
415ec67056 Cleanup
svn-id: r24639
2006-11-06 13:59:11 +00:00
Travis Howell
a2abbf919d Add inital load/save code changes for earlier games and cleanup
svn-id: r24622
2006-11-05 06:26:45 +00:00