summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/rltiles/tool
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-114-1/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add another missing include.Jude Brown2009-12-251-0/+1
|
* Fixing rltiles compile.Enne Walker2009-12-242-0/+3
| | | | Missing std includes. (Thanks, due).
* Basic support for tile recolouring.Enne Walker2009-12-248-75/+703
| | | | | | | | | | | | | | | | | | | | 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.
* tile.cc: add missing includesSteven Noonan2009-10-241-0/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* rltiles: fix MinGW buildSteven Noonan2009-10-162-0/+3
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* 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-227-97/+84
| | | | 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-225-176/+152
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10366 c06c8d41-db1a-0410-9941-cceddc491573
* Fix some warnings for gcc 4.4 as per trentbuck's patch 2824633.j-p-e-g2009-07-215-36/+36
| | | | | | | | Add flavour messages to opening the gate to Zot. Really, we'd need something like that for winning the game, but what? git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10365 c06c8d41-db1a-0410-9941-cceddc491573
* Fix Peter's rltiles/tool warnings.j-p-e-g2009-06-272-57/+42
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10056 c06c8d41-db1a-0410-9941-cceddc491573
* rltiles now creates tile-dngn.html (and others) when creating tile pages. ↵ennewalker2009-03-152-0/+61
| | | | | | 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
* Support colorkey entry in indexed palettes so indexed PNGs get loaded with ↵ennewalker2009-01-061-1/+1
| | | | | | transparency properly. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8254 c06c8d41-db1a-0410-9941-cceddc491573
* Small fix to the tile_convert utility to allow PNGs to be loaded too.ennewalker2009-01-041-6/+12
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8206 c06c8d41-db1a-0410-9941-cceddc491573
* Silence rltiles warnings.ennewalker2009-01-021-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8133 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-163-0/+4
| | | | 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
* Incorporating new tiles from Denzi/Mitsuhiro. Rings and amulets now have ↵ennewalker2008-09-124-51/+107
| | | | | | labels when identified. Centaurs/yaktaurs now display the weapon they're wielding (and look better too). Variations of weapons and armor (i.e. normal, shiny, randart) are now determined automatically from the tile definitions, rather than being hardcoded. Also, improved axe tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6910 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles mcache improvements. Monsters out of sight are now shown with their ↵ennewalker2008-09-062-32/+75
| | | | | | 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-242-78/+103
| | | | | | generating corpse tiles. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6862 c06c8d41-db1a-0410-9941-cceddc491573
* Fixing Win32 tiles makefiles to work with recent rltiles changes.ennewalker2008-08-241-1/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6861 c06c8d41-db1a-0410-9941-cceddc491573
* RLTiles complete code rewrite: now much more robust and functional.ennewalker2008-08-2319-4704/+1546
| | | | | | | | | | | | | 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-14/+24
| | | | | | replaced with SDL/OpenGL. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6550 c06c8d41-db1a-0410-9941-cceddc491573
* Adding lua bindings to X11 makefile by default. Removing more unused ↵ennewalker2008-01-061-2/+6
| | | | | | iso-mode code. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3211 c06c8d41-db1a-0410-9941-cceddc491573
* Adding deck type and subtype icons.ennewalker2008-01-051-10/+30
| | | | | | | | | Improved yaktaur captain icon. Removing unused nethack misc item tiles. Better vampire tiles. Fixed rim logic when composing tiles for tilesheet. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3200 c06c8d41-db1a-0410-9941-cceddc491573
* Tiles!ennewalker2008-01-0510-0/+4670
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3194 c06c8d41-db1a-0410-9941-cceddc491573