On Thu, 30 May 2002, Keith Rollin wrote: > >> No, I don't want the resources...I just want to understand how this > >> is done. How can the Palm OS use bitmap resources that are not in > >> the Tbmp format?? What resource ID do you use to draw these bitmaps? > > > > just because it is Tbmp - doesn't mean you have to use WinDrawBitmap() > > to draw it :P you can define whatever you like, maybe your own compression > > and decompression/drawing routines. i can easily craete a Tbmp resource > > like so: > > > >DATA "Tbmp" ID 10 "myrawdata.dat" > > > > try loading the programs into a program like prc-explorer.. maybe > > constructor is not capable of displaying everything :) maybe astraware > > are using Tbmp resources - [/me has a look] > > > > bejewelled has no Tbmp resources, the bitmaps look like they are > > stored as aPPP resources :) which, they are probably defining internally > > to prevent people "stealing" their gfx :P > > Storing non-standard data in a standard resource is probably not a > good idea. Defining a new resource type like 'aPPP' is good, but > redefining 'Tbmp' is not. There's a very good chance that you'll > crash in Palm OS 5.0, as it tries to automatically convert these > presumably standard resources into ARM native format.
not suggesting people do :) i personally dont :P i use stuff like _xxx where xxx = 3 char code that gives me an idea what it is (ie: _bmp or _gfx) :P we used some compression with the lemmings demo.. no easy way to get all those little critters bitmaps *g* [heck, took me a while to define em too] // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
