From 1d7091c3eee8c04fb3872659b528e6b7e1115387 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 20 Apr 2021 21:38:52 -0400 Subject: Add more devices and a dialog mode with choices. --- game.scm | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 114 insertions(+), 11 deletions(-) (limited to 'game.scm') diff --git a/game.scm b/game.scm index 9e0e1d1..83d2cc0 100644 --- a/game.scm +++ b/game.scm @@ -28,6 +28,7 @@ (define game-width 640) (define game-height 360) (define player-display-name "") +(define thing-display-name "??????") ;;; @@ -35,11 +36,16 @@ ;;; (define-asset dialog-box-texture (load-image "assets/images/dialog-box.png")) +(define-asset button-press-texture (load-image "assets/images/button-press.png")) (define-asset darkness (load-image "assets/images/darkness.png")) (define-asset room-background (load-image "assets/images/room.png")) (define-asset door-lock-texture (load-image "assets/images/door-lock.png")) +(define-asset door-texture (load-image "assets/images/door.png")) (define-asset terminal-texture (load-image "assets/images/terminal.png")) (define-asset terminal-background (load-image "assets/images/terminal-background.png")) +(define-asset control-panel-texture (load-image "assets/images/control-panel.png")) +(define-asset fridge-texture (load-image "assets/images/fridge.png")) +(define-asset window-texture (load-image "assets/images/window.png")) (define-asset monogram-font (load-font "assets/fonts/monogram_extended.ttf" 12)) (define-asset monogram-font-big (load-font "assets/fonts/monogram_extended.ttf" 24)) @@ -121,7 +127,7 @@ (define-theme gui-theme ( (font monogram-font)) (