summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2018-08-20 21:50:41 -0400
committerDavid Thompson <dthompson2@worcester.edu>2018-08-23 08:01:11 -0400
commit517d129719e1f5210e1e0c8ff6e597284b41a599 (patch)
tree89a1766abe394fb4b7216dbe548b08b5b644d04c /examples
parenteceae08c4f6985c3cc30191ab33b22302578b81e (diff)
Move SDL game loop implementation to its own module.
Diffstat (limited to 'examples')
-rw-r--r--examples/lines.scm3
-rw-r--r--examples/nine-patch.scm3
-rw-r--r--examples/sprite.scm3
-rw-r--r--examples/text.scm3
-rw-r--r--examples/tiled.scm1
5 files changed, 9 insertions, 4 deletions
diff --git a/examples/lines.scm b/examples/lines.scm
index 75aadf1..f24ec25 100644
--- a/examples/lines.scm
+++ b/examples/lines.scm
@@ -3,7 +3,8 @@
(chickadee)
(chickadee math vector)
(chickadee render color)
- (chickadee render shapes))
+ (chickadee render shapes)
+ (chickadee sdl))
(define lines
(list-tabulate 48
diff --git a/examples/nine-patch.scm b/examples/nine-patch.scm
index 2852245..7e0db1a 100644
--- a/examples/nine-patch.scm
+++ b/examples/nine-patch.scm
@@ -3,7 +3,8 @@
(chickadee math vector)
(chickadee render font)
(chickadee render sprite)
- (chickadee render texture))
+ (chickadee render texture)
+ (chickadee sdl))
(define image #f)
(define font #f)
diff --git a/examples/sprite.scm b/examples/sprite.scm
index 8e54f21..ed968fb 100644
--- a/examples/sprite.scm
+++ b/examples/sprite.scm
@@ -1,7 +1,8 @@
(use-modules (chickadee)
(chickadee math vector)
(chickadee render sprite)
- (chickadee render texture))
+ (chickadee render texture)
+ (chickadee sdl))
(define sprite #f)
diff --git a/examples/text.scm b/examples/text.scm
index 74c2301..0903a90 100644
--- a/examples/text.scm
+++ b/examples/text.scm
@@ -1,6 +1,7 @@
(use-modules (chickadee)
(chickadee math vector)
- (chickadee render font))
+ (chickadee render font)
+ (chickadee sdl))
(define font #f)
diff --git a/examples/tiled.scm b/examples/tiled.scm
index b5fb8b6..19332bb 100644
--- a/examples/tiled.scm
+++ b/examples/tiled.scm
@@ -2,6 +2,7 @@
(chickadee math vector)
(chickadee math rect)
(chickadee render tiled)
+ (chickadee sdl)
(ice-9 match))
(define map #f)