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

Bringing parity back for pathfinder, movement and a number of find APIs. #349

Merged
merged 5 commits into from
Apr 19, 2021

Conversation

Azaril
Copy link
Contributor

@Azaril Azaril commented Apr 18, 2021

  • Cleanup duplicated traits across structures.
  • Move to using serde-wasm-bindgen instead of built-in bindgen serialization that uses stringification + JSON parsing.
  • Implement pathfinder functions back to parity including options callbacks.
  • Implement typed find methods. (Still missing 'Terrain' find.)
  • Add strongly typed wrapper containers for 'Array' and 'HashMap' JS objects.
  • Add 'as_has_store' back to structure enum type. (Other traits need adding still!)
  • Add missing structure properties.
  • Remove old stdweb code for functionality that is now implemented.

NOTE: This is not very well tested as there's a lot of surface area missing just to get back to parity. Once parity for critical functionality is done it will be simpler to test with existing bots.

@Azaril Azaril requested a review from shanemadden April 18, 2021 04:38
@Azaril Azaril merged commit 39331d1 into rustyscreeps:bindgen Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants