;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela :nicknames '(gg))
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; Default values for Gacela
(defvar *width-screen* 640)
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro mapcconst (type c-type name)
(let ((c-header (concatenate 'string c-type " gacela_" name " (void)"))
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro with-color (color &body code)
(cond (color
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; SDL Events
(defconstant SDL_NOEVENT 0)
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defconstant INFINITY MOST-POSITIVE-LONG-FLOAT)
;;; Mob Factory
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defmacro makemob (name &rest methods)
`(defun ,name (&rest args &aux (option (car args)))
;;; You should have received a copy of the GNU General Public License
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
(defun load-font (font-file &key (size 40) (encoding ft_encoding_unicode) static)
(let* ((key (make-resource-font :filename font-file :encoding encoding))
;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-(in-package :gacela)
+(when (not (find-package 'gacela))
+ (make-package 'gacela :nicknames '(gg) :use '(lisp)))
+
+(eval-when (eval) (in-package 'gacela :nicknames '(gg) :use '(lisp)))
;;; Timers