Added copyright. Background generation cleanup. Audio tweaks.

This commit is contained in:
2024-11-11 15:00:44 -05:00
parent f6ab64ca6e
commit 6aae03ed18
5 changed files with 17 additions and 12 deletions

View File

@@ -12,13 +12,14 @@ import (
)
const (
FontDPI = 72
FontSizeStandard = 16
FontSizeLarge = 24
FontSizeBig = 60
FontSizeArcade = 12
FontSizeArcadeBig = 40
FontSizeArcadeHuge = 80
FontDPI = 72
FontSizeStandard = 16
FontSizeLarge = 24
FontSizeBig = 60
FontSizeArcadeSmall = 8
FontSizeArcade = 12
FontSizeArcadeBig = 40
FontSizeArcadeHuge = 80
)
type FontStruct struct {
@@ -29,6 +30,7 @@ type FontStruct struct {
Arcade font.Face
ArcadeLarge font.Face
ArcadeHuge font.Face
ArcadeSmall font.Face
}
var (
@@ -82,4 +84,5 @@ func init() {
SurviveFont.Arcade = GetFaceFatal(fnt3, FontDPI, FontSizeArcade)
SurviveFont.ArcadeLarge = GetFaceFatal(fnt3, FontDPI, FontSizeArcadeBig)
SurviveFont.ArcadeHuge = GetFaceFatal(fnt3, FontDPI, FontSizeArcadeHuge)
SurviveFont.ArcadeSmall = GetFaceFatal(fnt3, FontDPI, FontSizeArcadeSmall)
}