Skip to content

Conversation

@nashmuhandes
Copy link

GZDoom 4.11.1 introduced some API breakage that made INIFile not compile. Please see the commit messages for more details.

(Addendum: in the commit messages, I erroneously refered to GZDoom 4.13.2 instead of GZDoom 4.11.1, as that was the engine version I was doing testing with. Technically, the actual API breakage occurred at GZDoom 4.11.1.)

- Functions cannot directly return a multi-return function; these were apparently silently broken since the beginning, and GZDoom has since opted to error these out since GZDoom 4.11.1. The fix for this to multi-assign some local variables, and then return those instead. ZDoom/gzdoom#1892
- Replace some deprecated string/character functions.
- Be explicit with uints, as the engine is now more strict regarding those.
- "default" is a reserved ZScript keyword, change all instances of those to "def".
- For non-empty-string comparisons, explicitly use the .Length() function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant