Skip to content

Commit

Permalink
Add DylanSplash font
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlangston committed Dec 12, 2023
1 parent e862f9b commit 63d5731
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/AssetManager.zig
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub const AssetManager = struct {

pub const Fonts = enum {
Unknown,
TwoLines,
};

inline fn GetTextureAsset(key: Textures) AssetManagerErrors!RawAsset {
Expand Down Expand Up @@ -63,6 +64,9 @@ pub const AssetManager = struct {
Fonts.Unknown => {
return AssetManagerErrors.NotFound;
},
.TwoLines => {
return RawAsset.init("./Fonts/2Lines.ttf");
},
}
}

Expand Down
Binary file added src/Fonts/2Lines.ttf
Binary file not shown.

0 comments on commit 63d5731

Please sign in to comment.