Added copyright. Background generation cleanup. Audio tweaks.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user