[REQUEST] Blitting function

Started by Moogster, December 11, 2008, 08:55:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Moogster

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!

Sandman

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. ;)
-- Sandman

Moogster

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!

Drumpi

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.
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

panreyes

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