All Rust commits from Facepunch
code clean up and refactor for better ocean/river/lake waterflow calculations