[ scummvm-Patches-791032 ] SWORD2: Sprite drawing (incomplete)

SourceForge.net noreply at sourceforge.net
Tue Aug 19 09:19:16 CEST 2003


Patches item #791032, was opened at 2003-08-19 09:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=791032&group_id=37116

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: SWORD2: Sprite drawing (incomplete)

Initial Comment:
This patch adds preliminary support for sprite drawing
in Broken Sword 2. The major thing that's missing is
scaling, but it's still enough to look interesting in
the demo. (I have yet to get the full version to run.)

I don't think DrawSprite() is quite the monster
everyone has made it out to be. What makes the function
so big is probably that the original has a graphics
quality setting which. I think these are usually
handled automagically by DirectX, but at least in
DrawSprite() there are software fallbacks. (We should
be able to get our scaling code from one of them.)

You'll notice that even the RDBLTFX_ALLHARDWARE case
has two versions of the RDSPR_BLEND code. One to do
proper blending, and one that just dithers. For now,
I've simply ignored the latter.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=791032&group_id=37116




More information about the Scummvm-tracker mailing list