[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs d5bdd0b20a 025/472: Slightly refactored pacman-ani
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs d5bdd0b20a 025/472: Slightly refactored pacman-anim: |
Date: |
Thu, 6 Jan 2022 21:59:02 -0500 (EST) |
branch: elpa/pacmacs
commit d5bdd0b20a3429c3dd195785271caafee7f7adb0
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Slightly refactored pacman-anim:
- require json
- proper syntax for lambdas
---
pacman-anim.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pacman-anim.el b/pacman-anim.el
index 6d348936dc..c3574c0639 100644
--- a/pacman-anim.el
+++ b/pacman-anim.el
@@ -1,3 +1,4 @@
+(require 'json)
(defun pacman-make-anim (frames)
(list :frames frames
@@ -17,10 +18,10 @@
(defun pacman-aseprite-sort-frame-hack (aseprite-frames)
(sort aseprite-frames
- '(lambda (f1 f2)
- (let ((o1 (pacman-aseprite-frame-get-order f1))
- (o2 (pacman-aseprite-frame-get-order f2)))
- (< o1 o2)))))
+ #'(lambda (f1 f2)
+ (let ((o1 (pacman-aseprite-frame-get-order f1))
+ (o2 (pacman-aseprite-frame-get-order f2)))
+ (< o1 o2)))))
(defun pacman-convert-aseprite-frame (aseprite-frame)
(let* ((frame (cdr (assoc 'frame (cdr aseprite-frame))))
- [nongnu] elpa/pacmacs fa41daf2ca 149/472: Merge branch 'master' into score-table-92, (continued)
- [nongnu] elpa/pacmacs fa41daf2ca 149/472: Merge branch 'master' into score-table-92, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 85069784fb 147/472: Add a couple of new maps., ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 39fc09baf3 161/472: Load cl-lib.el for using its macros and functions, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9ddaedae20 174/472: UT for pacmacs--file-content-test, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b6141dc8e3 175/472: UT for pacmacs--anim-object-list-next-frame, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 1186dcdaa1 197/472: Double dash pacmacs-render-state function (#126), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 57b0e8566b 204/472: Get pacmacs-quit back, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 531386d7f1 208/472: Merge pull request #128 from rexim/readme-fix, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 775a2d3ec5 211/472: Convert recorder module to a tool (#115), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs a0d9c1bbbc 212/472: Reverse test case before saving (#115), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs d5bdd0b20a 025/472: Slightly refactored pacman-anim:,
ELPA Syncer <=
- [nongnu] elpa/pacmacs 16b0d6583a 153/472: Get rid of the hardcoded level list. Close #109, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 68f6dc9a93 167/472: Update MELPA repo link, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs fe837b20fa 184/472: Implement victory animation for ghosts. Close #89, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 09ad044887 232/472: Better color for walls (#131), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 9c69162781 247/472: Rough implementation of XPM wall generation (#141), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 4a94a72dd4 250/472: Remove generate-wall-tiles script tool (#141), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs eab5b98b05 254/472: Add average-tick-time function, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 4bd94d2058 255/472: Merge branch 'master' into big-pills-81, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b97248f316 258/472: Put regular and big pills to same list (#81), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2473e65744 268/472: Remove dead left overs of #141, ELPA Syncer, 2022/01/06