summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tilereg-grid.cc
Commit message (Collapse)AuthorAgeFilesLines
* Show quantities up to 10k in inventory panel (#8821)Neil Moore2014-07-261-18/+18
| | | | Use a slightly smaller, but heavier, font for these numbers.
* Drop unnecessary parentheses from return statements.Adam Borowski2013-11-151-1/+1
|
* ASSERT_RANGEs other than >= <.Adam Borowski2013-06-081-2/+1
| | | | | | Committing separately as I'm not sure whether checking, for example, ASSERT_RANGE(level, 1, 28) is that nice. Perhaps 27 + 1 could be better? Perhaps some other syntax?
* Refactor ASSERT(a && b) -> ASSERT(a); ASSERT(b);Brendan Hickey2013-04-281-1/+2
| | | | | | | Convert conjunctive assertions into separate assertions. This ought to be correctness preserving. I ran the stress tests and didn't notice anything unusual. While I have confidence in it, if you are the slightest bit suspicious of this, please roll it back. Found instances with `ASSERT(\([^(|]*\) && \([^)|]*\))` Manually inspected each instance.
* Formatting nazi to the rescue!Adam Borowski2013-01-101-1/+1
|
* moved tooltip message and made bigger in touch UIChris West2013-01-051-0/+4
|
* final attempt at fixing inventory paging; added tooltip messages for ↵Chris West2013-01-051-1/+1
| | | | prev/next icons
* fixed inventory pagingChris West2013-01-051-1/+1
|
* improved inventory paging on non-touch uiChris West2013-01-051-1/+1
|
* merge of small-screen changes from old build envChris West2013-01-051-1/+2
|
* Android port.frogbotherer2012-09-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2 files are added to the root of the repository: * AndroidAppSettings.cfg: settings file required for Android SDL port. Will change on each minor release to reset configuration. * AndroidBuild.sh: script called by the Android SDL port to commence building the game itself It might be nice to be able to move them elsewhere, but for now, their presence here is required. The build process is documented in docs/develop/android.txt There's a TOUCH_UI compiler flag which sets all the things specific to a touch screen interface. There has been a large amount of changes in the Makefile for redefining where the dat/, saves/, etc. directories go, because the "install" part of the make isn't the final destination for these files under Android - the environment we deploy to is a separate device from the build environment. There is also a number of changes to the tiles interface. Some are specific to the TOUCH_UI, but others are also changed in USE_TILE_LOCAL. Touch only: * 'a'bilities menu goes straight to menu without prompting first * tap menu header to toggle/submit * menu instead of prompt to select which corpse to butcher * same for eating food from the floor (those 2 could go in local tiles too) * show_more defaults to false and less --more-- messages * pickup mode defaults to menu * defaults for tile_layout_priority is different (commands are more important than inventory) * popup for yes/no prompts, level-up stat gain and swapping rings (should be used for all prompts, and probably local tiles too) * spell casting: force selection menu * map mode: left-click rather than right-click for mouse mode; autotravel on left-click removed * remove skills training and memorisation panels Also local tiles (some could also be integrated in webtiles): * commands below description are clickable * clickable shopping menu (uses PrecisionMenu) * split the command panel in 2 (common actions and system commands) * add a map command panel * tapping or left-clicking the player is smarter: * picks up the item if there's one on the tile, otherwise * shows pick-up menu if there's several items on the tile, otherwise * traverses stairs (or enters a portal or shop) if one is present, otherwise * prays if an altar is present, otherwise * waits one turn * right-clicking the map enters map mode and brings the map commands tab to the front; map mode stays until exited rather than upon release of mouse Some more details can be found in android_patch_notes.txt on #5677 (although some TODOs are already obsolete). Signed-off-by: Raphael Langella <raphael.langella@gmail.com>
* Drop parentheses around scalar values in "return".Adam Borowski2012-07-051-5/+5
|
* First prototype of webtiles.Florian Diebold2011-06-261-1/+1
| | | | | | Conflicts: crawl-ref/source/startup.cc
* Doxygenization and junk purging that was missed by my script.Adam Borowski2011-04-021-6/+0
|
* Correct whitespace errors using checkwhite.Vsevolod Kozlov2010-12-291-1/+1
|
* Add outlined variants of the number icons, use them in the skill tab.Johanna Ploog2010-12-281-6/+7
|
* Fix GridRegion::on_resize.Raphael Langella2010-12-221-1/+6
|
* Split icons out from main.png. Fixes #2981.Johanna Ploog2010-12-161-3/+3
| | | | This should also allow us to draw clouds beneath monsters.
* Change player last_clicked globals to members.Enne Walker2010-06-091-2/+2
|
* Split up tiles.h.Enne Walker2010-05-301-0/+2
| | | | | | Most of it has gone into tilepick.h, but also into enum.h and initfile.cc. Unlike tiles.h which was included everywhere, tilepick.h is now only a dependency of about half the files.
* Use tileidx_t for tile indices. Also, cleanup.Enne Walker2010-05-301-1/+1
| | | | | | | | This new type defines to unsigned int, but it cleans up a lot of the int/unsigned int/short confusion all over the codebase for tile indices. This commit also cleans up tiles code to use coord_def more and to change function signatures to pass const refs and non-const pointers.
* Add monster list for tiles.Enne Walker2010-05-261-17/+5
| | | | | | This is currently implemented as an additional tab. Possibly improvements might be to always display it on screen if there's room or to simply pop to the tab when new monsters appear.
* Clean up GL code function parameters.Enne Walker2010-05-141-4/+4
| | | | | | | Remove any non-const-reference parameters. Change const pointer parameters to const reference parameters. Change all draw(NULL, NULL) calls to just draw(). Also, refactor to remove pretranslate and prescale parameters from draw calls.
* Split tilereg.h/cc into multiple files.Enne Walker2010-04-251-0/+204
No functional changes, just rearranging and exposing functions where needed.