Add a comment explaining what shout does.
This commit is contained in:
parent
191cf8fcdb
commit
f488a4ac7c
|
@ -3,5 +3,6 @@
|
||||||
(create-path from-path-description from-area to-area arealist)
|
(create-path from-path-description from-area to-area arealist)
|
||||||
(create-path to-path-description to-area from-area arealist)))
|
(create-path to-path-description to-area from-area arealist)))
|
||||||
|
|
||||||
(define (shout message outputqueue)
|
;; Send a quick message to everyone in the game as the server:
|
||||||
(message-everyone "SERVER" message outputqueue))
|
(define (shout message)
|
||||||
|
(message-everyone "SERVER" message output-queue))
|
||||||
|
|
|
@ -206,9 +206,9 @@ void * schemeHandler(void * parameters)
|
||||||
|
|
||||||
// Enable readline support:
|
// Enable readline support:
|
||||||
scm_c_eval_string("(begin (use-modules (ice-9 readline)) (activate-readline))");
|
scm_c_eval_string("(begin (use-modules (ice-9 readline)) (activate-readline))");
|
||||||
scm_c_eval_string("(begin (use-modules (system repl server)) (if (file-exists? \"silvermud-repl\") (delete-file \"silvermud-repl\"))(spawn-server (make-unix-domain-server-socket #:path \"silvermud-repl\")))");
|
scm_c_eval_string("(begin (use-modules (system repl server)) (if (file-exists? \"silvermud-repl\") (delete-file \"silvermud-repl\")) (spawn-server (make-unix-domain-server-socket #:path \"silvermud-repl\")))");
|
||||||
|
|
||||||
// Drop into the Scheme interpreter:
|
// Drop into the Scheme interpreter:
|
||||||
scm_shell(0, NULL);
|
scm_shell(0, NULL);
|
||||||
|
|
||||||
// Return NULL. This should be unreachable.
|
// Return NULL. This should be unreachable.
|
||||||
|
|
Loading…
Reference in New Issue