Re: NEIL HELP NEEDED!

new topic     » goto parent     » topic index » view thread      » older message » newer message

jiri babor <jbabor at PARADISE.NET.NZ> wrote:

>>1. How do I load a bitmap then extract individual bitmaps from it?
>>(For instance, I have 15 64x64 tiles in the one bitmap file, and I
>>want to extract all of them to a tiles[] sequence.)
>
>For 8-bit bitmaps it is pretty trivial, just follow the bloody manual.
>You can use the standard read_bitmap function.

It's my understanding that you CANNOT use graphics.e with neil.e, and
neil.e DOES NOT (cannot?) use the standard read_bitmap function! I checked
the neil.doc and cannot find any reference to a "read_bitmap" function.

When you use neil, you have to use a "load_bitmap" function which returns a
handle to the bitmap and its size.

This does give me a clue, however, as he says when creating a virtual
screen (which load_bitmap does), it is just a memory address and the
graphic is linear... meaning stored in sequence, one bit after the other...
right? So, I could grab that memory, put it into a sequence, rotate it
using your function, then spit it back out to that memory location. Right?

>I dug out a routine I wrote some time ago.

I actually have your rotate.e ready to be used... I just need the sequence
on which to use it, and up 'til now didn't have a clue.

I have already created a large bitmap holding the rotating bitmap. I'll
just use load_bitmap then sub_screen the turned images.

>I haven't got Win2k, but if it's a descendant of NT, just forget
>it. I believe the system will not allow you to fiddle with it at the
>low level Neil does.

Yes, Win2K is the wicked spawn of NT, and Brian Broker said the same thing
regarding the "no low-level tinkering." Hmmmm. So, does that mean no hires
DOS graphics on an NT box? Just for my notes...

Thanks!
<\<

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu