Newer
Older
naledi / src / server / params.lisp
;;;;
;;;; Naledi ya Africa ("Star of Africa") is an ncurses-based survival game
;;;; set in Africa.
;;;;
;;;; This file contains all global parameters used by the game.
;;;;
;;;; (c) 2018 Daniel Vedder, MIT license
;;;;

(in-package :naledi-ya-africa)

;;Enable debugging statements
(defparameter *debugging* NIL) ;;XXX Change back to T?

;;Specify the logfile
(defparameter *logfile* "naledi.log")

;;Size of the world (= length of one side of a square)
(defparameter *world-size* 250)

;;Milliseconds between world updates and screen refreshes
(defparameter *framerate* 1000)

;;Localhost defaults
(defparameter *defaulthost* '("127.0.0.1" 21895)) ;default port: 21895

;;Host server address to connect to
(defparameter *host* (first *defaulthost*))

;;Network port to use
(defparameter *port* (second *defaulthost*))

;;Compass directions needed for spatial functions
(defparameter *directions* '(N NE E SE S SW W NW))