diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-07 22:31:16 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-07 22:31:16 -0500 |
commit | 40f21faf0413748213066632c3f2ad7e11668d71 (patch) | |
tree | 3c55cfb22a8cb92138d505cdcbd4e72faff938e3 | |
parent | e3f07cfd92adfcd62d6605af16e122f85a4249dd (diff) |
render: Move sprite module to sly/render directory.
* sly/sprite.scm: Delete.
* sly/render/sprite.scm: New file.
* Makefile.am (SOURCES): Add new file and delete old one.
* sly/font.scm: Use (sly render sprite).
* examples/animation.scm: Likewise.
* examples/common.scm: Likewise.
* examples/coroutine.scm: Likewise.
* examples/joystick.scm: Likewise.
* examples/particles.scm: Likewise.
* examples/simple.scm: Likewise.
* examples/tilemap.scm: Likewise.
* examples/transition.scm: Likewise.
-rw-r--r-- | Makefile.am | 2 | ||||
-rw-r--r-- | examples/animation.scm | 2 | ||||
-rw-r--r-- | examples/common.scm | 2 | ||||
-rw-r--r-- | examples/coroutine.scm | 2 | ||||
-rw-r--r-- | examples/joystick.scm | 2 | ||||
-rw-r--r-- | examples/particles.scm | 2 | ||||
-rw-r--r-- | examples/simple.scm | 2 | ||||
-rw-r--r-- | examples/tilemap.scm | 2 | ||||
-rw-r--r-- | examples/transition.scm | 2 | ||||
-rw-r--r-- | sly/font.scm | 2 | ||||
-rw-r--r-- | sly/render/sprite.scm (renamed from sly/sprite.scm) | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/Makefile.am b/Makefile.am index a5f1aa8..9921ff2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,7 +45,6 @@ SOURCES = \ sly/shader.scm \ sly/shape.scm \ sly/signal.scm \ - sly/sprite.scm \ sly/tileset.scm \ sly/transform.scm \ sly/transition.scm \ @@ -55,6 +54,7 @@ SOURCES = \ sly/render/camera.scm \ sly/render/framebuffer.scm \ sly/render/texture.scm \ + sly/render/sprite.scm \ sly/render/vertex-array.scm \ sly/render/context.scm \ sly/render/renderer.scm \ diff --git a/examples/animation.scm b/examples/animation.scm index 04fc46e..64a49c1 100644 --- a/examples/animation.scm +++ b/examples/animation.scm @@ -17,7 +17,7 @@ (use-modules (sly animation) (sly game) - (sly sprite) + (sly render sprite) (sly tileset) (sly vector) (sly window)) diff --git a/examples/common.scm b/examples/common.scm index 07e7aae..f3c91b2 100644 --- a/examples/common.scm +++ b/examples/common.scm @@ -21,7 +21,7 @@ (sly keyboard) (sly repl) (sly signal) - (sly sprite) + (sly render sprite) (sly window)) (open-window) diff --git a/examples/coroutine.scm b/examples/coroutine.scm index 708f174..ae8229d 100644 --- a/examples/coroutine.scm +++ b/examples/coroutine.scm @@ -19,7 +19,7 @@ (sly agenda) (sly coroutine) (sly game) - (sly sprite) + (sly render sprite) (sly render texture) (sly vector) (sly window)) diff --git a/examples/joystick.scm b/examples/joystick.scm index 268c1ee..6714ff3 100644 --- a/examples/joystick.scm +++ b/examples/joystick.scm @@ -24,7 +24,7 @@ (use-modules (sly game) (sly repl) - (sly sprite) + (sly render sprite) (sly render texture) (sly joystick) (sly signal) diff --git a/examples/particles.scm b/examples/particles.scm index 1d2f335..17a043d 100644 --- a/examples/particles.scm +++ b/examples/particles.scm @@ -19,7 +19,7 @@ (srfi srfi-9) (sly agenda) (sly game) - (sly sprite) + (sly render sprite) (sly render texture) (sly vector) (sly window)) diff --git a/examples/simple.scm b/examples/simple.scm index 09554d3..92a2010 100644 --- a/examples/simple.scm +++ b/examples/simple.scm @@ -19,7 +19,7 @@ (sly game) (sly rect) (sly scene) - (sly sprite) + (sly render sprite) (sly transform) (sly vector) (sly window) diff --git a/examples/tilemap.scm b/examples/tilemap.scm index 8ce7f81..05dbd1f 100644 --- a/examples/tilemap.scm +++ b/examples/tilemap.scm @@ -20,7 +20,7 @@ (srfi srfi-9) (srfi srfi-42) (sly game) - (sly sprite) + (sly render sprite) (sly render texture) (sly tileset) (sly vector) diff --git a/examples/transition.scm b/examples/transition.scm index 606942f..1e18e0e 100644 --- a/examples/transition.scm +++ b/examples/transition.scm @@ -16,7 +16,7 @@ ;;; <http://www.gnu.org/licenses/>. (use-modules (sly game) - (sly sprite) + (sly render sprite) (sly vector) (sly window) (sly color) diff --git a/sly/font.scm b/sly/font.scm index 9d28f74..c14905b 100644 --- a/sly/font.scm +++ b/sly/font.scm @@ -35,7 +35,7 @@ #:use-module (sly config) #:use-module (sly mesh) #:use-module (sly shader) - #:use-module (sly sprite) + #:use-module (sly render sprite) #:use-module (sly render texture) #:export (enable-fonts load-font diff --git a/sly/sprite.scm b/sly/render/sprite.scm index e452247..5bdaac7 100644 --- a/sly/sprite.scm +++ b/sly/render/sprite.scm @@ -22,7 +22,7 @@ ;; ;;; Code: -(define-module (sly sprite) +(define-module (sly render sprite) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (gl) |