To make the conversion easier, need to have a better understanding of undefined structs in the C code where it's hard to understand when the code has lots of pointer offset access. I found those 2 structs have a minimal external dependency (only need to use platform ticks) so created this change.
Changes
Made assumption of structs from the C code.
To avoid any possible regression, only the function parameter type has been updated. Some go unit tests were introduced to demonstrate the fields are working as expected.
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
To make the conversion easier, need to have a better understanding of undefined structs in the C code where it's hard to understand when the code has lots of pointer offset access. I found those 2 structs have a minimal external dependency (only need to use platform ticks) so created this change.
Changes
Made assumption of structs from the C code.
To avoid any possible regression, only the function parameter type has been updated. Some go unit tests were introduced to demonstrate the fields are working as expected.
Required sign-off