From 064bac7a84dabd136aff3f67ec09409835aef97f Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 26 Feb 2021 00:02:38 +0100 Subject: Use load-bitmap-font. --- scenes/death.scm | 2 +- scenes/game.scm | 2 +- 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 +;;; Copyright © 2018, 2021 Ricardo Wurmus ;;; ;;; 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 ()) (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")) -- cgit v1.2.3