| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
They're non-const and get amended already.
|
|
|
|
|
| |
It was a line break, which broke WebTiles messages causing a black
screen.
|
|
|
|
|
|
| |
This bizarre map took around 4% of qw CPU. Separating the defs into
something directly addressable costs nothing but a minor duplication during
initialization that could be put into a function.
|
|
|
|
|
| |
These weren't caught by util/unbrace because they weren't at the
beginning of the line.
|
| |
|
|
|
|
| |
A map can recycle overwritten keys, a vector can't.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently env.show stores information about the LOS rectangle, while
env.map_knowledge stores the rest of the map.
This unnecessarily complicates the code, makes serialization harder,
and makes it hard to change the LOS model.
This code uses map_knowledge for both kinds of data.
Regressions are quite possible.
Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes env.map_knowledge having more information than it
really should; fixes issue #1019.
Instead of creating new generic dungeon_feature_type members,
this just maps to one of the features quite arbitrarily. This
doesn't matter because console crawl will display them all the
same, and tiles chooses its tiles based on the displayed console
character.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
env.show is now a class show_def that stores tagged
unions of type show_type. For the moment, there's also
env.show_los for use in LOS determination, but that
should become an array of boolean at some point.
This breaks save compatibility.
Tiles and console version build and appear to work
fine, but this kind of change is likely to have
some side-effects.
|
|
|