Autor Tema: [REQUEST] Blitting function  (Leído 1810 veces)

Moogster

  • Newbie
  • *
  • Mensajes: 29
  • Karma: 0
[REQUEST] Blitting function
« en: Diciembre 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!

Sandman

  • Sr. Member
  • ****
  • Mensajes: 298
  • Karma: 48
Re: [REQUEST] Blitting function
« Respuesta #1 en: Diciembre 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. ;)
-- Sandman

Moogster

  • Newbie
  • *
  • Mensajes: 29
  • Karma: 0
Re: [REQUEST] Blitting function
« Respuesta #2 en: Diciembre 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!

Drumpi

  • Hero Member
  • *****
  • Mensajes: 6187
  • Karma: 157
  • Odio el periodo "entre proyectos"
    • La web de Drumpi
Re: [REQUEST] Blitting function
« Respuesta #3 en: Marzo 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.
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

  • Administrator
  • *****
  • Mensajes: 2060
  • Karma: 65
    • panreyes.com
Re: [REQUEST] Blitting function
« Respuesta #4 en: Marzo 26, 2009, 02:06:45 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