summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tiles.h
Commit message (Collapse)AuthorAgeFilesLines
* Tiles: Add icons for poisonous/mutagenic/... chunks or corpses.Johanna Ploog2010-01-091-0/+1
| | | | | | | I'm not sure how to visualize contaminated chunks, so they haven't got an icon yet (maybe use coagulated blood?) Also, I've opted to only show the icons for rotten chunks if the character is capable of eating them. Otherwise, them being rotten is all that's of interest to the player.
* Distinguish icons of neutral and good neutral monsters.Johanna Ploog2010-01-061-8/+9
|
* Customisable clouds!Jude Brown2009-12-281-1/+1
| | | | | | | | | | | | | | | | | | | | | cloud_struct now has members for colour, name, and tile; colour will be used instead of the default colour of the cloud type, and will be used to recolour the tile of the cloud (if it exists). Name will be used to rebrand the cloud's description, and also alter the message generate while standing in a cloud. Finally, tile can be used to completely customise the tile used for the cloud. The value is stored as a string in order to maintain save compatibility across ASCII and tiles. A random tile (found using tile_main_count) from that set will also be used, however, no duration effects will be applied. Recoloured cloud tiles using just the colour code should be possible, though aren't yet fully tested. This commit bumps TAG_MAJOR_VERSION: changing marshalling of the FogMachine Lua code causes nasty crashes on reloading saved games. Otherwise, I don't think I broke anything else. :-)
* tiles: only include tiledef-*.h in files where they're neededSteven Noonan2009-12-121-3/+1
| | | | | | | This eliminates the annoying full rebuild that happens when the tiledefs are modified. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Add purge's tile for berserk monsters. Very neat, thanks!Johanna Ploog2009-12-071-0/+1
|
* Move tile_draw_floor into view.cc.Robert Vollmert2009-11-181-1/+0
| | | | | It seems like it should be merged with some of the other code there.
* Get rid of multiple-meaning "int object" in env.show.Robert Vollmert2009-11-041-2/+2
| | | | | | | | | | | | | 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.
* Drop obsolete CVS last-committed headers ($Author$).Adam Borowski2009-10-061-2/+0
|
* Add spelling fixes.David Lawrence Ramsey2009-09-231-1/+1
|
* Adding spell images, rltiles build script, and a tileidx_spell function. ↵ennewalker2009-09-111-0/+1
| | | | | | There are quite a few spells that don't have images (marked as TODO in tileidx_spell) and about three images that are named "unknown" because I can't figure out what they map to. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10651 c06c8d41-db1a-0410-9941-cceddc491573
* Fix draconians not being handled correctly in the doll edit screen.j-p-e-g2009-08-191-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10579 c06c8d41-db1a-0410-9941-cceddc491573
* Reimplementing playing with dolls ('-' command). Keys are mostly the same ↵ennewalker2009-08-181-5/+8
| | | | | | | | | | | | | | as the 0.4 version and are documented. Dolls are no longer limited in what features they can force, so your character can always look like a flaming centaur with wings if that's how you want to present yourself. This shouldn't cause any major breakage with save games or dolls.txt files, although expect some weirdness. Sorry. Also, fixed a bug where barding wasn't appearing on nagas or centaurs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10568 c06c8d41-db1a-0410-9941-cceddc491573
* * Add a tile for detected secret doors as suggested by zebez, then turnedj-p-e-g2009-07-131-6/+7
| | | | | | | | | | | | | the idea on its head. * Fix corpses getting the wrong blood stain background tile (also a patch by zebez), and change around the colours a bit: a red blood stain now shows that Vampires can drain the corpse, undrainable corpses get the green background instead * Apply a small patch by Josh Triplett to give more appropriate messages when glowing weapons are sacrificed and disappear "without a glow" git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10209 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles: Save per-character equipment setting and use it in the characterj-p-e-g2009-07-071-1/+2
| | | | | | | | | | | | | | | | selection menu. TODO: Use this instead of dolls.txt for initialising dolls, falling back on dolls.txt if name.tdl cannot be found and for new characters. I've tried displaying floor type but found it resulted in an information overload, and also distracts from the main information (species, equipment), esp. since it's mostly floor and most of the tile is covered anyway. I left it in (though commented out), so it's in the repository, but will remove it afterwards. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10122 c06c8d41-db1a-0410-9941-cceddc491573
* * Fix centaur/naga tiles not being displayed correctly in the characterj-p-e-g2009-07-031-7/+0
| | | | | | | | | | | | | | | | | selection menu. * Add dolls_data to player_save_info struct, to make it easier to read in per-character doll information once we get around to that. Including the tiledef files in externs.h is probably overkill, though, so we might want to move player_save_info into another header file. * Fix Xom's repel stair effect moving shops. * Fix decks granting permanent summons at low power (and only at low power). * Make default settings of the brand options consistent between init.txt and initfile.cc. * Update FAQ. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10086 c06c8d41-db1a-0410-9941-cceddc491573
* Apply my tile doll fixes to trunk.j-p-e-g2009-06-201-1/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10011 c06c8d41-db1a-0410-9941-cceddc491573
* Another step on the way to player doll customization. Including somej-p-e-g2009-06-181-2/+2
| | | | | | | | predefined doll settings in dolls.txt, so players can actually use this. TODO: Save choice back into file. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9999 c06c8d41-db1a-0410-9941-cceddc491573
* * More steps on the path to reintroducing player doll customization.j-p-e-g2009-06-171-36/+37
| | | | | | | Also apply my two previous commits to trunk. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9995 c06c8d41-db1a-0410-9941-cceddc491573
* * Monsters shout only when they notice you (i.e. you are in sight).j-p-e-g2009-05-091-0/+1
| | | | | | | | | * Add a tile for out of range grids (lighter shade than out of sight). * Make Xom's repel stairs effect only happen during tension. * Add Z to keybind.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9755 c06c8d41-db1a-0410-9941-cceddc491573
* Overlay tiles in menu with tiles for being equipped/cursed/melded, thej-p-e-g2009-03-141-0/+1
| | | | | | | flavoured floor, and weapon brands. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9477 c06c8d41-db1a-0410-9941-cceddc491573
* Greatly improve 'V' command:j-p-e-g2009-03-101-1/+2
| | | | | | | | | | | | | | | * Add toggle to travel to items. (FR 2180269) (Basically copied from StashSearchMenu, but I couldn't work out how to change the title after the toggle.) * Display monster tiles, yay! * Space allowing, display monsters' description along with 'x' information. (Ironically, though this was copied from Tiles, it only works for ASCII at the moment.) * Right-shift all entry types by 1 instead of just InvEntry, so it's more consistent and looks better on the 'V' screen. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9409 c06c8d41-db1a-0410-9941-cceddc491573
* * Don't count chunks as "useless" (even if inedible) if the player knowsj-p-e-g2009-03-091-9/+1
| | | | | | | | | Sublimation of Blood or Simulacrum. * Fix missing message flush when memorising spells. (This should probably be handled globally in prompt_invent_item().) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9398 c06c8d41-db1a-0410-9941-cceddc491573
* * Add tile for Nergalle, who's actually not all that ugly but apparently j-p-e-g2009-03-091-7/+17
| | | | | | | | | | | has a really bad fashion sense. * Add a sticky flame marker for monsters. * Replace the trapdoor spider tile with a less original, but nicer one. * Improve shopping interface: replace "examine item" command with a toggle between browsing and shopping. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9397 c06c8d41-db1a-0410-9941-cceddc491573
* For [2625984], disallow caught monsters from submerging.haranp2009-02-221-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9147 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing &L vaults not having their tile flavor initialized properly. In ↵ennewalker2009-01-171-0/+1
| | | | | | particular, non-gate doors would appear as half a gate. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8517 c06c8d41-db1a-0410-9941-cceddc491573
* Turning back on minimap for labyrinths, but fixing it so that it recenters ↵ennewalker2009-01-111-2/+0
| | | | | | during map rot, as if the forgotten squares were never seen. (Sorry, jpeg. If you can see it using 'X', I think you should be able to also see it on the minimap.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8404 c06c8d41-db1a-0410-9941-cceddc491573
* [2495836] Show names for friendly uniques during arena mode. Also, add a ↵ennewalker2009-01-101-0/+3
| | | | | | tile_tag_pref option. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8383 c06c8d41-db1a-0410-9941-cceddc491573
* Deactivate the minimap in labyrinths since it gave away informationj-p-e-g2009-01-091-0/+2
| | | | | | | about placement on the map and also looked a bit odd. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8365 c06c8d41-db1a-0410-9941-cceddc491573
* Setting all .h/.cc files in source to have a consistent keyword propset.ennewalker2009-01-041-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8218 c06c8d41-db1a-0410-9941-cceddc491573
* [2483338] Fixing tiles crash during 'Detect Items' spell.ennewalker2009-01-031-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8174 c06c8d41-db1a-0410-9941-cceddc491573
* [2455904] Improving on-screen inventory by clarifying how many inventory ↵ennewalker2008-12-241-7/+8
| | | | | | slots the character has. Extra rows are filled up with ground items. Extra columns (after ENDOFPACK, but prior to full rows of ground items) are darkened out. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7961 c06c8d41-db1a-0410-9941-cceddc491573
* [2054793] Partial implementation of the request to have COLOUR tags affect ↵ennewalker2008-12-011-11/+12
| | | | | | | | | tile choice. Vaults can now override the default tileset (walls and floors) for an entire level. This has been pushed to vaults where it makes sense (sewers, ice caves, ziggurats, bazaars, Shoals:5, Zot). ROCKTILE and FLOORTILE can be used when authoring vaults to set these values, both of which take a single tile name as a string. These values are ignored in console builds. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7700 c06c8d41-db1a-0410-9941-cceddc491573
* * Tweak Snorg's tile to increase the difference to the plain troll.j-p-e-g2008-11-281-4/+4
| | | | | | | | | | | | | * Add a new tile each for the flaming corpse and trapdoor spider. * Add a sticky flame overlay for the player tile. * Move all unique monsters into dc-mon/unique (minus Adolf). * Remove comments and commented out monsters from the tile definitions. * Minor comment fixes and code cleanup. I'm really starting to get the hang of the tile creation. :) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7665 c06c8d41-db1a-0410-9941-cceddc491573
* Add tiles for the sewers' murky (deep and shallow) water, as well as aj-p-e-g2008-11-201-1/+2
| | | | | | | | | | yellow background for melded items in inventory. Allow higher level transformations (level 5 and above) to work even if your to-be-melded equipment is cursed, exempting weapons, as before. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7522 c06c8d41-db1a-0410-9941-cceddc491573
* Graphical support for range restrictions of spells in tiles mode. Clicking ↵ennewalker2008-10-051-1/+2
| | | | | | past the max range will now fire as far as it can, rather than just giving an error. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7135 c06c8d41-db1a-0410-9941-cceddc491573
* Add whitespace fixes.dolorous2008-09-281-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7054 c06c8d41-db1a-0410-9941-cceddc491573
* [2021068] Projectiles, explosions, beams, etc. now drawn again in tiles version.ennewalker2008-09-271-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7039 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing bug where doors closed out of sight would get a chainmail tile.ennewalker2008-09-271-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7038 c06c8d41-db1a-0410-9941-cceddc491573
* Adding health bars for monsters (and allies).ennewalker2008-09-161-0/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6936 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing assertions from tileidx_unseen due to separation of tiles into ↵ennewalker2008-09-061-1/+2
| | | | | | different textures. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6893 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles mcache improvements. Monsters out of sight are now shown with their ↵ennewalker2008-09-061-30/+29
| | | | | | last seen equipment. Player ghosts are now drawn correctly again. Denzi's new 48x32 pandemonium demon tiles are now used. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6875 c06c8d41-db1a-0410-9941-cceddc491573
* RLTiles complete code rewrite: now much more robust and functional.ennewalker2008-08-231-29/+6
| | | | | | | | | | | | | Added PNG and non-palettized image input. Added PNG output. Added better tile packing and support for tiles of different sizes. Converted all BMPs to PNGs (for space and explicit transparency reasons.) Added the 48x32 pandemonium demon tiles, but these are not yet used in game. Added Bill B.'s portal tile (finally). The Win32 makefiles are not updated quite yet and thus will not build. Sorry. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6850 c06c8d41-db1a-0410-9941-cceddc491573
* Large tiles-related changes. Platform-specific rendering removed and ↵ennewalker2008-07-151-38/+29
| | | | | | replaced with SDL/OpenGL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 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-2/+3
| | | | | | | | | | | | | 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
* Add a new command for firing without quivering on 'F'.j-p-e-g2008-06-271-1/+1
| | | | | | | Use puff of fire/ice tiles for ammo of flame/ice being fired. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6169 c06c8d41-db1a-0410-9941-cceddc491573
* [1974966] Display icon for hostile weapons in tiles.ennewalker2008-06-121-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5768 c06c8d41-db1a-0410-9941-cceddc491573
* Moving player halo into the player tiles so that it can be layered on top of ↵ennewalker2008-04-241-5/+4
| | | | | | 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-3/+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
* Applying static method conventions to acr.cc and items.cc - this resultedj-p-e-g2008-03-251-1/+1
| | | | | | | | | | 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
* 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