diff options
| author | Federico Tedin | 2019-09-04 00:18:11 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-09-14 11:20:32 +0300 |
| commit | 36bf5534bf9034860ee6ffda94fa71d4eec8a671 (patch) | |
| tree | 7bd68551016f11614877ec22c0b3ef2d79f86768 /etc | |
| parent | bac66302e92bdd3a353102d2076548e7e83d92e5 (diff) | |
| download | emacs-36bf5534bf9034860ee6ffda94fa71d4eec8a671.tar.gz emacs-36bf5534bf9034860ee6ffda94fa71d4eec8a671.zip | |
Allow gamegrid-add-score to treat lower scores as better.
* lisp/play/gamegrid.el (gamegrid-add-score): Add 'reverse' parameter.
(gamegrid-add-score-with-update-game-score): Add 'reverse' parameter.
(gamegrid-add-score-with-update-game-score-1): Add 'reverse'
parameter. Pass on "-r" argument to update-game-score.
(gamegrid-add-score-insecure): Add 'reverse' parameter, reverse scores
when it's non-nil. (Bug#36867)
* etc/NEWS: Announce the change.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -1375,6 +1375,9 @@ the Elisp manual for documentation of the new mode and its commands. | |||
| 1375 | dimensions, instead of always using 16 pixels. As a result, Tetris, | 1375 | dimensions, instead of always using 16 pixels. As a result, Tetris, |
| 1376 | Snake and Pong are more playable on HiDPI displays. | 1376 | Snake and Pong are more playable on HiDPI displays. |
| 1377 | 1377 | ||
| 1378 | *** 'gamegrid-add-score' can now sort scores from lower to higher. | ||
| 1379 | This is useful for games where lower scores are better, like time-based games. | ||
| 1380 | |||
| 1378 | ** Filecache | 1381 | ** Filecache |
| 1379 | 1382 | ||
| 1380 | --- | 1383 | --- |