X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=src%2Fmain%2Fmain.lisp;h=4b845cff37d0b0a3b7f4b435a05a0e0b3d729ce2;hp=d1ffdadf350196663fc6c5d71aeafda2fdd91c91;hb=5f87a9f;hpb=6cb99e3ea911190e3b73adab3a92e75ef36731f1 diff --git a/src/main/main.lisp b/src/main/main.lisp index d1ffdad..4b845cf 100644 --- a/src/main/main.lisp +++ b/src/main/main.lisp @@ -223,7 +223,8 @@ EXAMPLES: `((clnl-interface:initialize :dims ',(clnl-model:world-dimensions model) :view ',(clnl-model:view model) - :buttons ',(clnl-model:buttons model))))))))) + :buttons ',(clnl-model:buttons model) + :switches ',(clnl-model:switches model))))))))) (setf (documentation 'model->single-form-lisp 'function) "MODEL->SINGLE-FORM-LISP MODEL &key SEED INITIALIZE-INTERFACE NETLOGO-CALLBACK => FORM @@ -278,7 +279,8 @@ DESCRIPTION: `((clnl-interface:initialize :dims ',(clnl-model:world-dimensions model) :view ',(clnl-model:view model) - :buttons ',(clnl-model:buttons model))))) + :buttons ',(clnl-model:buttons model) + :switches ',(clnl-model:switches model))))) ,@(when netlogo-callback-fn `((defun ,netlogo-callback-fn (,(intern "NETLOGO-CODE" *model-package*)) ,(netlogo-callback-body prims))))))))