Commit Graph

58 Commits

Author SHA1 Message Date
Chris Apers
500481c4ec Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
svn-id: r28803
2007-09-01 19:13:04 +00:00
Torbjörn Andersson
0998a2440a The drawStripToScreen() does nothing if width <= 0. In bug #1759925 ("COMI:
100% crash in SVN (not in 0.X.0)"), height was a fairly large negative number,
so I've added a test for that condition as well. This seems to fix the bug.

svn-id: r28199
2007-07-25 19:56:43 +00:00
Robin Watts
b1feb9c65c This commit adds a new build define USE_ARM_GFX_ASM (and sets it for the WinCE
and DS builds). This causes the scumm engines graphics code to call ARM
routines to do drawStripToScreen and copy8col.

These routines were originally written for the DS port, and have now been made
available to any other ARM device out there that wants them. 

I've tested this change on WinCE, but can't test it on the DS as I don't have
one. We know that the routines work there though.

svn-id: r28016
2007-07-10 20:20:50 +00:00
Torbjörn Andersson
0a5654fefc Cast the pointer to long instead of int to possibly fix the amd64 compile
problem mentioned earlier on the channel. Neither seems like a particularly
nice thing to do, but this is how we do it in the SDL backend, and it has
apparently worked fine there...

svn-id: r28012
2007-07-10 17:28:48 +00:00
Eugene Sandulenko
1db83059b0 Preliminary (and buggy) Kanji support.
svn-id: r27998
2007-07-10 00:39:12 +00:00
Max Horn
aaa987201e SCUMM: more cleanup in ScummEngine::drawStripToScreen, added a big TODO comment explaining how to potentially speed up this code a lot
svn-id: r27997
2007-07-09 21:56:35 +00:00
Max Horn
9782c35eaf SCUMM: use the _compositeBuf, with 'natural' line pitch (implying linear memory access for potentially better performance)
svn-id: r27988
2007-07-09 09:21:25 +00:00
Max Horn
0a662bfb7e cleanup in ScummEngine::drawStripToScreen; in particular, the code is now more efficient for The Dig, FT and COMI
svn-id: r27980
2007-07-08 22:13:50 +00:00
Max Horn
14244685f3 SCUMM: hercules gfx code cleanup
svn-id: r27979
2007-07-08 21:42:39 +00:00
Max Horn
b51f2f3212 Implemented the OSystem framebuffer API, as discussed on scummvm-devel. All changes are just fine, and won't cause any compile problems or regressions, despite the fact that I can't test most of the non-SDL backend changes, at an improbability level of two to the power of two hundred and seventy-six thousand to one against - possibly much higher. Anything you still can't cope with is therefore your own problem. Please relax.
svn-id: r27548
2007-06-19 22:39:59 +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
32c7ee7748 Fix bug #1684010 - SPYFOX1: Background buffer not been cleared.
svn-id: r26280
2007-03-23 03:06:10 +00:00
Travis Howell
8da557fbd5 Correct image offsets, for PC Engine version of Loom.
svn-id: r25960
2007-03-04 04:26:20 +00:00
Travis Howell
b0fea397ab Allow PC Engine version of Loom to at least start up.
svn-id: r25951
2007-03-03 12:59:48 +00:00
Travis Howell
19d2310b71 Add support for using disks images for Apple II version of Maniac Mansion.
svn-id: r25846
2007-02-25 07:23:52 +00:00
Travis Howell
8bef04f94a Add Quietust's patch, to fix graphical glitch in MM NES with scrolling and objects.
svn-id: r25619
2007-02-16 02:26:42 +00:00
Max Horn
6899e72be9 Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
svn-id: r25454
2007-02-10 02:05:59 +00:00
Max Horn
11a8d8f265 Some comment cleanup
svn-id: r25334
2007-02-02 12:51:44 +00:00
Max Horn
27432a4dc1 Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
svn-id: r25250
2007-01-28 20:11:31 +00:00
Max Horn
2ac841f18b Make use of Surface::getBasePtr
svn-id: r25119
2007-01-18 21:48:23 +00:00
Max Horn
c210aff40c * Made Actor::_pos protected, added public Actor::getPos() method
* Added default params to Actor::putActor()
* Removed Actor::getActorXYPos

