noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
440 stars 23 forks source link

Extract dialog related code to dialog.go #703

Closed blmarket closed 3 weeks ago

blmarket commented 3 weeks ago

Motivation: Have dialog component with minimal external dependencies.

Change: Define Dialog struct to explain what each fields are. To keep all the logics untouched, it references existing fields without moving definitions. Some existing Go code were moved to legacy package which read/write identified fields.

Next plan: migrate remaining C code accessing those identified fields.

End goal: make sure all the memory access are migrated, then we can safely move the fields definitions to dialog.go as well.

Required sign-off