From: jsancho Date: Wed, 28 Jul 2010 20:03:05 +0000 (+0000) Subject: (no commit message) X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=985f70ebe19ce02926a46cf524be1152c29a44f1;p=gacela.git --- diff --git a/gacela.lisp b/gacela.lisp index e009ec3..65554ba 100644 --- a/gacela.lisp +++ b/gacela.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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) diff --git a/gacela_FTGL.lisp b/gacela_FTGL.lisp index 8fa2bd0..fa40fa9 100644 --- a/gacela_FTGL.lisp +++ b/gacela_FTGL.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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)")) diff --git a/gacela_GL.lisp b/gacela_GL.lisp index ad71629..3548a71 100644 --- a/gacela_GL.lisp +++ b/gacela_GL.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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)")) diff --git a/gacela_SDL.lisp b/gacela_SDL.lisp index da02a84..502c03a 100644 --- a/gacela_SDL.lisp +++ b/gacela_SDL.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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)")) diff --git a/gacela_draw.lisp b/gacela_draw.lisp index 15b61e0..85540b6 100644 --- a/gacela_draw.lisp +++ b/gacela_draw.lisp @@ -14,7 +14,11 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . -(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 diff --git a/gacela_events.lisp b/gacela_events.lisp index 4663e53..7fe320b 100644 --- a/gacela_events.lisp +++ b/gacela_events.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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) diff --git a/gacela_misc.lisp b/gacela_misc.lisp index bd7027a..6e3e4ff 100755 --- a/gacela_misc.lisp +++ b/gacela_misc.lisp @@ -14,7 +14,10 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . -(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) diff --git a/gacela_mobs.lisp b/gacela_mobs.lisp index 264b3e5..1f499ac 100755 --- a/gacela_mobs.lisp +++ b/gacela_mobs.lisp @@ -17,7 +17,10 @@ ;;; 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))) diff --git a/gacela_ttf.lisp b/gacela_ttf.lisp index 9d8c0c5..e29076a 100644 --- a/gacela_ttf.lisp +++ b/gacela_ttf.lisp @@ -14,7 +14,11 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . -(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)) diff --git a/gacela_widgets.lisp b/gacela_widgets.lisp index 3589067..b6d78e9 100755 --- a/gacela_widgets.lisp +++ b/gacela_widgets.lisp @@ -15,7 +15,10 @@ ;;; along with this program. If not, see . -(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