1 ;;; Copyright 2009-2011 Christoph Senjak
3 (in-package :uxul-world)
5 (defmacro mydefconst (x y)
6 `(eval-when (:compile-toplevel :load-toplevel)
7 (when (or (not (boundp ',x))
10 (defconstant ,x ,y))))
13 (mydefconst +screen-width+ 1024)
14 (mydefconst +screen-height+ 768)
16 (mydefconst +class-indices+ '(t uxul-world::animation
17 uxul-world::collision uxul-world::game-object uxul-world::player
18 uxul-world::room uxul-world::stone uxul-world::xy-coordinates
19 uxul-world::bottom uxul-world::moving-enemy
20 uxul-world::standing-enemy uxul-world::moving-item
21 uxul-world::standing-item uxul-world::game-object-with-animation
22 uxul-world::teleporter))