summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tile2.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add spelling fixes where possible: "gray" -> "grey".dolorous2008-07-041-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6381 c06c8d41-db1a-0410-9941-cceddc491573
* For Tiles, use some of the other wall types in the Abyss as well to makej-p-e-g2008-07-011-2/+27
| | | | | | | it more interesting. The rest is mostly clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6307 c06c8d41-db1a-0410-9941-cceddc491573
* Add a few new tiles, one the exclusion centre (I can't be the only onej-p-e-g2008-06-271-13/+20
| | | | | | | | | | | | | who has trouble to remove an exclusion because I can't find its centre) and four additional blood variations. They are all rather similar to the up to now only one - too similar, perhaps. In any case, those areas of bloodsoaked battlefields (such as you'll encounter in the Abyss or Pandemonium) look a bit more interesting now. The way the variant is chosen is unfortunately rather hacky, and might lead to unexpected patterns. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6176 c06c8d41-db1a-0410-9941-cceddc491573
* Misc. minor cleanups. (Yes, a huge amount of them but still...)j-p-e-g2008-06-261-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6146 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 1948131: Quiver slot name wraps around the screen.j-p-e-g2008-06-151-11/+12
| | | | | | | | Also fixes tile issues where the inventory was partly covered or not shown at all. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5844 c06c8d41-db1a-0410-9941-cceddc491573
* [1974966] Display icon for hostile weapons in tiles.ennewalker2008-06-121-0/+5
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5768 c06c8d41-db1a-0410-9941-cceddc491573
* I'm not sure I actually coded anything worthwhile, though I experimentedj-p-e-g2008-06-021-43/+45
| | | | | | | | | | | | | | | | a fair bit and as usually ended up doing lots of clean-up. Oh wait, I modified eat_from_floor prompts to only force a more if there was actually a message before trying the inventory (whoops), and also modified the corpses in pack hint to take into account that a saccing player won't be interested in butchering rotten corpses. Also implemented a modified FR 1981119: when Detect Creatures only detects plants already seen before, print a different message ("You detect no further creatures."). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5435 c06c8d41-db1a-0410-9941-cceddc491573
* Moving player halo into the player tiles so that it can be layered on top of ↵ennewalker2008-04-241-4/+7
| | | | | | the shadow. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4587 c06c8d41-db1a-0410-9941-cceddc491573
* Replace cloak of Starlight tile with Eino's improved version.j-p-e-g2008-04-231-6/+5
| | | | | | | | | | Add background tiles for TSO halo. I've tried around with several versions, and this is the best of those I came up with. It might still be annoying, or distracting, or whatever. Also, the player doll's shadow hides part of the halo which is weird. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4529 c06c8d41-db1a-0410-9941-cceddc491573
* Fixes to compile with Visual C++. Moved direct.cc and direct.h to directn.* ↵dshaligram2008-04-191-1/+1
| | | | | | to avoid conflict with VC++ direct.h header. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4390 c06c8d41-db1a-0410-9941-cceddc491573
* [1943740] Fixing issue with odd tiles in Pan when saving and reloading.ennewalker2008-04-191-2/+6
| | | | | | Also, fixing misplaced viewwindow that was drawing the screen before the right tiles for that level were selected. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4376 c06c8d41-db1a-0410-9941-cceddc491573
* [1941246] Cleaning up wininit.txt issues:ennewalker2008-04-191-1/+0
| | | | | | | | Crawl no longer croaks when not finding the file. Deleted file from repository for the sake of convenience. Fixed default sizes so that &~ no longer wraps strangely. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4353 c06c8d41-db1a-0410-9941-cceddc491573
* [1941577] Fix for crashes when resizing screen.ennewalker2008-04-181-6/+6
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4346 c06c8d41-db1a-0410-9941-cceddc491573
* Removing tile cruft left behind by (long-removed) isometric mode.ennewalker2008-04-181-185/+123
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4344 c06c8d41-db1a-0410-9941-cceddc491573
* Allow vampires to mutate when Satiated or higher, and make non-physicalj-p-e-g2008-04-151-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | mutations only apply at these hunger levels, too. Differentiated mutations into physical (affecting a character's appearance and stuff: scales, hooves, wings, ...) and internal (resistances etc.). I guess this is what people usually refer to as "cosmetic", which I think is an inaccurate description since it makes it sound like they were completely superficial and had no real effect. Here's a list of arbitrarily chosen "physical" mutations: * tough skin, all scales, and fur * strong/clever/agile, and weak/dopey/clumsy * deformed * strong but stiff, and flexible but weak * frail, and robust * claws, fangs, hooves, talons, and horns * stinger, wings * blue/green marks Mutations currently not applying are still listed on the 'A' screen, though in darkgrey and in (brackets). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4246 c06c8d41-db1a-0410-9941-cceddc491573
* Another code cleanup.j-p-e-g2008-04-151-13/+15
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4244 c06c8d41-db1a-0410-9941-cceddc491573
* Another one of those pesky spacing changes.j-p-e-g2008-04-151-48/+46
| | | | | | | | One of these days Crawl *will* win the Cleanest Code Championship, just you wait... :p git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4242 c06c8d41-db1a-0410-9941-cceddc491573
* Applying static method conventions to acr.cc and items.cc - this resultedj-p-e-g2008-03-251-11/+12
| | | | | | | | | | in removing several unused functions from the latter file. Renaming tiles options show_items and title_screen to tile_show_items and tile_title_screen. And as usual, cleaning up tiles code some more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3876 c06c8d41-db1a-0410-9941-cceddc491573
* Another huge code clean-up for tiles. At this rate, soon no linej-p-e-g2008-03-251-118/+122
| | | | | | | in the tile code will have been untouched. :p git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3874 c06c8d41-db1a-0410-9941-cceddc491573
* Adding graphic for neutral monsters. (A smiley face.)ennewalker2008-03-241-3/+2
| | | | | | Fixing a magic mapping issue. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3849 c06c8d41-db1a-0410-9941-cceddc491573
* Refix tiles monster brands to show the heart for friendlies.j-p-e-g2008-03-231-525/+534
| | | | | | | And another huge code cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3838 c06c8d41-db1a-0410-9941-cceddc491573
* Introduce a temporary neutral brand for tiles because it was driving me nutsj-p-e-g2008-03-231-1/+7
| | | | | | | | | | | | when testing Ely's pacifying. (Currently only inappropriately reuses TILE_NEW_STAIR, which will have to be replaced with something more distinctive some time.) Also add an option for colouring neutrals on the minimap (defaults to red, like hostiles) and allow secondary item use by Ctrl-L-clicking on items in inventory (firing weapons, unwielding rods, etc.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3830 c06c8d41-db1a-0410-9941-cceddc491573
* Another batch of msvc compile fixes.pauldubois2008-03-101-2/+2
| | | | | | | | | | | | | | Added wrapper implementation for opendir/readdir Other functions left stubbed out. It's a shame that crawl's "direct.h" conflicts with <direct.h>. Fixed up use of AppHdr.h in a couple places (it must be included first); changed project to use precompiled headers. crawl now compiles cleanly but doesn't link. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3573 c06c8d41-db1a-0410-9941-cceddc491573
* [Bug 1907221] Add "Modified for Crawl Reference" statement and author to aj-p-e-g2008-03-081-0/+7
| | | | | | | | huge number of files. Also correct file name comments. No coding changes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3539 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing Win32 tile issue with cursor not being displayed on out of sight tiles.ennewalker2008-03-011-16/+17
| | | | | | Reverting previous change to make cursor be red on out of sight tiles that have been seen. You can still click on them to travel and so it feels wrong to have the cursor appear invalid. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3498 c06c8d41-db1a-0410-9941-cceddc491573
* Adding different art for staves and rods so that they no longer look identical.ennewalker2008-02-291-1/+11
| | | | | | Rearranging staff and rod art assets. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3478 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing "unknown stair" tiles issues where stairs that should be known ↵ennewalker2008-02-111-9/+8
| | | | | | weren't being drawn as such. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3426 c06c8d41-db1a-0410-9941-cceddc491573
* Adding icons (from Denzi) for identified staves and rods, now that identical ↵ennewalker2008-02-101-4/+15
| | | | | | | | staff types share the same description. Removing old Nethack item tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3425 c06c8d41-db1a-0410-9941-cceddc491573
* Adding "unknown stair" marker for tiles.ennewalker2008-02-091-0/+9
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3420 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed [1879026] (Tiles) Wrong display of cached player tile.ennewalker2008-02-091-37/+33
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3419 c06c8d41-db1a-0410-9941-cceddc491573
* Fix collision between gotoxy(int,int,int) and DOS djgpp gotoxy().dshaligram2008-01-251-11/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3337 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing tile caching bug (resulting in temporarily disappearing items/monsters.)ennewalker2008-01-201-2/+4
| | | | | | Added sanctuary art. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3310 c06c8d41-db1a-0410-9941-cceddc491573
* Added rock worm and transparent wall tiles from Denzi.ennewalker2008-01-201-1/+5
| | | | | | | Added blood splatter. More tile code cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3304 c06c8d41-db1a-0410-9941-cceddc491573
* Tile support to show travel exclusions.ennewalker2008-01-191-69/+103
| | | | | | | Added status graphic for poisoned monsters. Changing tile storage type from unsigned short to unsigned int to have room for more flag bits. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3300 c06c8d41-db1a-0410-9941-cceddc491573
* Making mouse-over region larger on Linux.ennewalker2008-01-181-86/+25
| | | | | | | Reformatting mouse-over messages to be consistent. More tile code cleanup and dead code removal. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3299 c06c8d41-db1a-0410-9941-cceddc491573
* [1838120] Ghosts change icon when saving and restoring in tile versionennewalker2008-01-181-1/+1
| | | | | | [1843058] Player info too close to map in tile version git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3296 c06c8d41-db1a-0410-9941-cceddc491573
* Some more improvements for (you guessed it) the tiles. j-p-e-g2008-01-181-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hey, I can't help it! :) Fix 1872624: Detect creatures revealing too much info The tiles drawn for detected monsters are now mons_genus(monster). It's not quite as strict as only showing the letter in ASCII (e.g. merfolk, minotaur and elephant slug have different genus but one common letter), but it's certainly better than showing the actual monster. Some more changes to L-click action in inventory, this time adding rods to the mix that can now be evoked rather than unwielded. Also: * Fix cut-off of first digit in item quantities > 99 * show friendly monsters on map overview as lightred (hostiles remain darkred) * show player on map overview as white even when zooming around in X-mode * general clean-up And, not tile-related: FR 1819454: * add mutation line for gourmand behaviour of Ogres and Troll. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3295 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing title screen redraw issue.ennewalker2008-01-121-8/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3262 c06c8d41-db1a-0410-9941-cceddc491573
* Fix tiles title screen issues on Win32.ennewalker2008-01-121-14/+14
| | | | | | Continuing tile code cleanup. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3257 c06c8d41-db1a-0410-9941-cceddc491573
* s/LONG_SWORDS/LONG_BLADES/ (cbus).dshaligram2008-01-101-1/+1
| | | | | | Use skill_name() to describe weapon skills. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3239 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing compilation issues from ghost changes.ennewalker2008-01-101-7/+8
| | | | | | Fixing incorrect asserts in tiles code. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3236 c06c8d41-db1a-0410-9941-cceddc491573
* Adding title screen for tiles (and title_screen option.)ennewalker2008-01-051-6/+23
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3206 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing Pan assertion.ennewalker2008-01-051-21/+36
| | | | | | | | | Fixing Pan coloring issue. Adding new dungeon tiles from Denzi. Fixing lack of initialization of tiles when going up stairs to a new level. Allowing for different flavors of lava and water. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3199 c06c8d41-db1a-0410-9941-cceddc491573
* tile2.cc cleanup. Removing unused ISO code. Removing (more) hard tabs.ennewalker2008-01-051-96/+8
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3197 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles!ennewalker2008-01-051-0/+3023
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573