History of
lua
/
ui.lua
@master
git clone https://git.dumitru.net/nush/
-
added consumable item effects
Vlad Dumitru
10 years ago
-
player name and health are now displayed on-screen
Vlad Dumitru
10 years ago
-
added highscore screen
Vlad Dumitru
10 years ago
-
UI takes into account stackable object count.
Vlad Dumitru
10 years ago
-
added stackable items
Vlad Dumitru
10 years ago
-
added a story, kind of.
Vlad Dumitru
10 years ago
-
Add a few weapon definitions; attacks now use the equipped weapon; display weapon in status line.
Ralph Versteegen
10 years ago
-
Add Actor.equipment, :unequip(), :equip(). UI:itemMenu() shows equip and unequip options as appropriate.
Ralph Versteegen
10 years ago
-
Rename Actor.inventorySlots to Actor.InventorySlots, as it's an enum
Ralph Versteegen
10 years ago
-
fixed a bug in which centered text was placed at a non-integer coordinate
Vlad Dumitru
10 years ago
-
Add UI:itemMenu(), from which you can now drop items, plus UI:inventoryScreen() improvements
Ralph Versteegen
10 years ago
-
Darken remembered but not visible tiles, so that visible floor tiles are distinguished
Ralph Versteegen
10 years ago
-
Locations of items on the map are now remembered
Ralph Versteegen
10 years ago
-
Add Global.defaultColor. Decided not to change it from 'white' to 'normal' for now
Ralph Versteegen
10 years ago
-
Add UI:deleteMessage(), however seems to be a bad idea to use it
Ralph Versteegen
10 years ago
-
Add / or HJKLYUBN to move in a straight line
Ralph Versteegen
10 years ago
-
Prettify UI:scrollableTextScreen a little
Ralph Versteegen
10 years ago
-
Fix `highlight' codes in lua 5.1
Ralph Versteegen
10 years ago
-
Add a help file, viewable with '?', and a test screen for various display stuff, F3
Ralph Versteegen
10 years ago
-
Generalise UI:messageLogScreen() to UI:scrollableTextScreen(), and add support for page up/down/home/end
Ralph Versteegen
10 years ago
-
Partial UTF8 support: Optionally link libcursesw, and set curses.utf8 to say whether utf8 is OK
Ralph Versteegen
10 years ago
-
Add curses.WHITE, etc, and also allow all curses attrs in markup, eg. {{reverse}}, {{bold}}
Ralph Versteegen
10 years ago
-
Add `markup' as a shortcut for {{WHITE}}markup{{pop}}, and add UI:removeMarkup()
Ralph Versteegen
10 years ago
-
{{pop}} markup code undoes the previous one. May be useful for nested markup codes
Ralph Versteegen
10 years ago
-
Set delay for Esc to 100ms; Esc as alternative to Q and < as alternative to >
Ralph Versteegen
10 years ago
-
the player can now die
Vlad Dumitru
10 years ago
-
Add Particles
Ralph Versteegen
10 years ago
-
UI:directionFromKey() and :promptDirection now return 3 values instead of a table; also add UI:xyFromDirection()
Ralph Versteegen
10 years ago
-
added working stairs and level names
Vlad Dumitru
10 years ago
-
Add UI:directionFromKey() and UI:promptDirection() and use for movement
Ralph Versteegen
10 years ago