Bennu Game Development

English Forums => Suggestions => Topic started by: Moogster on December 11, 2008, 08:55:17 PM

Title: [REQUEST] Blitting function
Post by: Moogster on December 11, 2008, 08:55:17 PM
Hello SplinterGU,

First, obviously a big thank you for the effort you've put into this project already! I was thinking about a function I'd really like to see in Bennu, a more flexible form of the xput function where one can specify a map to be blit by giving the pixel-positions for all four corners. I suppose the function would look somewhat like this:
[code language="bennu"]
xput_quad(int file, int graph, int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4[,int flags])
[/code]
This would be an extremely helpful function for a lot of purposes, most notably maybe those games that want some sort of semi-3D effect(in the game, in the minimap, etc).

I'm not too up to date on the who-does-what within Bennu, maybe I need to talk to Sandman for this?

In any case, thanks in advance!
Title: Re: [REQUEST] Blitting function
Post by: Sandman on December 11, 2008, 09:19:55 PM
Yes that would be a nice feature. But ultimately the best thing for it is an external library that does software 3D. But maybe you are right and it should be in mod_map or map_screen indeed. Personally I'm not much into software blitting, but it's a good idea. I was planning on adding this functionality to Sangine indeed. I should get back to work with Sangine now. ;)
Title: Re: [REQUEST] Blitting function
Post by: Moogster on December 11, 2008, 09:27:53 PM
Software 3D is nice of course, but in many cases the whole scene rendering can be cutout and just a small blitting effect is plenty for the job..

In other news, yes, you should very much pick up Sangine indeed! Last worklog is dated July 31st.. :) Date-me-up!
Title: Re: [REQUEST] Blitting function
Post by: Drumpi on March 26, 2009, 12:28:20 PM
It's a 'bit' late, but i think there is a Fenix Dll that does it. Sorry, but i can't remember it's name. If i can remembre, it's made by titonus, who add this dll to his VSE.dll.
Title: Re: [REQUEST] Blitting function
Post by: panreyes on March 26, 2009, 02:06:45 PM
Quote from: Drumpi on March 26, 2009, 12:28:20 PM
It's a 'bit' late, but i think there is a Fenix Dll that does it. Sorry, but i can't remember it's name. If i can remembre, it's made by titonus, who add this dll to his VSE.dll.
expand.dll maybe?
It's included in the Bennu Pack 1.4.1