Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare new block flags. Add comments.
To model differing behavior of fluids, i.e. half fall distance per in-lava move vs. zero fall distance once in water, block flags will be used. To really do this the NoFall check will be altered to account for new flags. Once at it, the check should also treat from and to independently of each other - there are some inconsistencies, such as how oFallMaxY is set. Further flags are reserved for MIN_HEIGHT..., indicating that compatibility will be improved without compromising protection too much. Thus instead of making a block entirely passable, you could set a specific min height flag alongside ground_height (and possibly height for max. height), in order to allow walking between level x and y but not below (think of grass_path).
- Loading branch information
Showing
3 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters