Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Kitty Hello

Pages: [1] 2 3 ... 702
Announcements / New BETA
« on: 2021-Jun-15 »
Including long requested MEM2FONT and FONT2MEM commands.

GLBasic - en / Re: SPRITE TO FONT
« on: 2021-Jun-15 »
Get the new beta. It contains FONT2MEM and MEM2FONT commands.

I think when uploading the stuff to the new server, the newlines of the zip and png files were changed. But I don't have the original filey anymore. I'll try to find an old backup, but it doesn't look good :(

GLBasic - en / Re: SPRITE TO FONT
« on: 2021-Jun-09 »
Not possible so far. I'm sorry.

For a quick fix, please write (old style) self.m[] = matArray[] // <-- the final braces are the problem. Don't omit so far.

GPC - GLBasic Precompiler V.17.312
Your code compiled fine, here.

Announcements / Re: Comming up features
« on: 2021-Mar-16 »
I replied in the bug-reports. Get the latest beta, it should be fixed.

Off Topic / Re: DLB/GLB
« on: 2021-Mar-16 »
If it's based on GLBasic, why not make it an Add-On that required GLBasic? Win-win?

The packing was broken. Packed content was longer than the original -> buffer overflow. Get the new beta, it's fixed.

Off Topic / Re: DLB/GLB
« on: 2021-Mar-16 »
I think, you have to explain it to me, because at the moment it looks like you want to re-wrap GLBasic in colourful paper, add a ribbon and sell it?

Code: (glbasic) [Select]
FUNCTION GetWidgetID%: name$
LOCAL i%, w AS TWidget
FOREACH w IN self.w[]

Both, the compiler and you happen to be right. The error message is quite bad, though.
You declare a variable 'w' of type TWidget, which shadows the variable self.w[] of type DGArray<TWidget>. Remove the 'LOCAL w AS TWidget', please.

I fixed this bug in the compiler, but I hope I'm not adding other bugs with this. I'll add it to the beta as an update, soon.

Math / Re: Hex To Decimal and Decimal to Hex
« on: 2021-Mar-15 »
Ah. Try this:
Code: (glbasic) [Select]
IMPORT "C" int strtol(const char* str, int endptr, int base)
LOCAL str$ = "ff"
LOCAL n% = strtol(str$, 0, 16)

Fixed in current beta. Can you try?

Announcements / Re: Comming up features
« on: 2021-Mar-13 »
Get the beta branch. The Shoebox bug is fixed. You need to recreate the SBX files, though.

Shoebox compression is totally broken. I'm trying to fix, but I think I will have to reimplement another compression library, making your old sbx files broken. I'll add a header to give you a warning.
I'm sorry. This is a lot of work and I hope to find time for it, soon. I spend a few hours just to track the bug...

Pages: [1] 2 3 ... 702