Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ IncTileHash1D
Function
IncTileHash1D
src/vehicle.cpp:405–408 ·
view source on GitHub ↗
* Increment 1D hash to next bucket. */
Source
from the content-addressed store, hash-verified
403
* Increment 1D hash to next bucket.
404
*/
405
static inline uint IncTileHash1D(uint h)
406
{
407
return (h + 1) & TILE_HASH_MASK;
408
}
409
410
/**
411
* Compose two 1D hashes into 2D hash.
Callers
1
SkipEmptyBuckets
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected