Search found 327 matches
- Thu Aug 09, 2018 4:57 am
- Forum: Gameplay Mods
- Topic: Lithium 1.7.0 Beta 2 (Feb. 23, 2025)
- Replies: 717
- Views: 259285
Re: Lithium 1.5.3 (Nov. 22 2017) [2.0 info - pg24]
But I think this statement ignores the point that the GZDoom ACS interpreter is only tested with acc.exe. It's known to work with that, and that's pretty much the extent any developer is willing to invest in it, especially for a scripting code set that has an improperly licensed source release for ...
- Wed Aug 08, 2018 5:59 pm
- Forum: Gameplay Mods
- Topic: Lithium 1.7.0 Beta 2 (Feb. 23, 2025)
- Replies: 717
- Views: 259285
Re: Lithium 1.5.3 (Nov. 22 2017) [2.0 info - pg24]
I feel like a lot of Marrub's issues are caused by his mind-boggling development workflow that involves a lot of compiling from one language to another (not just the C-to-ACS. I think there's something else involving actors?). It's very abnormal for a ZDoom project and I can easily see it causing ...
- Fri Sep 15, 2017 7:21 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
Quick update to note that A, the libacs headers have been fixed so the new builds are now actually usable; and B, I now have a Discord server for GDCC and other projects of mine. Link is in the first post.
- Mon Sep 11, 2017 4:00 pm
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
How is it declared in ACS? I think this is on me, though. I wasn't thinking of arrays at all when I answered your previous question. For making an array-stored object that's accessible from ACS, it's a little extra legwork: [[__address(777)]] __addrdef __hub_arr hub_var; [[__address(0)]] hub_var ...
- Sun Sep 10, 2017 7:44 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
Using the address attribute.
Where 7 is of course replaced by the desired index.
Code: Select all
[[__address(7)]] __gbl_reg int SomeVar;
- Sat Sep 09, 2017 8:09 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
You need to compile and link libGDCC. (And probably libc at some point, but that specific function is in libGDCC.)
Code: Select all
gdcc-makelib --bc-target=ZDoom libGDCC -c -o libGDCC.o
gdcc-cc --bc-target=ZDoom test.c -c -o test.o
gdcc-ld --bc-target=ZDoom test.o libGDCC.o -o test.acs
- Tue Aug 29, 2017 8:02 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
I have updated the repository. Unfortunately, due to a bug in the version of gcc that mingw-w64 is (currently) based on, I can't make Windows builds at this time. (Since this is just a header update, though, you can just grab those from the repository off GitHub.)
- Sun Mar 12, 2017 9:22 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
Added. Note that ScriptCall is variadic and therefore passes in arguments as-is. (Important for the C front where you might inadvertently pass floats or multiword types.)
- Wed Feb 22, 2017 10:31 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
Should be fixed now. Was an issue with how I added support for mixed-in attributes with declaration specifiers. (Namely that it actually ignored attributes that didn't occur at the beginning of the sequence.) And your first alternative would have worked, you just needed to cast to (__str_ent *) or ...
- Fri Jan 27, 2017 8:21 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
I have thought about how to add a warning for delays or potential delays when targeting ZDoom. The issue is mostly syntactic. Since GDCC has no special knowledge of any of those functions, it relies entirely on the header declaration to know about such properties. And I have not yet decided on a ...
- Wed Jan 25, 2017 12:28 pm
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
@Nash Added. Also added implicit conversion from line specials to int to the ACS front, so you can pass them to SetLineSpecial as in acc. @bitshifter Sorry about taking so long to get back to you. Been a bad combination of lack of time and needing to find a Mac developer to help diagnose the problem ...
- Sun Jan 15, 2017 9:00 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
@Nash The ones not marked with BC_DGE, just gdcc_vXXX.
- Sat Jan 14, 2017 9:44 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
@Nash Do not use the BC_DGE builds. That branch does not keep up with ZDoom updates (except when merging in master for other reasons). @bitshifter Hopefully the latest commit fixes that. I actually had no idea std::vector<bool> did not have emplace_back until C++14. I'd be interested to know what ...
- Thu Nov 03, 2016 4:24 pm
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
- Tue Oct 25, 2016 9:27 am
- Forum: Creation, Conversion, and Editing
- Topic: GDCC: An Alternative ACS Compiler [0.15.0]
- Replies: 228
- Views: 60934
Re: GDCC: An Alternative ACS Compiler
I rewrote its interpreter years ago. Internally, it has a lot of capabilities that ZDoom's interpreter does not.