zt-bcc: Maintained BCC fork - v0.9.0

Maps, modifications, add-ons, projects, and other releases for Zandronum. Also includes announcers.
Post Reply
User avatar
TDRR
Forum Regular
Posts: 214
Joined: Thu Jun 28, 2018 9:13 pm
Location: Venezuela

zt-bcc: Maintained BCC fork - v0.9.0

#1

Post by TDRR » Sat Aug 07, 2021 7:12 pm

zt-bcc (Zeta Group BCC) is a continuation of Positron's BCC with bugfixes and mostly minor new features, along with proper SLADE support.
BCC is an alternative ACS code compiler for ports supporting ZDoom ACS, featuring many extensions over vanilla ACS, but still keeping almost 100% compatibility with it, to make projects easy to port over and take advantage of all the new features.

Some of the features over regular ACS include:
*Structures
*Enumerations
*Namespaces
*Preprocessor
*Strong types
*References to objects (limited support) and functions (full support)
*Block scoping
*Optional function parameters
*Logical-AND (&&) and Logical-OR (||) are short-circuited
*foreach loop
*Nested functions
*Message-building blocks, for more dynamic prints and text formatting

If you find any bugs, please post about them here or on the Github repository for the project.

Check the project wiki for documentation on zt-bcc's features and usage. And also how to set SLADE up to use it.

Download: https://github.com/zeta-group/zt-bcc/releases/latest
Source code: https://github.com/zeta-group/zt-bcc
Last edited by TDRR on Tue Jan 17, 2023 8:00 pm, edited 2 times in total.
"I will find joy in Yahweh. I will delight in my Elohim. He has dressed me in the clothes of salvation. He has wrapped me in the robe of righteousness like a bridegroom with a priest’s turban, like a bride with her jewels."
-Isaiah 61:10 (Names of God Bible)

User avatar
TDRR
Forum Regular
Posts: 214
Joined: Thu Jun 28, 2018 9:13 pm
Location: Venezuela

Re: bcc-slade: BCC but for SLADE (04/09/21, more stable version)

#2

Post by TDRR » Sat Sep 04, 2021 4:38 am

Updated. Now the version used as a base is 0.8.0 instead of commit d58b44d, which was unstable, had no documented changes on the wiki, and as a result of that some things that were fine in 0.8.0 would result in deprecation warnings. Hopefully this change will provide more ease of use and stability.
"I will find joy in Yahweh. I will delight in my Elohim. He has dressed me in the clothes of salvation. He has wrapped me in the robe of righteousness like a bridegroom with a priest’s turban, like a bride with her jewels."
-Isaiah 61:10 (Names of God Bible)

User avatar
TDRR
Forum Regular
Posts: 214
Joined: Thu Jun 28, 2018 9:13 pm
Location: Venezuela

Re: zt-bcc: Maintained BCC fork - v0.9.0

#3

Post by TDRR » Tue Jan 17, 2023 8:03 pm

Updated once more. This is zt-bcc, a fork of BCC, that supersedes BCC-SLADE since it accomplishes the same purpose better, and then does some more.

Changes compared to BCC 0.8.0:
*Added #pragma raw define on/off, which allows enabling/disabling C-like preprocessor macros.
*Added #pragma raw include on/off, which allows enabling/disabling preprocessor include (can appear at almost any point in the file).
*Preprocessor directives are now case insensitive like the rest of the language.
*Fixed broken runtime assert message (was supposed to be tinted red originally, but the code for it was buggy).
*zt-bcc can now be used with SLADE to compile BCS code. Doom Builders should work too, but currently untested.
*Removed ACS/ACS95 compilation modes. If needed, BCC 0.8 or ACC can still be used for this purpose.
*zcommon.bcs should be up to date with all new Zandronum, GZDoom and K8Vavoom functions.

Source changes:
*Removed all non-standard functions (hopefully).
*Fixed all warnings, at least when compiling under MSYS2 with MinGW.
"I will find joy in Yahweh. I will delight in my Elohim. He has dressed me in the clothes of salvation. He has wrapped me in the robe of righteousness like a bridegroom with a priest’s turban, like a bride with her jewels."
-Isaiah 61:10 (Names of God Bible)

Post Reply