Hey there … sorry to divert attention from the current discussion for just a moment, interesting as it is … but regarding my initial query, in particular …
I … wanted to be able to play around with Tara McGrew’s Dynamic Object Creation. There is a version compatible with 10.1, but that version breaks in the current 10.2 development branch. More specifically, parts of the Dynamic Tables extension on which it depends fail to compile – and while I worked out a way to get around that, too, thus far, the behavior just isn’t right.
I believe I’ve got things working now in 10.2. I need to do some more thorough testing with it, but at least the documented examples seem to be working okay.
The gist of the fixes were:
(1) Four functions seem to have disappeared from the Basic Inform / architecture kit. Copying them from the 10.1 source and pasting them directly into the extension, sans changes, APPEARS to be working fine, but as it’s unclear why those bits were removed in the first place, that’s something that needs a closer look to make sure it isn’t going to introduce other problems.
(2) The other chief issue seems to have been the underlying change to use 32-bit characters by default in glulx ($DICT_CHAR_SIZE = 4, as opposed to 1), so code that depended on testing the contents of an array buffer character by character broke and needed to be adjusted.
By the way, I couldn’t seem to find a programmatic way to test for $DICT_CHAR_SIZE at runtime. (The compiler doesn’t recognize DICT_CHAR_SIZE and throws an error if I try to test $DICT_CHAR_SIZE, so it’s obviously not a run-of-the-mill global value.) Ideally, particularly for backward compatibility, the extension should adapt based on that setting, so if anyone knows the answer to that one, please do let me know.
In any case, my next question is, assuming further testing looks good on this end, what’s the process for getting a change like this reviewed and checked in to the repository? No rush … just let me know when you have a chance. And if I should move any further discussion specific to those extensions to another thread, let me know that as well.
Thanks!