Pārlūkot izejas kodu

Clarify comment, reorder priorities

Lily Carpenter 9 gadi atpakaļ
vecāks
revīzija
9a8c4cd4ca
2 mainītis faili ar 4 papildinājumiem un 4 dzēšanām
  1. 3 3
      NOTES.org
  2. 1 1
      src/crypts-and-corpses.lisp

+ 3 - 3
NOTES.org

@@ -6,6 +6,9 @@ http://www.utf8-chartable.de/unicode-utf8-table.pl?utf8=0x
6 6
 ** DONE Get bearlibterminal autowrapped and basic window working.
7 7
 CLOSED: [2016-01-01 Fri 22:52]
8 8
 ** High Priority
9
+*** TODO Randomly place enemies
10
+*** TODO Randomly place ally tombs
11
+- [ ] Player can wake up allies by entering room
9 12
 *** TODO Create enemy AI
10 13
 - [ ] Detect whether player can be seen
11 14
 - [ ] Move to player
@@ -15,9 +18,6 @@ CLOSED: [2016-01-01 Fri 22:52]
15 18
 - [ ] Detect whether enemies can be seen
16 19
 - [ ] If enemies, move to them and attack.
17 20
 - [ ] If not enemies, move toward player.
18
-*** TODO Randomly place enemies
19
-*** TODO Randomly place ally tombs
20
-- [ ] Player can wake up allies by entering room
21 21
 *** DONE Create player character
22 22
 CLOSED: [2016-01-10 Sun 21:00]
23 23
 - [X] Health (no regeneration)

+ 1 - 1
src/crypts-and-corpses.lisp

@@ -471,7 +471,7 @@
471 471
     ;; Set all walkable tiles to nil
472 472
     (mapc #'set-slot-nil (remove-if-not #'walkablep (alexandria:hash-table-values tiles)))
473 473
     (let ((pending (make-instance 'cl-heap:priority-queue)))
474
-      ;; Insert all source tiles in queue with priority and slot value zero
474
+      ;; Insert all source floor tiles in queue with priority and slot value zero
475 475
       (mapc (lambda (item)
476 476
               (with-slots (location) item
477 477
                 (setf (get-slot (gethash location tiles)) 0)