Skip to content

Commit

Permalink
gif support (progressing)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Ji committed Nov 27, 2024
1 parent f0055d3 commit 383d2da
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/utils.zig
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ pub const asynctool = @import("utils/async.zig");
/// Tile map support
pub const tiled = @import("utils/tiled.zig");

/// GIF support
pub const gif = @import("utils/gif.zig");

/// Generic ring data structure
pub const ring = @import("utils/ring.zig");

Expand Down
4 changes: 2 additions & 2 deletions src/utils/easing.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// Easing system
/// Checkout link: https://easings.net
/// Easing System
/// https://easings.net
const std = @import("std");
const math = std.math;
const assert = std.debug.assert;
Expand Down
8 changes: 8 additions & 0 deletions src/utils/gif.zig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/// Graphics Interchange Format
/// https://www.w3.org/Graphics/GIF/spec-gif89a.txt
const std = @import("std");
const assert = std.debug.assert;
const jok = @import("../jok.zig");
const j2d = jok.j2d;
const physfs = jok.physfs;
const log = std.log.scoped(.jok);
2 changes: 2 additions & 0 deletions src/utils/tiled.zig
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// Tiled Editor
/// https://doc.mapeditor.org/en/stable/reference/tmx-map-format/
const std = @import("std");
const assert = std.debug.assert;
const xml = @import("xml.zig");
Expand Down

0 comments on commit 383d2da

Please sign in to comment.