[ scummvm-Patches-1186744 ] Common line-drawing function

SourceForge.net noreply at sourceforge.net
Wed Apr 20 17:25:45 CEST 2005


Patches item #1186744, was opened at 2005-04-20 17:25
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=1186744&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: Common line-drawing function

Initial Comment:
The Broken Sword 2 engine has always had a line drawing
function. It would be nice if this could be made a
common function so that other engines (e.g. GOBLINS)
could use it as well. I just rewrote the function to
make this kind easier; the patch simply moves that new
function.

Since each engine has its own ideas of how to draw to
the screen - particularly if they handle screen
dirtying - the function works by using a callback to
plot each individual point.

The patch changes the BS2 engine to use the new function.

I'm not sure if util.cpp is the appropriate place for
it. It doesn't fit in the graphics directory, though,
since it doesn't actually do any drawing on its own.


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

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




More information about the Scummvm-tracker mailing list