Skip to content

Commit

Permalink
Finally think we have it all sorted now
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Dec 9, 2024
1 parent ee60f87 commit 83b8d8a
Show file tree
Hide file tree
Showing 43 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion src/algorithms/brezenham.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");

pub fn process(start: [2]f32, end: [2]f32) ![][2]f32 {
var output = std.ArrayList([2]f32).init(pixi.state.allocator);
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/artboard.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const Core = @import("mach").Core;
const editor = pixi.editor;
const nfd = @import("nfd");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/canvas.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const Core = @import("mach").Core;
const imgui = @import("zig-imgui");
const zmath = @import("zmath");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/canvas_pack.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/flipbook/canvas.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../../pixi.zig");
const pixi = @import("../../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/flipbook/menu.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../../pixi.zig");
const pixi = @import("../../../Pixi.zig");
const core = @import("mach").core;
const nfd = @import("nfd");
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/flipbook/timeline.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../../pixi.zig");
const pixi = @import("../../../Pixi.zig");
const mach = @import("mach");
const Core = mach.Core;
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/infobar.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/menu.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const settings = pixi.settings;
const zstbi = @import("zstbi");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/artboard/rulers.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/editor.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const mach = @import("mach");
const Core = mach.Core;
const zip = @import("zip");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/animations.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const tools = @import("tools.zig");
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/explorer.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const nfd = @import("nfd");
const imgui = @import("zig-imgui");
const Core = @import("mach").Core;
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/files.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const nfd = @import("nfd");
const zstbi = @import("zstbi");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/keyframe_animations.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const tools = @import("tools.zig");
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/layers.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");
const History = pixi.storage.Internal.Pixi.History;
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/pack.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const nfd = @import("nfd");
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/settings.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const builtin = @import("builtin");
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const Core = @import("mach").Core;
const nfd = @import("nfd");
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/sprites.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/explorer/tools.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");
const layers = @import("layers.zig");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/Popups.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const Popups = @This();
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const editor = pixi.editor;
const zstbi = @import("zstbi");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/about.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/animation.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");
const History = pixi.storage.Internal.Pixi.History;
Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/export_png.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");
const nfd = @import("nfd");
Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/file_confirm_close.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/file_setup.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/heightmap.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/layer_setup.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/references.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/popups/rename.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/sidebar/sidebar.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const pixi = @import("../../pixi.zig");
const pixi = @import("../../Pixi.zig");
const core = @import("mach").core;
const imgui = @import("zig-imgui");

Expand Down
2 changes: 1 addition & 1 deletion src/editor/theme.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");
const builtin = @import("builtin");
const core = @import("mach").core;
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const Color = pixi.math.Color;

const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/gfx/batcher.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const gfx = pixi.gfx;
const zmath = @import("zmath");
const Core = @import("mach").Core;
Expand Down
2 changes: 1 addition & 1 deletion src/gfx/camera.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const zm = @import("zmath");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const core = @import("mach").core;
const gpu = @import("mach").gpu;
const imgui = @import("zig-imgui");
Expand Down
2 changes: 1 addition & 1 deletion src/gfx/quad.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const zm = @import("zmath");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const gfx = pixi.gfx;

pub const Quad = struct {
Expand Down
2 changes: 1 addition & 1 deletion src/gfx/texture.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const zgpu = @import("zgpu");
const zstbi = @import("zstbi");
const wgpu = zgpu.wgpu;
const zm = @import("zmath");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");

const Core = @import("mach").Core;
const gpu = @import("mach").gpu;
Expand Down
2 changes: 1 addition & 1 deletion src/input/Hotkeys.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");
const zm = @import("zmath");
const math = @import("../math/math.zig");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const nfd = @import("nfd");
const zstbi = @import("zstbi");
const Core = @import("mach").Core;
Expand Down
2 changes: 1 addition & 1 deletion src/input/Mouse.zig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const std = @import("std");
const zm = @import("zmath");
const math = @import("../math/math.zig");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const mach = @import("mach");

const builtin = @import("builtin");
Expand Down
2 changes: 1 addition & 1 deletion src/input/input.zig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");

pub const Mouse = @import("Mouse.zig");
pub const Hotkeys = @import("Hotkeys.zig");
Expand Down
2 changes: 1 addition & 1 deletion src/math/tween.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const zmath = @import("zmath");

pub const Tween = enum {
Expand Down
2 changes: 1 addition & 1 deletion src/storage/History.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const zgui = @import("zgui");
const History = @This();
const Core = @import("mach").Core;
Expand Down
2 changes: 1 addition & 1 deletion src/tools/LDTKTileset.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const std = @import("std");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const core = @import("mach").core;

pub const LDTKCompatibility = struct {
Expand Down
2 changes: 1 addition & 1 deletion src/tools/Packer.zig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const std = @import("std");
const zstbi = @import("zstbi");
const pixi = @import("../pixi.zig");
const pixi = @import("../Pixi.zig");
const Core = @import("mach").Core;

pub const LDTKTileset = @import("LDTKTileset.zig");
Expand Down

0 comments on commit 83b8d8a

Please sign in to comment.