Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » Allegro 4.2.1 & AllegroGL 0.4.0RC7 bugs

This thread is locked; no one can reply to it. rss feed Print
 1   2 
Allegro 4.2.1 & AllegroGL 0.4.0RC7 bugs
Elias
Member #358
May 2000

Quote:

We do this for textures, not for bitmaps.

Yeah, I realized - but the combination could work (?)

--
"Either help out or stop whining" - Evert

Niunio
Member #1,975
March 2002
avatar

I'm late, sorry. I was out-line :(

Milam Mimica said:

[quote Niunio]
fonttest.c doesn't work. No error message, no window, no output, no nothing, just do nothing...

I remember it crashing when my desktop color depth was 16-bit depth. set_gfx_mode failed or something... Can you try it in 32-bit?
</quote>

I am in 32-bit yet... Anyway, I've loaded the fonts (a1.bmp, a8.bmp, a24.tga and a32.tga) with The Gimp and I get an 64x64 bitmap. I think they are corrupt or so... I've attached the bitmaps I have.

-----------------
Current projects: Allegro.pas | MinGRo

bhagabhi
Member #1,660
November 2001

Just found a minor bug in the documentation:
(a /* turned the wrong direction in the example)

http://www.allegro.cc/manual/api/bitmap-objects/create_bitmap_ex

its the same in the tar.gz package at least, but not at all equally visible, due to syntax highlighting. Typically, right after release of 4.2.1... :(

(I tried to mail [AD], but didn't manage to do it for some reason, so I report it here instead.)

Elias
Member #358
May 2000

Niunio: Are the other bitmaps (e.g. mysha.pcx) ok? I remember something about mysha.pcx getting corrupted by something in the past.. can't remember what though. You can always get the correct pictures here btw: http://allegrogl.svn.sourceforge.net/viewvc/allegrogl/trunk/examp/

If I unpack the .tar.bz2 here, it has the correct files as well.. so not sure what's going on. Do .tar.bz2 archives have line-ending conversion markers or something?

bhagabhi: thanks, fixed in SVN

--
"Either help out or stop whining" - Evert

Niunio
Member #1,975
March 2002
avatar

You're right. mysha.pcx was corrupted. I've downloaded the bitmaps from the link you put and it worked.

You should fix this in the nex releases.

Thanks.

-----------------
Current projects: Allegro.pas | MinGRo

Milan Mimica
Member #3,877
September 2003
avatar

Which package did you download exactly: zip, tgz or bz2? Or it was SVN?

Niunio
Member #1,975
March 2002
avatar

I download alleggl-0.4.0_rc7.tar.bz2

-----------------
Current projects: Allegro.pas | MinGRo

Milan Mimica
Member #3,877
September 2003
avatar

I downloaded the same file. No corruption ???

Elias
Member #358
May 2000

Niunio's files are missing all 0x0d (13, CR) bytes. Independent of if they are near LF bytes or not, any 0x0d in the files is gone. So it seems, somewhere along the way, a program strips all 0x0d bytes.. my guess would be whatever unzip program he is using. This would leave all text files intact, but destroy any binary files.

It still seems strange.. would be a pretty serious bug of an unzip program, so something else must be going on here, like maybe .tar.bz2 can mark files as binary or text (and the way i create them, anything is text).

--
"Either help out or stop whining" - Evert

Niunio
Member #1,975
March 2002
avatar

Elias said:

Niunio's files are missing all 0x0d (13, CR) bytes. Independent of if they are near LF bytes or not, any 0x0d in the files is gone. So it seems, somewhere along the way, a program strips all 0x0d bytes.. my guess would be whatever unzip program he is using. This would leave all text files intact, but destroy any binary files.

Maybe. I use 7-zip. I'll download the tar.gz of the final version and try it.

-----------------
Current projects: Allegro.pas | MinGRo

 1   2 


Go to: