summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/rltiles/tool/tile_list_processor.cc
Commit message (Collapse)AuthorAgeFilesLines
* In tile-dngn.html display tile weights as percent values.Johanna Ploog2010-01-121-4/+8
|
* Only display tile probabilities in the dngn html file.Johanna Ploog2010-01-111-6/+16
|
* List tile weights in tile-dngn.html.Johanna Ploog2010-01-111-2/+7
|
* Implement rltiles %weight command and skewed dngn tile probabilities.Johanna Ploog2010-01-111-1/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In dc-dngn.txt you can now use the %weight command to specify the probability of a given tile whenever a variant is chosen randomly from a set of variant tiles. Example: %weight 5 floor/floor_sand_stone0 FLOOR_SAND_STONE floor/floor_sand_stone1 floor/floor_sand_stone2 floor/floor_sand_stone3 %weight 2 floor/floor_sand_stone4 floor/floor_sand_stone5 floor/floor_sand_stone7 %weight 1 floor/floor_sand_stone6 ... will make plain sand more likely than the rocky versions and the big rock rarer than the smaller ones. This is not visible from the dngn.png but you can check the (cumulative) weights in tiledef-dngn.cc. Aside from the above, this is also used for the brick wall in all its colorations. (The repeat command also repeats the weight settings.)
* Renaming ambiguous rltiles command.Enne Walker2010-01-021-1/+1
| | | | %end is now called %end_ctg.
* Basic support for tile recolouring.Enne Walker2009-12-241-62/+328
| | | | | | | | | | | | | | | | | | | | Added %variation, %repeat, %desat, %lum, %hue, %pal, %resetcol commands to rltiles. Also, multiple enum synonyms can now be specified. Documentation on all rltiles commands is forthcoming. Sorry. Added coloured variations for a number of floor and wall tiles, removing duplicate source art where it made sense. The variations probably need some adjusting to look less like fruit salad. COLOUR in a vault specification will now automatically try to pick coloured variations of basic floor and rock wall tiles by default. It will also pick coloured variations of any tiles specified by FTILE/RTILE/TILE. I'll leave it as an exercise for due to generalize this to features and monsters. tile_dngn_coloured (and corresponding functions for other tile sheets) can be used to look up coloured variations for a given tile index.
* MSVC: add tiles build supportSteven Noonan2009-10-121-0/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Revert some changes in rltiles/tool, and some further cleanup.j-p-e-g2009-07-221-17/+16
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10373 c06c8d41-db1a-0410-9941-cceddc491573
* Some more spacing fixes.j-p-e-g2009-07-221-117/+102
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10366 c06c8d41-db1a-0410-9941-cceddc491573
* rltiles now creates tile-dngn.html (and others) when creating tile pages. ↵ennewalker2009-03-151-0/+59
| | | | | | These should make it easier to figure out which tiles go by which name. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9510 c06c8d41-db1a-0410-9941-cceddc491573
* [2495807] Fixing overlay color when walking through green water.ennewalker2009-01-101-2/+11
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8402 c06c8d41-db1a-0410-9941-cceddc491573
* Brief change to my previous commit to make rltiles use those newfangled C++ ↵ennewalker2008-12-151-3/+5
| | | | | | headers instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7834 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing compile error where strcmp couldn't be found.ennewalker2008-12-141-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7832 c06c8d41-db1a-0410-9941-cceddc491573
* Changing rltiles to store name -> idx lookup in a straight array, rather ↵ennewalker2008-12-071-18/+38
| | | | | | than a std::map. (This should hopefully fix Johanna's compile troubles.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7771 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing Linux compile warnings and errors. (Although, not the one Johanna is ↵ennewalker2008-12-021-5/+4
| | | | | | seeing.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7715 c06c8d41-db1a-0410-9941-cceddc491573
* [2054793] Partial implementation of the request to have COLOUR tags affect ↵ennewalker2008-12-011-0/+56
| | | | | | | | | 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
* [2157145] Applying patch for missing #includes.ennewalker2008-10-161-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7259 c06c8d41-db1a-0410-9941-cceddc491573
* Allowing literal tiledef start values.ennewalker2008-10-061-2/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7150 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles mcache improvements. Monsters out of sight are now shown with their ↵ennewalker2008-09-061-32/+73
| | | | | | 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
* Quick fix to previous check-in that generated bad tiledef headers.ennewalker2008-08-241-3/+3
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6863 c06c8d41-db1a-0410-9941-cceddc491573
* Modifying RLTiles to randomly use Johanna's extra blood splats when ↵ennewalker2008-08-241-77/+101
| | | | | | generating corpse tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6862 c06c8d41-db1a-0410-9941-cceddc491573
* RLTiles complete code rewrite: now much more robust and functional.ennewalker2008-08-231-0/+660
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