summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilesdl.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add tiles for bush and sleeping brand, both courtesy of purge. Thanks!Johanna Ploog2010-01-161-0/+2
|
* Don't display chunk effect icons for skeletons.Johanna Ploog2010-01-121-0/+3
|
* Experimentally draw tool tip below the mouse pointer rather than above.Johanna Ploog2010-01-111-1/+2
| | | | | It's a bit less distracting this way and doesn't cover up the inventory header line (description).
* Don't display chunk/corpse brands for herbivores.Johanna Ploog2010-01-091-0/+5
|
* Add an icon for contaminated chunks/corpses.Johanna Ploog2010-01-091-0/+3
|
* Tiles: Add icons for poisonous/mutagenic/... chunks or corpses.Johanna Ploog2010-01-091-1/+23
| | | | | | | 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.
* New minimap colour option for peaceful monsters, by default same as friendly.Johanna Ploog2010-01-071-0/+2
|
* Reuse potion icons for new needle brands: slow, sickness, paralysis, rage, ...Johanna Ploog2010-01-061-0/+12
|
* [212] Fixing prompts clearing screen in tiles.Enne Walker2010-01-031-0/+13
| | | | | | | The line reader was always switching back to GOTO_CRT. When receiving input from the message window, this ended up causing the screen to blank and switch to the CRT layer. Adding a function get the current cursor region allows the line reader to not change regions.
* Ignore obscured items in the UIStefan O'Rear2009-12-301-2/+2
| | | | I probably missed a few spots.
* Replace uses of item_cursed with item_def::cursed.Vsevolod Kozlov2009-12-271-1/+1
|
* Add reaping brand tile by rsaarelm, thanks!Johanna Ploog2009-12-191-1/+6
|
* tiles: only include tiledef-*.h in files where they're neededSteven Noonan2009-12-121-0/+1
| | | | | | | This eliminates the annoying full rebuild that happens when the tiledefs are modified. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* cgotoxy now takes GotoRegion instead of int.Robert Vollmert2009-12-101-1/+1
|
* Remove unused GOTO_LAST.Robert Vollmert2009-12-101-11/+10
|
* Fix tiles compile (missing includes).Robert Vollmert2009-11-271-0/+1
|
* Fix tiles compile.Robert Vollmert2009-11-261-1/+1
|
* Simplify scrolling handling in message_out.Robert Vollmert2009-11-261-5/+8
| | | | | | | | | | The newline parameter to message_out is gone. Instead, a pointer to the message line is passed which may lie outside the message window. The window is then scrolled to make that line the last line. This also updates libnonunix.cc, but I haven't been able to test those changes.
* Remove unused crawl_exit_hook.Robert Vollmert2009-11-201-6/+0
|
* Flatten header dependencies a bit.Robert Vollmert2009-11-171-1/+2
| | | | | | This removes a couple of unnecessary includes from header files. I may have missed adding some tiles includes.
* Remove a few obsolete includes.Robert Vollmert2009-11-101-3/+0
| | | | Also add a few previously indirect includes.
* Split shouting and stealth code from view.cc.Robert Vollmert2009-11-101-0/+1
|
* Split map knowledge and FPROPs.Robert Vollmert2009-11-081-5/+6
| | | | | | | | map_cell no longer has the field "properties", which has been replaced by the unsigned long array env.pgrid. env.map has been renamed to env.map_knowledge. It should really be moved into player.
* Replace mons_neutral with monsters::neutral.Vsevolod Kozlov2009-11-071-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Move mons_is_friendly to monsters::friendly.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Remove mons_friendly_real and mons_wont_attack_real.Vsevolod Kozlov2009-11-061-1/+1
| | | | | | They were the same as non-_real functions. Signed-off-by: Robert Vollmert <rvollmert@gmx.net>
* Rename is_valid_item to item_def::is_valid.Vsevolod Kozlov2009-11-061-1/+1
| | | | Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
* Make many checks for monster (non)existence on squares use monster_at().David Lawrence Ramsey2009-11-051-9/+7
| | | | | | | Not all are changed yet, as there are several index checks still needed for debugging purposes. Also, make many checks for player/monster (non)existence use actor_at().
* Split up view.cc.Robert Vollmert2009-11-041-0/+2
|
* Get rid of multiple-meaning "int object" in env.show.Robert Vollmert2009-11-041-3/+3
| | | | | | | | | | | | | 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.
* Split game_options from externs.h into options.h.Robert Vollmert2009-11-041-0/+1
|
* Support for X map multi-level viewing on tiles.Enne Walker2009-11-031-2/+4
| | | | | Fixes seeing in-LOS squares on incorrect levels. Fixes the minimap not updating. Fixes the player dot appearing on the minimap on wrong levels.
* Splitting up stuff.cc.Robert Vollmert2009-10-301-0/+1
| | | | New: colour.cc, coord.cc, coordit.cc, random.cc, rng.cc.
* Remove tabs, and add minor cosmetic fixes.David Lawrence Ramsey2009-10-201-1/+1
|
* win32: eliminate need for WIN32TILES/WIN32CONSOLE macrosSteven Noonan2009-10-191-4/+4
| | | | | | | | | | | | | | Instead of defined(WIN32CONSOLE) we should use: defined(TARGET_OS_WINDOWS) && !defined(USE_TILE) As well as replace defined(WIN32TILES) with: defined(TARGET_OS_WINDOWS) && defined(USE_TILE) Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* versioning: remove SVN-specific revision data, add Git versioningSteven Noonan2009-10-181-2/+2
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* remove unnecessary "version.h" includes, AppHdr.h does it alreadySteven Noonan2009-10-181-1/+0
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Fixing one more tiles off-by-one issue.Enne Walker2009-10-171-2/+2
|
* tilesdl.cc: fix loader for app icon to allow absolute pathsSteven Noonan2009-10-141-1/+1
| | | | | | If someone uses DATA_DIR_PATH, we don't want the game to break. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* project-wide: fix msvc compile breakageSteven Noonan2009-10-121-0/+4
| | | | | | MSVC is like a chimp with Down's syndrome. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* tilesdl.cc: fix segfault caused by negative Y-valueSteven Noonan2009-10-011-1/+1
| | | | | | | | | | | | | | | In my case, the cause was a crawlrc with these values: view_max_width=80 view_max_height=70 I did a USE_TILE build, ran it, and the value of crawl_view.msgsz.y became negative, causing a rather nasty segfault later in initialization. I'm pretty sure that using 'std::max' here is not the best solution, but it at least avoids the negative number case. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* tilesdl.cc: fix layout bug and crash with certain resolutionsSteven Noonan2009-09-281-1/+1
| | | | | | | | | | | | | | This one was a pain to hunt down, but it was a surprisingly simple fix. Can you believe an X value was used where a Y value was needed? Anyway, the bug was that with certain resolutions (i.e. 1440x900), the game would crash once the message list needed to be rendered. And the layout was also completely wrong if you did something like an abnormal resolution of 800x850, which shows the message list near the middle of the screen instead of at the bottom. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Add more spelling fixes.David Lawrence Ramsey2009-09-241-3/+3
|
* tilesdl.cc: search for PNG icon by using datafile_path()Steven Noonan2009-09-231-1/+1
| | | | Signed-off-by: Steven Noonan <steven@uplinklabs.net>
* Fix 2841668: Crawl segfaulting when attempting to use mpr() within thej-p-e-g2009-09-141-2/+2
| | | | | | | | DollEditRegion. Also, if the target file (dolls.txt) within settings/ is writing protected create the file locally instead. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10678 c06c8d41-db1a-0410-9941-cceddc491573
* Fix 2858572: tiles spell memorisation crashes.j-p-e-g2009-09-141-1/+3
| | | | | | | Also handles dangerous spellbooks correctly now, prompts and all. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10675 c06c8d41-db1a-0410-9941-cceddc491573
* * Show item type shortcuts in inventory. I think it's too intrusive forj-p-e-g2009-09-141-10/+16
| | | | | | | | | | ASCII even though it works well in tiles. * Always display memorise button because it's less confusing that way. I still can't work out why the error messages disappear right away. *sighs* * Add a short document on tiles creation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10673 c06c8d41-db1a-0410-9941-cceddc491573
* Adapt Matthew's new memorisation interface for tiles, using the samej-p-e-g2009-09-121-1/+24
| | | | | | | | display as for spellcasting. Also force a redraw() if the player clicked on a spell. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10661 c06c8d41-db1a-0410-9941-cceddc491573
* Add a button to memorise spells to the new spell display. All this doesj-p-e-g2009-09-111-2/+12
| | | | | | | | at the moment is call learn_spell(), but I'm planning to reuse the spell display for this purpose. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10655 c06c8d41-db1a-0410-9941-cceddc491573
* ...and draw these new spell tiles too.ennewalker2009-09-111-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10652 c06c8d41-db1a-0410-9941-cceddc491573