summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2014-11-07 19:38:47 -0500
committerDavid Thompson <dthompson2@worcester.edu>2014-11-07 19:38:47 -0500
commit27c195b6d8339e71642fea89c8707d0a0cc153f4 (patch)
tree8bac06b3ad261e49a47bdbf393e9feab57d46b19
parente192265fd0d4873cfd852748cc0f1fb38374288d (diff)
Rename (sly helpers) module to (sly utils).
* sly/helpers.scm: Delete. * sly/utils.scm: New file. * Makefile.am (SOURCES): Remove old file. Add new one. * sly/render/camera.scm: s/helpers/utils/ * sly/scene.scm: Likewise. * sly/shader.scm: Likewise. * sly/sprite.scm: Likewise. * sly/texture.scm: Likewise. * sly/transform.scm: Likewise. * examples/tilemap.scm: Likewise.
-rw-r--r--Makefile.am2
-rw-r--r--examples/tilemap.scm2
-rw-r--r--sly/render/camera.scm2
-rw-r--r--sly/shader.scm2
-rw-r--r--sly/sprite.scm2
-rw-r--r--sly/texture.scm2
-rw-r--r--sly/utils.scm (renamed from sly/helpers.scm)2
7 files changed, 7 insertions, 7 deletions
diff --git a/Makefile.am b/Makefile.am
index 45d501e..7a65af2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,6 +21,7 @@ moddir=$(prefix)/share/guile/site/2.0
godir=$(libdir)/guile/2.0/ccache
SOURCES = \
+ sly/utils.scm \
sly/agenda.scm \
sly/animation.scm \
sly/audio.scm \
@@ -31,7 +32,6 @@ SOURCES = \
sly/font.scm \
sly/fps.scm \
sly/game.scm \
- sly/helpers.scm \
sly/keyboard.scm \
sly/live-reload.scm \
sly/math.scm \
diff --git a/examples/tilemap.scm b/examples/tilemap.scm
index 48a8807..bfe41b0 100644
--- a/examples/tilemap.scm
+++ b/examples/tilemap.scm
@@ -30,7 +30,7 @@
(sly camera)
(sly color)
(sly transition)
- (sly helpers)
+ (sly utils)
(sly keyboard))
(load "common.scm")
diff --git a/sly/render/camera.scm b/sly/render/camera.scm
index f5921e3..7a56112 100644
--- a/sly/render/camera.scm
+++ b/sly/render/camera.scm
@@ -28,7 +28,7 @@
#:use-module (gl low-level)
#:use-module (gl enums)
#:use-module (sly wrappers gl)
- #:use-module (sly helpers)
+ #:use-module (sly utils)
#:use-module (sly color)
#:use-module (sly rect)
#:use-module (sly transform)
diff --git a/sly/shader.scm b/sly/shader.scm
index 5e9ad0a..5ad97ab 100644
--- a/sly/shader.scm
+++ b/sly/shader.scm
@@ -25,7 +25,7 @@
#:use-module (srfi srfi-9)
#:use-module (gl)
#:use-module (gl low-level)
- #:use-module (sly helpers)
+ #:use-module (sly utils)
#:use-module (sly transform)
#:use-module (sly math vector)
#:use-module (sly color)
diff --git a/sly/sprite.scm b/sly/sprite.scm
index f6f2d78..33c679f 100644
--- a/sly/sprite.scm
+++ b/sly/sprite.scm
@@ -31,7 +31,7 @@
#:use-module (sly color)
#:use-module (sly config)
#:use-module (sly agenda)
- #:use-module (sly helpers)
+ #:use-module (sly utils)
#:use-module (sly math)
#:use-module (sly mesh)
#:use-module (sly shader)
diff --git a/sly/texture.scm b/sly/texture.scm
index 15521a0..b7221de 100644
--- a/sly/texture.scm
+++ b/sly/texture.scm
@@ -29,7 +29,7 @@
#:use-module (gl low-level)
#:use-module (gl contrib packed-struct)
#:use-module (sly color)
- #:use-module (sly helpers)
+ #:use-module (sly utils)
#:use-module (sly math vector)
#:use-module (sly wrappers gl)
#:use-module (sly wrappers freeimage)
diff --git a/sly/helpers.scm b/sly/utils.scm
index d63d470..7bf38f7 100644
--- a/sly/helpers.scm
+++ b/sly/utils.scm
@@ -22,7 +22,7 @@
;;
;;; Code:
-(define-module (sly helpers)
+(define-module (sly utils)
#:use-module (srfi srfi-1)
#:use-module (rnrs arithmetic bitwise)
#:use-module (sly agenda)