svn-id: r24742
2006-11-19 00:39:48 +00:00
Max Horn
d02e4d7f7c Removed CHECK_HEAP
svn-id: r23979
2006-09-23 11:29:32 +00:00
Max Horn
fd85c13d8f Cleaned up Gdi::roomChanged
svn-id: r23938
2006-09-18 22:22:35 +00:00
Max Horn
60951b6f1a Moved some more code from class Gdi into new subclasses GdiV1 and GdiV2
svn-id: r23937
2006-09-18 22:06:39 +00:00
Max Horn
2cd0544cb9 Re-disable blit mask hack (oops)
svn-id: r23936
2006-09-18 21:46:44 +00:00
Max Horn
1324677395 Moved NES specific code from class Gdi to GdiNES
svn-id: r23934
2006-09-18 21:20:21 +00:00
Max Horn
a0e1a98647 Oops, accidentally broke TMSK support for HE 72+ games
svn-id: r23933
2006-09-18 19:58:22 +00:00
Max Horn
06ddd876a5 Fix --disable-he
svn-id: r23932
2006-09-18 19:22:40 +00:00
Max Horn
d9f16b8a4a indention fix
svn-id: r23931
2006-09-18 19:17:55 +00:00
Max Horn
2906e8d2a3 Moved some code from Gdi::drawBitmap to separate methods
svn-id: r23930
2006-09-18 19:16:31 +00:00
Max Horn
285aa5d0b2 renamed ScummEngine::restoreBG to restoreBackground; renamed and moved Gdi::copyVirtScreenBuffers to ScummEngine_v70he::restoreBackgroundHE
svn-id: r23925
2006-09-17 23:35:09 +00:00
Max Horn
51017cf1b2 Renamed ScummEngine::res to _res and allocate the ResourceManager on the heap (i.e. _res is a pointer now)
svn-id: r23922
2006-09-17 20:36:48 +00:00
Max Horn
8c0b0c0120 Changed ScummEngine::gdi to _gdi and allocate the Gdi object on the heap (i.e. _gdi is a pointer now)
svn-id: r23921
2006-09-17 20:22:47 +00:00
Travis Howell
155f65815e Fix bug #1528535 - ZAK FM-TOWNS: Wrong stripe in background.
svn-id: r23642
2006-07-31 12:53:15 +00:00
Max Horn
bea72e9514 Patch #1519399: DS Backend
svn-id: r23452
2006-07-09 11:47:17 +00:00
Travis Howell
36807a857d Add cyx's patch for VAR_FADE_DELAY timer changes in fade effects
svn-id: r23255
2006-06-22 00:03:13 +00:00
Travis Howell
3c11d2fa18 Move moveScreen to common surface functions for graphics
svn-id: r23218
2006-06-21 11:33:04 +00:00
Travis Howell
286de879fd Add cyx's patch for bug #1035739 - SCUMM/SMUSH: Ugly palette change when video finishes
svn-id: r23216
2006-06-21 10:28:09 +00:00
Travis Howell
4b2aa54304 Revert back to original method used for scrollEffect(), fixes regressions.
svn-id: r23214
2006-06-21 06:50:50 +00:00
Travis Howell
f4ff7fabad Add patch for bug #1507856 - INDY3 VGA: Crashes in Sewer
svn-id: r23177
2006-06-19 07:45:40 +00:00
Travis Howell
bc6306192d Fix screen scrolling glitch when looking at the top of closet in parents room of DOS version of fbear
svn-id: r23174
2006-06-19 04:09:39 +00:00
Travis Howell
a0d14a0832 Fix Commodore 64 versions
svn-id: r22732
2006-05-29 12:45:11 +00:00
Max Horn
1735b0421b Make use of the new scummLoop_* functions to move some SCUMM version specific stuff around
svn-id: r22219
2006-04-29 13:01:35 +00:00
Torbjörn Andersson
d137204772 Call updateScreen() from waitForTimer() (instead of usually right before it)
for smoother mouse cursor movement.

svn-id: r21993
2006-04-17 23:45:48 +00:00
Eugene Sandulenko
d292c0ec55 Since our debug() adds an exclamation mark at the message end, remove
it in several calls to avoid duplication!!11!

svn-id: r21607
2006-04-04 22:04:51 +00:00
Andrew Kurushin
3331de7105 Fix MSVC warnings #3
svn-id: r21442
2006-03-24 18:33:47 +00:00
Travis Howell
79b5c11ee2 Minor cleanup
svn-id: r21331
2006-03-16 12:12:05 +00:00
Travis Howell
60b66f31df Update comment, to make sense
svn-id: r21330
2006-03-16 12:08:25 +00:00
Max Horn
0cc41c7cbb Renamed & documented the LIGHTMODE flags
svn-id: r21288
2006-03-14 14:06:44 +00:00
Max Horn
ee087df293 Enhance the new getCurrentLights to work for V6+ games, too, making it possible to remove several special cases throughout the code
svn-id: r21286
2006-03-14 13:36:13 +00:00