[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 5f12be8d33 450/472: Move render-object-board to pa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 5f12be8d33 450/472: Move render-object-board to pacmacs-render module |
Date: |
Thu, 6 Jan 2022 21:59:48 -0500 (EST) |
branch: elpa/pacmacs
commit 5f12be8d332d6c366981bd04d5ddeade6a973942
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Move render-object-board to pacmacs-render module
(#203)
---
pacmacs-render.el | 12 ++++++++++++
pacmacs.el | 12 ------------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/pacmacs-render.el b/pacmacs-render.el
index 274a16a1d6..dde594c20e 100644
--- a/pacmacs-render.el
+++ b/pacmacs-render.el
@@ -75,6 +75,18 @@
(insert "."))))
(insert "\n"))))
+(defun pacmacs--render-object-board ()
+ (plist-bind ((width :width)
+ (height :height))
+ pacmacs--object-board
+ (dotimes (row height)
+ (dotimes (column width)
+ (let ((anim-object (car (pacmacs--cell-wrapped-get
pacmacs--object-board
+ row column))))
+ (pacmacs--render-object anim-object)))
+ (insert "\n")))
+ (insert "\n"))
+
(provide 'pacmacs-render)
;;; pacmacs-render.el ends here
diff --git a/pacmacs.el b/pacmacs.el
index 0504ea431e..a0db2ce278 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -671,18 +671,6 @@
(dolist (wall pacmacs--wall-cells)
(pacmacs--put-object wall)))
-(defun pacmacs--render-object-board ()
- (plist-bind ((width :width)
- (height :height))
- pacmacs--object-board
- (dotimes (row height)
- (dotimes (column width)
- (let ((anim-object (car (pacmacs--cell-wrapped-get
pacmacs--object-board
- row column))))
- (pacmacs--render-object anim-object)))
- (insert "\n")))
- (insert "\n"))
-
(defun pacmacs--render-state ()
(insert (format "Score: %d\n\n" pacmacs-score))
- [nongnu] elpa/pacmacs b8ad3a5421 370/472: Fix game over sign (#138), (continued)
- [nongnu] elpa/pacmacs b8ad3a5421 370/472: Fix game over sign (#138), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 78be23ea40 392/472: Remove make-terrifed-ghost function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1d52833fef 406/472: Add render-score-record function (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bd030753f0 411/472: Reset pacmacs-score to 0 (#134), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 542e38a612 429/472: Fix README for sprites folder, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 7f980e59a4 435/472: Load game-over sign from signs folder (#191), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b7caafa647 436/472: Merge pull request #200 from codingteam/customize-level-folder-191, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f174ccb540 438/472: Enable truncate-lines for Game Over page (#201), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bc62e40d25 444/472: Make rendering more reusable (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 314809f2a7 443/472: Merge branch 'master' into feature/awesome-score-sign-203, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5f12be8d33 450/472: Move render-object-board to pacmacs-render module,
ELPA Syncer <=
- [nongnu] elpa/pacmacs 929b367fa2 453/472: Make render-score-table more dumb (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 548155de50 456/472: Dash the mode labels (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 5e0bcba1ee 468/472: Merge pull request #224 from basil-conto/blc/dash, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b68e557f36 064/472: Refactor pacman-load-anim function. Close #53, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3a3ead9ac1 083/472: Support dash. Close #65, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6365c3db7b 086/472: Remove ghost-state instead of player-state, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 3cbd9508d8 089/472: Merge branch 'coverage-broken-68'. Close #68, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2331e2074c 262/472: Automate Pill sprites generating (#26), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d980f5dbe2 454/472: Introduce with-render-target macro (#203), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d813e9c62c 466/472: Merge pull request #214 from codingteam/qfix/bump-copyright-year, ELPA Syncer, 2022/01/06