Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityType bug fixes, optimizations, clean up #37

Open
GoosiferIO opened this issue Apr 15, 2024 · 0 comments
Open

EntityType bug fixes, optimizations, clean up #37

GoosiferIO opened this issue Apr 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@GoosiferIO
Copy link
Member

This cleanup should focus on improvements and bug fixes introduced over the course of the EntityType API implementation.

Meet the following targets:

  • Stress test all Deref implementations of all structs
  • Guarantee offsets for properties on all structs
  • Implement missing string properties with ZTString
  • Implement any missing properties
  • Optimize print_config_for_type for better readability
  • Redesign sel_type to allow users to identity entity types by ID rather than just by selection
  • Improve presentation of printed configuration to the console
  • Add error handling for incorrect input in console

In addition to improvements to helper function in the ztworldmgr module:

  • Rewrite get_entity_type_by_id to support dynamic checking of entity type. Currently it only looks for cNameID located in a ZTSceneryType, but needs support for ZTUnitType and BFOverlayType.
@GoosiferIO GoosiferIO self-assigned this Apr 15, 2024
@GoosiferIO GoosiferIO added the enhancement New feature or request label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant