Quantcast
Channel: ZDoom
Viewing all articles
Browse latest Browse all 3391

Creation, Conversion, and Editing • Re: zt-bcc: Maintained BCC fork - v0.10.0 alpha 5

$
0
0
Two updates I forgot to post here.
Another release dedicated primarily to fixes, but there's also a new feature. Sorry for the rather unstable code I churned out earlier.
-Added #pragma pointer_space. Allows defining a default address space for pointers/references (ex: #pragma pointer_space global 10).
-Removed PTR_SPC define from libbcs.
-Fix question mark property not being initialized in some cases (resulted in random errors involving nullable reference type checks).
-Fix broken array type reference check (would cause perfectly matching reference types to error out, and the inverse).
-Fix void array references not being implicitly converted to structure references.

Internal changes:
-Remove unused member in ref_struct.

I also didn't forget to update the internal version string this time, so "zt-bcc -version" will properly output "0.10.0-alpha-4". Yay.

The wiki received some clean up and updates as well, and so did README.md. They should be up to date with current zt-bcc, so I recommend checking them out if you're interested.
https://github.com/zeta-group/zt-bcc/wiki
More than just fixes, we finally have some more new features, and even better... zcommon.bcs is up to date with current Zandronum 3.2! I hope you all enjoy and get some good use out of it.
* Updated zcommon.bcs to the latest Zandronum 3.2 functions and definitions.
* Added `module` as one of the address spaces you can specify for pointers, which is normally the default without `#pragma pointer_space`.
* Added `memcmp` to libbcs, works much like C `memcmp.` Useful for raw structure/array comparisons.
* Inlined and optimized all code for the printf-like functions in libbcs, should be faster now.
* libbcs map template definition now takes a compare function for keys. Current options are `LIBBCS_SIMPLE_CMP` and `LIBBCS_STRING_CMP`.
* Numerous fixes to the map template in libbcs, should work reliably now.
* Inline ASM lines must now end in semicolons rather than line breaks.
* Non-private reference initialization warning should only occur for module references now.
* Fixed code for accessing world/global references instead generating instructions for accessing module storage in some cases.
* Fixed reference type checking. Again.
If you want to stay as up to date as possible, please follow the Github repository, or check the thread over at the Zandronum forums: https://zandronum.com/forum/viewtopic.php?f=58&t=10336

Statistics: Posted by TDRR — Sat Mar 08, 2025 7:36 pm



Viewing all articles
Browse latest Browse all 3391

Trending Articles