diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2021-02-26 00:02:38 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2021-02-26 00:02:38 +0100 |
commit | 064bac7a84dabd136aff3f67ec09409835aef97f (patch) | |
tree | 2dff3fa0f55e5a3501b6a64c73b267335a860f1a | |
parent | 7bd387d35baea9f6861c81f4286f68999849ea63 (diff) |
Use load-bitmap-font.
-rw-r--r-- | scenes/death.scm | 2 | ||||
-rw-r--r-- | scenes/game.scm | 2 | ||||
-rw-r--r-- | scenes/intro.scm | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/scenes/death.scm b/scenes/death.scm index 388dae8..d58bf0d 100644 --- a/scenes/death.scm +++ b/scenes/death.scm @@ -47,7 +47,7 @@ (pretend-walking? #:accessor pretend-walking? #:init-form #f)) (define-asset death-font - (load-font "assets/fonts/good_neighbors_starling.xml")) + (load-bitmap-font "assets/fonts/good_neighbors_starling.xml")) (define-asset music-death (load-music "assets/music/death.ogg")) diff --git a/scenes/game.scm b/scenes/game.scm index 70bf91a..2054098 100644 --- a/scenes/game.scm +++ b/scenes/game.scm @@ -68,7 +68,7 @@ (tile-map #:accessor tile-map #:init-form test-map)) (define-asset game-font - (load-font "assets/fonts/good_neighbors_starling.xml")) + (load-bitmap-font "assets/fonts/good_neighbors_starling.xml")) (define (location game name) "Look up the location for an object with the given NAME in the map's diff --git a/scenes/intro.scm b/scenes/intro.scm index 053cfd8..cb8f029 100644 --- a/scenes/intro.scm +++ b/scenes/intro.scm @@ -1,5 +1,5 @@ ;;; The Inevitable Game -;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2018, 2021 Ricardo Wurmus <rekado@elephly.net> ;;; ;;; This program is free software: you can redistribute it and/or ;;; modify it under the terms of the GNU General Public License as @@ -36,7 +36,7 @@ (define-class <intro> (<scene>)) (define-asset game-font - (load-font "assets/fonts/good_neighbors_starling.xml")) + (load-bitmap-font "assets/fonts/good_neighbors_starling.xml")) (define-asset intro-bg (load-image "assets/images/intro-bg.png")) |