[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs e037903a5b 401/472: Switch to game over mode on ga
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs e037903a5b 401/472: Switch to game over mode on game over state (#134) |
Date: |
Thu, 6 Jan 2022 21:59:43 -0500 (EST) |
branch: elpa/pacmacs
commit e037903a5b18a30b9b1568fba07837cdd13c8be8
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Switch to game over mode on game over state (#134)
---
pacmacs.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/pacmacs.el b/pacmacs.el
index 4c60eeb92e..18c950de4f 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -558,8 +558,13 @@
(defun pacmacs--switch-to-game-over-state ()
(setq pacmacs-game-state 'game-over)
+
(pacmacs--load-map "game-over")
- (pacmacs--register-new-score pacmacs-score))
+ (pacmacs-destroy)
+ (pacmacs--render-state)
+
+ (pacmacs-game-over-mode)
+ (read-only-mode 0))
(defun pacmacs--switch-to-play-state ()
(setq pacmacs-game-state 'play)
- [nongnu] elpa/pacmacs 61c37f08b1 355/472: Update URL in the headers (#178), (continued)
- [nongnu] elpa/pacmacs 61c37f08b1 355/472: Update URL in the headers (#178), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fad3786449 361/472: Use push instead of add-to-list (#173), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6a91d72f35 359/472: terrify-ghost instead of reset-terrified-ghost, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f7f962303b 371/472: Use background for start gradient color (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs c7a3a4cbac 388/472: Merge pull request #184 from codingteam/update-readme-179, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ecf71a3f49 378/472: Rename put-bits-dot to put-wall-tile-corner (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d7c9d248e6 385/472: Pass wall bits to create-wall-tile as list (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 66cdd67cbb 387/472: Merge pull request #186 from codingteam/prettier-walls-138, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 365bfaee8e 386/472: Fix create-wall-tile UT (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f9c2eada4c 390/472: Move measure-time function to pacmacs-rr module, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e037903a5b 401/472: Switch to game over mode on game over state (#134),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 54af862690 403/472: Add position-of-new-score function (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 389db1a10b 412/472: Remove pacmacs-game-over-state-rendered var (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e59d6bda5a 430/472: Add pacmacs-levels-folder custom (#191), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fc06a12e07 441/472: Merge pull request #204 from codingteam/bug/game-over-tiles-soft-wrap-201, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 447882d2ef 439/472: Quit Game Over state with q key (#202), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5317f7c51d 457/472: pacmacs-score is dead, long live pacmacs-score!, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs cb2ff0b438 459/472: Refactor board rendering functions (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d47f57fa86 463/472: Rename image module to walls module, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 25a8c30210 472/472: Merge pull request #226 from skangas/bump-version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 04f7ce0793 464/472: Merge pull request #210 from codingteam/refactor/rename-image-module, ELPA Syncer, 2022/01/06