Commit Graph

1 Commits

Author SHA1 Message Date
nmlgc 641cdec9f2 [Maintenance] [th04/th05] Dialog: Start a new translation unit with shared code
Thanks to the required word alignment of the `switch` jump table in
TH05's dialog_op(), we do in fact have to slice dialog code into
exactly two* translation units. Three might have been better because we
would have only needed to compile this shared code once, but TH05 also
has one exclusive function in the area covered by this new shared
translation unit anyway. At least we can meaningfully share the actual
source files between games here.

* With an additional one at the end for now, because I absolutely had
  to RE that EMS code in late 2021, but we'll catch up with that one in
  the end.

Part of P0258, funded by [Anonymous] and Blue Bolt.
2023-10-31 22:33:29 +01:00