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
[x] I confirm that my PR does not contain any commercial or protected assets and/or source code.
[x] I agree in advance that my codes will be licensed automatically under the Apache License or similar BSD/MIT-like
open source licenses in case if OpenNox Project will adopt such a non-GPL license in the future.
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