Index:
[thread]
[date]
[subject]
[author]
From: Denis Oliver Kropp <dok@fischlustig.de>
To : ggi-develop@eskimo.com
Date: Sun, 27 Jun 1999 20:16:00 +0200
Re: ClanMarks on BeOS, Linux, Windows
Marcus Sundberg´s crap from Son, 27 Jun 1999:
> Denis Oliver Kropp wrote:
> > BeOS
> > ---------------------
> > fill_rect 30315 hw
> > fill_rect alpha 65
> > put_screen 4429
> >
> > BeOS
> > ---------------------
> > fill_rect 1763
> > fill_rect alpha 65
> > put_screen 4426
>
> I can't find any references to BeOS neither in ClanLib CVS or at
> your web-pages. Where is the code for that?
On my harddrive ;-) very unstable for now.
Will possibly merge into ClanLib 0.1.17
> How is fill_rect implemented in ClanLib'ss BeOS code?
ClanLib gets a hook function from the driver once:
typedef long (*fill16_hook)(long,long,long,long,uint16);
fill_rect16 = (fill16_hook)cardHookAt(13);
fill_rect() does:
fill_rect16( crect.m_x1, crect.m_y1, crect.m_x2, crect.m_y2, pixelcolor );
instead of:
ggiSetGCForeground( vis, pixelcolor );
ggiDrawBox( vis, crect.m_x1, crect.m_y1, crect.m_x2 - crect.m_x1, crect.m_y2 - crect.m_y1 );
>
> //Marcus
> --
> -------------------------------+------------------------------------
> Marcus Sundberg | http://www.stacken.kth.se/~mackan/
> Royal Institute of Technology | Phone: +46 707 295404
> Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
--
Denis Oliver Kropp (dok)
+ Fischlustig +
ClanBomber, the kick ass game that uses kick ass Clanlib.
www.fischlustig.de/clanbomber www.clanlib.org
Justice, n.: A decision in your favor.
Index:
[thread]
[date]
[subject]
[author]