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

[Cleanup] Moved wettime back into node_t #582

Merged
merged 2 commits into from Jan 19, 2016

Conversation

Projects
None yet
1 participant
@ulteq
Contributor

ulteq commented Jan 15, 2016

This does the following:

  • Let int iswheel and int locked become shorts, to make room for another float.
  • Move float collRadius into the first 64 bytes
  • Fill the freed-up bytes with float wettime

In addition wetstate and wettime are updated only if there is water on the terrain.

ulteq added a commit that referenced this pull request Jan 19, 2016

Merge pull request #582 from ulteq/node_t_Cleanup
[Cleanup] Moved wettime back into node_t

@ulteq ulteq merged commit 4c2045d into RigsOfRods:master Jan 19, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ulteq ulteq deleted the ulteq:node_t_Cleanup branch Jan 19, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment