| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
This avoids unnecessary non-inlined copies.
Also, we had a few large functions that had no reason for inlining, let's
have them be regular ones.
I also made "static inline" always use the same order, for easier grepping.
|
|
|
|
| |
For way too paranoid and underinclusive values of "simple".
|
| |
|
|
|
|
| |
This can matter only for cygwin, though.
|
|
|
|
|
| |
Instead, the cells not in crawl_view.vbuf are now rendered in
load_dungeon.
|
| |
|
| |
|
|\
| |
| |
| | |
Conflicts galore...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, viewgeom.h:struct_cell_t contained tile_fg and tile_bg
members. These were modified in tileview.cc:tile_apply_properties and
view.cc:viewwindow. Whenever a silenced, haloed, bloody or moldy area
was encountered, TILE_FLAG_x was OR'd into the tile_bg.
This functionality was perfect only until the tile_flags enum stayed
within the bounds of a 32 bit unsigned integer. We've now reached the
limit of tile_flags, so any further interaction would either have to be
done in the buffer (which would add more dependency on the game state to
the tiles code, which we're trying to avoid), or have more attributes
added into screen_cell_t and tilegdnbuf.h:packed_cell.
Hence, I went with the latter option: extend screen_cell_t to contained
boolean flags for silence, halo, etc. Instead of having to add new
members to screen_cell_t *and* packed_cell, I instead added a
packed_cell into screen_cell_t.
And it works now, hooray!
|
|/
|
|
|
|
|
|
|
|
|
|
| |
CSET_IBM and CSET_DEC are now merely presets and don't change the I/O encoding.
Doing I/O using any encoding other than the one configured using LANG/LC_* is
just wrong and no well-behaving program should do that.
This does require changes on CAO/CDO, but they would fix problems with ttyrec
and spectating as well.
To fix: ncursesw replaces unrepresentable characters with spaces, we'll have
to replace them by hand.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Also name some bounds checking functions less terribly and move to
viewgeom, and add new screen<->grid transforms.
Fixes issue #2215 (Fedhas targeting with messages_at_top) and is
likely to reduce the chance of future breakage with messages_at_top.
Also likely to introduce bugs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Rather than using explicit offsets (e.g. buffy[0] and buffy[1]), store
colour, glyph, and tiles for each cell in the view buffer in a struct
with named members. This refactoring will also theoretically allow for
the tiles version to display glyphs instead of tiles.
|
|
|
|
|
|
| |
This eliminates a duplicate function that had gotten out of sync with the
original viewwindow. (In particular, this fixes a bug where using X in
the Abyss would show out of sight tiles and the presence of items.)
|
| |
|
|
|
|
| |
This change also gets rid of the ugly intermediate macroing.
|
|
|
|
| |
Also make view.cc use crawl_view_geometry.tbuf for tiles drawing.
|
|
|