From 75b895caf7380de4b6dedbe7ddd5bff26031b5c3 Mon Sep 17 00:00:00 2001 From: Javier Sancho Date: Sat, 26 May 2012 19:10:43 +0200 Subject: [PATCH 1/1] Limit to re-exports (a game must load all modules it needs). --- src/gacela.scm | 23 +---------------------- src/video.scm | 4 +--- 2 files changed, 2 insertions(+), 25 deletions(-) diff --git a/src/gacela.scm b/src/gacela.scm index d941351..9be50b0 100644 --- a/src/gacela.scm +++ b/src/gacela.scm @@ -52,29 +52,8 @@ define-mob lambda-mob define-checking-mobs) - #:re-export (get-current-color - get-texture-properties - set-current-color - with-color - progn-textures - draw - draw-texture - draw-line - draw-quad - draw-rectangle - draw-square - draw-cube - translate - rotate - to-origin - add-light - set-camera - camera-look - render-text + #:re-export (translate get-frame-time - key? - key-pressed? - key-released? 3d-mode?)) diff --git a/src/video.scm b/src/video.scm index 4b211e9..3bb0947 100644 --- a/src/video.scm +++ b/src/video.scm @@ -62,9 +62,7 @@ camera-look load-font render-text) - #:export-syntax (glmatrix-block) - #:re-export (glPushMatrix - glPopMatrix)) + #:export-syntax (glmatrix-block)) -- 2.39.5