Re: AisleRiot: two new games



Sorry, I forgot to say that I have fixed this (in CVS HEAD).

The correct function is:

; Restore all the state variables for a game
(define restore-variables
  (lambda (names values)
    (or (equal? '() names)
        (begin
          (eval-1 (list 'set! (car names) (list 'quote (car values))))
          (restore-variables (cdr names) (cdr values))
          ))))

Note the extra quote at the end of the eval statement. 

It makes undo/redo with gaps.scm work for me.

 - Callum

PS: I haven't gaps to CVS yet, I have been trying to get my private
branch stable first.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]