Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Drawing functions (both curses, tiles and common) rewritten to use
tripoint
s where they will be necessary for proper drawing. Left out some functions that wouldn't use them (ones that only use x/y for on-screen position rather than in-game one).It doesn't yet allow drawing with parameters alone because vehicle, visibility and lit level caches are calculated per-level. If this is necessary, I can write a workaround for the vehicles. Ones for visibility and lit level would be beyond the scope of #6818 and deep into #6821
Until the FoV update, z-level vision will probably be either a debug-only thing or a feature added to peeking (peek up/down) or something like that.
Debug z-level vision already works, except for vehicles (displays them in wrong locations for some reason). To look into other z-levels, activate debug mode, use the look command and change level with the stair climbing commands. Caches for visibility are recalculated on the new level.
Tiles builds and curses builds differ in a number ways and those aren't caused by my changes. For example, hallucination display screw only works in curses.