Skip to content

Conversation

zero318
Copy link
Member

@zero318 zero318 commented Sep 20, 2025

Features:

  • continue keyword
  • string type parameters for inline subs

Features (truth compatibility):

  • ? type for explicitly untyped gvars in mapfiles
  • C format for colors in ECL
  • ~ operator support
  • loop keyword for unconditional loops

Bug fixes:

  • MoF-DS didn't have accurate entries in the expression table
  • Old engine ECL was using a timeline instruction format that didn't accurately match any game
  • Correct signatures for everything in old engine ECL that thtk currently has formats for
  • Inline subs didn't allow stack slots to be reused for other purposes
  • Type punning inline sub parameters caused miscompilation

zero318 added 12 commits August 23, 2025 15:56
This is useful for truth compatiblity
to reflect when instructions were added
- t format is recognized
- Timelines can now use n/N formats
- A new T format for resolving timelines by name
- Lots of format table corrections
- Versions before IN did not have rank masks for timelines, instead using that field for a larger size parameter. Trying to give timeline instructions a rank mask previously just crashed, so disable doing that.
- Versions after IN got rid of the embedded arg0, instead using that field for a larger time parameter.
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