----- Original Message -----
From: "Henk Jonas" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, October 30, 2002 6:06 AM
Subject: Re: BITMAPFAMILYEX


> hm, what did I say... The simulator selects now always the low
> resolution bitmap... fxxxxx
> And the sound only plays once...
>
> Henk
>
> Henk Jonas wrote:
>
> >
> > Hi Markus,
> >
> > thank you. Do you have to move the bitmap resource before you can
> > uncompress it?
> > At the moment I've implemented the BITMAPFAMILYEX, which works but for
> > Sony, I would have 2 the hires versions two times. There is no real
> > small lowres version anymore etc. Not very nice. There comes another
> > question in my mind does pilrc understand something like #ifdef...
> > Maybe I will end up with several defined resources, and decide in the
> > makefile, which I will include in my app.
> >
> > Henk
> >
> > Markus Dresch wrote:
> >
> >> hi henk,
> >>
> >> i support hires on sony and tried to use the same graphics for the new
> >> high
> >> density api. i dont use BITMAPFAMILYEX though, i only load the sony
> >> graphics
> >> and convert them to BitmapV3 internally.
> >>
> >> // load picture from resources
> >> ....
> >> // uncompress it and convert it to os5 bitmap
> >>
> >> if(isOS5){
> >>         BmpCompress(picture, BitmapCompressionTypeNone); //uncompress
the
> >> bitmap
> >>         picture = BmpCreateBitmapV3(picture, kDensityDouble,
> >> BmpGetBits(picture[i]), NULL);
> >> }
> >>
> >>
> >> markus dresch (www.palmside.com)
> >>
> >> "Henk Jonas" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> >> news:99525@;palm-dev-forum...
> >>
> >>> Hi all,
> >>>
> >>> I'm starting to use the hires feature for PalmOS 5. My first example
> >>> will be a game called Basketball. The game has already hires support
for
> >>> Sony using HRWin... calls. Now I've read what Palm tells me about
their
> >>> way to support hires bitmaps and I'm a bit lost.
> >>> I'm trying to add a BITMAPFAMILYEX resource to the game and the
question
> >>> is: which bitmap will be returned from this family in PalmOS < 5 on
> >>> Sonys devices? Do I have to add the hires bitmap 2 times, one for
PalmOS
> >>> 5 and one for Sony? Is there a better way to support both?
> >>>
> >>> tnx for all answers,
> >>> Henk
> >>>
> >>> --
>
>>> ------------------------------------------------------------------------
-
> >>>
> >>> [EMAIL PROTECTED]
> >>> www.metaviewsoft.de
> >>>
> >>> <A
> >>> HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
> >>> <IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
>
>>> ------------------------------------------------------------------------
-
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >>
> >>
> >
> >
>
>
> --
> -------------------------------------------------------------------------
> [EMAIL PROTECTED]                                       www.metaviewsoft.de
>
> <A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
> <IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
> -------------------------------------------------------------------------
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to