diff --git a/.gitignore b/.gitignore index 227f90d..2148c41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ #FOLDERS -old source/ -.vscode/ \ No newline at end of file +.vscode/ +.zig-cache/ \ No newline at end of file diff --git a/.vscode/Fumofumotris.code-workspace b/.vscode/Fumofumotris.code-workspace index 62d82b1..c551b90 100644 --- a/.vscode/Fumofumotris.code-workspace +++ b/.vscode/Fumofumotris.code-workspace @@ -61,7 +61,8 @@ "fumoengine.h": "c", "event.h": "c", "fumocommon.h": "c", - "terminal.h": "c" + "terminal.h": "c", + "ios": "cpp" } } } \ No newline at end of file diff --git a/assets/music/Neru/fts1v2.mid b/assets/music/Luna/fts1v2.mid similarity index 100% rename from assets/music/Neru/fts1v2.mid rename to assets/music/Luna/fts1v2.mid diff --git a/assets/music/Neru/fts2v2.mid b/assets/music/Luna/fts2v2.mid similarity index 100% rename from assets/music/Neru/fts2v2.mid rename to assets/music/Luna/fts2v2.mid diff --git a/assets/music/Neru/fts3.mid b/assets/music/Luna/fts3.mid similarity index 100% rename from assets/music/Neru/fts3.mid rename to assets/music/Luna/fts3.mid diff --git a/build.zig b/build.zig new file mode 100644 index 0000000..09d3ef3 --- /dev/null +++ b/build.zig @@ -0,0 +1,15 @@ +const std = @import("std"); + +pub fn build(b: *std.Build) void { + const target = b.standardTargetOptions(.{}); + const optimize = b.standardOptimizeOption(.{}); + const exe = b.addExecutable(.{ + .name = "Fumofumotris", + .root_source_file = b.path("src/main.zig"), + .target = target, + .optimize = optimize, + }); + exe.linkLibC(); + + b.installArtifact(exe); +} diff --git a/rewrite/build.zig.zon b/build.zig.zon similarity index 99% rename from rewrite/build.zig.zon rename to build.zig.zon index 8003307..3ec091f 100644 --- a/rewrite/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,5 @@ .{ - .name = "rewrite", + .name = "Fumofumotris", // This is a [Semantic Version](https://semver.org/). // In a future version of Zig it will be used for package deduplication. .version = "0.0.0", diff --git a/rewrite/build.zig b/rewrite/build.zig deleted file mode 100644 index aaec39b..0000000 --- a/rewrite/build.zig +++ /dev/null @@ -1,77 +0,0 @@ -const std = @import("std"); - -// Although this function looks imperative, note that its job is to -// declaratively construct a build graph that will be executed by an external -// runner. -pub fn build(b: *std.Build) void { - // Standard target options allows the person running `zig build` to choose - // what target to build for. Here we do not override the defaults, which - // means any target is allowed, and the default is native. Other options - // for restricting supported target set are available. - const target = b.standardTargetOptions(.{}); - - // Standard optimization options allow the person running `zig build` to select - // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not - // set a preferred release mode, allowing the user to decide how to optimize. - const optimize = b.standardOptimizeOption(.{}); - - const exe = b.addExecutable(.{ - .name = "rewrite", - .root_source_file = b.path("src/main.zig"), - .target = target, - .optimize = optimize, - }); - - // This declares intent for the executable to be installed into the - // standard location when the user invokes the "install" step (the default - // step when running `zig build`). - b.installArtifact(exe); - - // This *creates* a Run step in the build graph, to be executed when another - // step is evaluated that depends on it. The next line below will establish - // such a dependency. - const run_cmd = b.addRunArtifact(exe); - - // By making the run step depend on the install step, it will be run from the - // installation directory rather than directly from within the cache directory. - // This is not necessary, however, if the application depends on other installed - // files, this ensures they will be present and in the expected location. - run_cmd.step.dependOn(b.getInstallStep()); - - // This allows the user to pass arguments to the application in the build - // command itself, like this: `zig build run -- arg1 arg2 etc` - if (b.args) |args| { - run_cmd.addArgs(args); - } - - // This creates a build step. It will be visible in the `zig build --help` menu, - // and can be selected like this: `zig build run` - // This will evaluate the `run` step rather than the default, which is "install". - const run_step = b.step("run", "Run the app"); - run_step.dependOn(&run_cmd.step); - - // Creates a step for unit testing. This only builds the test executable - // but does not run it. - const lib_unit_tests = b.addTest(.{ - .root_source_file = b.path("src/root.zig"), - .target = target, - .optimize = optimize, - }); - - const run_lib_unit_tests = b.addRunArtifact(lib_unit_tests); - - const exe_unit_tests = b.addTest(.{ - .root_source_file = b.path("src/main.zig"), - .target = target, - .optimize = optimize, - }); - - const run_exe_unit_tests = b.addRunArtifact(exe_unit_tests); - - // Similar to creating the run step earlier, this exposes a `test` step to - // the `zig build --help` menu, providing a way for the user to request - // running the unit tests. - const test_step = b.step("test", "Run unit tests"); - test_step.dependOn(&run_lib_unit_tests.step); - test_step.dependOn(&run_exe_unit_tests.step); -} diff --git a/rewrite/src/fumostd.zig b/rewrite/src/fumostd.zig deleted file mode 100644 index 1e1decf..0000000 --- a/rewrite/src/fumostd.zig +++ /dev/null @@ -1,150 +0,0 @@ -const std = @import("std"); -const AtomicOrder = @import("std").builtin.AtomicOrder; - -pub fn HashMap(comptime V: type) type { - return struct { - pub const HashMapError = error{Full}; - - pub const Bucket = struct { - hash: usize = 0, - value: V = undefined, - }; - - buckets: []Bucket, - filled: usize = 0, - - pub fn init(allocator: std.mem.Allocator, n: usize) !@This() { - const map = @This(){ - .buckets = try allocator.alloc(Bucket, n), - }; - - @memset(map.buckets, Bucket{}); - - return map; - } - - pub fn find(this: @This(), hash: usize) ?*V { - const index: usize = hash % this.buckets.len; - const probe: ?*Bucket = this.linProbe(index, hash); - - if (probe) |bucket| { - return &bucket.value; - } else { - return null; - } - } - - pub fn set(this: *@This(), hash: usize, value: V) !void { - const index: usize = hash % this.buckets.len; - const probe: ?*Bucket = this.linProbeEmpty(index, hash); - - if (probe) |bucket| { - bucket.* = Bucket{ .hash = hash, .value = value }; - this.filled += 1; - } else { - return HashMapError.Full; - } - } - - fn linProbe(this: @This(), start: usize, hash: usize) ?*Bucket { - var i: usize = 0; - var index: usize = start; - - while (i < this.buckets.len) : ({ - i += 1; - index = (start + i) % this.buckets.len; - }) { - if (this.buckets[index].hash == hash) - return &this.buckets[index]; - } - - return null; - } - - fn linProbeEmpty(this: @This(), start: usize, hash: usize) ?*Bucket { - var i: usize = 0; - var index: usize = start; - - while (i < this.buckets.len) : ({ - i += 1; - index = (start + i) % this.buckets.len; - }) { - const cur: usize = this.buckets[index].hash; - if (cur == 0 or cur == hash) - return &this.buckets[index]; - } - - return null; - } - }; -} - -pub fn Buffer(comptime T: type, comptime size: comptime_int) type { - return struct { - array: [size]T = undefined, - written: usize = 0, - used: usize = 0, - - pub fn flush(this: *@This()) void { - this.written = 0; - this.used = 0; - } - - pub fn getSlice(this: *@This()) []T { - return this.array[this.used..this.written]; - } - }; -} - -pub fn CircleBuffer(comptime T: type, comptime size: comptime_int) type { - return struct { - array: [size]T = undefined, - read: usize = 0, - write: usize = 0, - - cond: std.Thread.Condition = .{}, - mutex: std.Thread.Mutex = .{}, - - pub fn write(this: *@This(), slice: []T) usize { - const read_atm: usize = @atomicLoad(usize, &this.read, AtomicOrder.acquire); - const contiguous: bool = this.write < read_atm; - - const a_upper: usize = if (contiguous) read_atm else size; - const b_upper: usize = if (contiguous) 0 else read_atm; - - const region_a: []T = this.array[this.write..a_upper]; - const region_b: []T = this.array[0..b_upper]; - - const slice_a: []T = slice[0..@min(slice.len, region_a.len)]; - const slice_b: []T = slice[slice_a.len..slice.len]; - - @memcpy(region_a, slice_a); - @memcpy(region_b, slice_b); - - const written: usize = @min(slice.len, region_a.len + region_b.len); - @atomicStore(usize, &this.write, (this.write + written) % size, AtomicOrder.release); - return written; - } - - pub fn read(this: *@This()) struct { []T, []T } { - const write_atm: usize = @atomicLoad(usize, &this.write, AtomicOrder.acquire); - const contiguous: bool = this.read < write_atm; - - const a_upper: usize = if (contiguous) write_atm else size; - const b_upper: usize = if (contiguous) 0 else write_atm; - - const region_a: []T = this.array[this.read..a_upper]; - const region_b: []T = this.array[0..b_upper]; - - const read_total: usize = region_a.len + region_b.len; - @atomicStore(usize, &this.read, (this.read + read_total) % size, AtomicOrder.release); - return struct { region_a, region_b }; - } - - pub fn waitRead(this: *@This()) void { - this.mutex.lock(); - this.cond.wait(&this.mutex); - this.mutex.unlock(); - } - }; -} diff --git a/rewrite/src/input.zig b/rewrite/src/input.zig deleted file mode 100644 index 38e846b..0000000 --- a/rewrite/src/input.zig +++ /dev/null @@ -1,144 +0,0 @@ -const std = @import("std"); -const fumo = @import("fumostd.zig"); -const platform = @import("platform.zig"); - -pub const RecordCircle = fumo.CircleBuffer(Record, 16); - -pub const RecordBuffer = fumo.Buffer(Record, 16); -pub const StringBuffer = fumo.Buffer(u8, 16 * 4); - -pub const Record = struct { - const Type = enum { axis, joystick }; - - hash: usize, - value: f64, - - pub fn readAxis(buf: RecordBuffer, code: usize, data: f64) void { - buf.array[buf.written] = Record{ - .hash = hashCode(code, Type.axis), - .data = data, - }; - buf.written += 1; - } - - pub fn readJoystick(buf: RecordBuffer, code: usize, x: f64, y: f64) void { - buf.array[buf.written] = .{ .code = hashCode(code, Type.joystick), .data = x }; - buf.array[buf.written + 1] = .{ .code = hashCode(code, Type.joystick), .data = y }; - buf.written += 2; - } - - fn hashCode(code: usize, code_type: usize) usize { - return code | (code_type << (@bitSizeOf(usize) / 2)); - } -}; - -pub const Handle = struct { - rec_circ: RecordCircle = .{}, - - thread: std.Thread = undefined, - cond: std.Thread.Condition = .{}, - mutex: std.Thread.Mutex = .{}, - - pub fn init() !Handle { - var handle = Handle{}; - handle.thread = try std.Thread.spawn(.{}, worker, .{&handle}); - - return handle; - } - - fn worker(hand: *Handle) !void { - var new_recs = RecordBuffer{}; - - while (true) : (new_recs.flush()) { - try platform.ReadInput(&new_recs, &str_buf); - - while (new_recs.used < new_recs.written) : (rec_circ.waitRead()) { - new_recs.used += hand.rec_circ.write(new_recs.getSlice()); - } - } - } -}; - -pub const Controller = struct { - const CodeBindMap = fumo.HashMap(*Bind); - - axes: []Axis, - binds: []Bind, - map: CodeBindMap, - - pending: [16]*Axis = undefined, - pending_len: usize = 0, - - const Axis = struct { - value: f64 = 0, - - last_pressed: u64 = 0, - last_released: u64 = 0, - - is_down: bool = false, - is_held: bool = false, - is_up: bool = false, - }; - - const Bind = struct { - axis: *Axis, - multiplier: f64, - }; - - pub fn init( - arena: std.mem.Allocator, - axes: usize, - binds: usize, - codes: usize, - ) !Controller { - const ctrl = Controller{ - .axes = try arena.alloc(Axis, axes), - .binds = try arena.alloc(Bind, binds), - - .code_map = try CodeBindMap.init(arena, codes), - }; - - @memset(ctrl.axes, Axis{}); - - return ctrl; - } - - pub fn mapCodeToBind(ctrl: *Controller, code: usize, bind: usize) !void { - try ctrl.map.set(code, &ctrl.binds[bind]); - } - - pub fn mapBindToAxis(ctrl: *Controller, bind: usize, axis: usize, multiplier: f64) void { - ctrl.binds[bind] = Bind{ - .axis = ctrl.axes + axis, - .multiplier = multiplier, - }; - } - - pub fn poll(ctrl: *Controller, rec_circ: *RecordCircle) void { - for (ctrl.pending[0..ctrl.pending_len]) |axis| { - axis.is_up = false; - axis.is_down = false; - } - - inline for (rec_circ.read()) |slice| for (slice) |record| { - if (ctrl.map.find(record.hash)) |bind| { - std.debug.print("{}\n", .{record.hash}); - - dispatch(bind, record); - } - }; - } - - fn dispatch(bind: *Bind, record: Record) void { - bind.axis.value = record.value * bind.multiplier; - - bind.axis.is_down = record.value != 0; - bind.axis.is_up = record.value == 0; - - if (record.value != 0) { - bind.axis.last_pressed = record.time; - } else { - bind.axis.last_released = record.time; - } - } -}; diff --git a/rewrite/src/main.zig b/rewrite/src/main.zig deleted file mode 100644 index 181cec5..0000000 --- a/rewrite/src/main.zig +++ /dev/null @@ -1,20 +0,0 @@ -const std = @import("std"); -const fumo = @import("fumostd.zig"); -const input = @import("input.zig"); - -pub fn main() !void { - var arena = std.heap.ArenaAllocator.init(std.heap.page_allocator); - const allocator = arena.allocator(); - - var ctrl = try input.Controller.init(allocator, 3, 3, 3); - - try ctrl.mapCodeToBind(69, 0); - ctrl.mapBindToAxis(0, 2, 1); - - var hand = try input.Handle.init(); - - while (true) { - ctrl.poll(&hand.rec_circ); - hand.cond.signal(); - } -} diff --git a/rewrite/src/misc/binaryencoder.zig b/rewrite/src/misc/binaryencoder.zig deleted file mode 100644 index 41281b0..0000000 --- a/rewrite/src/misc/binaryencoder.zig +++ /dev/null @@ -1,42 +0,0 @@ -const std = @import("std"); - -const BinaryEncoder = struct { - buf: []u8, - byte_index: usize = 0, - bit_index: u8 = 0, - - pub fn init(buf: []u8) BinaryEncoder { - const be = BinaryEncoder{ .buf = buf }; - @memset(buf, 0); - - return be; - } - - pub fn write(this: *@This(), value: u8, bit_width: u8) void { - const shift_left: u3 = @intCast(this.bit_index); - this.buf[this.byte_index] |= value << shift_left; - - if (this.bit_index + bit_width > 8) { - const shift_right: u3 = @intCast(8 - this.bit_index); - this.buf[this.byte_index + 1] |= value >> shift_right; - - this.bit_index = bit_width - shift_right; - } else if (this.bit_index + bit_width == 8) { - this.bit_index = 0; - this.byte_index += 1; - } else { - this.bit_index += bit_width; - } - } -}; - -pub fn main() !void { - var buf: [16]u8 = undefined; - var be = BinaryEncoder.init(&buf); - - be.write(0b0000000, 7); - be.write(0b11, 2); - - std.debug.print("val: bin:{b} dec:{}\n", .{ buf[0], buf[0] }); - std.debug.print("val: bin:{b} dec:{}\n", .{ buf[1], buf[1] }); -} diff --git a/rewrite/src/platform.zig b/rewrite/src/platform.zig deleted file mode 100644 index 5812b8a..0000000 --- a/rewrite/src/platform.zig +++ /dev/null @@ -1,109 +0,0 @@ -const std = @import("std"); -const input = @import("input.zig"); - -const windows = @cImport({ - @cInclude("windows.h"); -}); - -const stdin = windows.GetStdHandle(windows.STD_INPUT_HANDLE); - -const PlatformError = error{ReadInputCall}; - -pub fn ReadInput( - rec_buf: *input.RecordBuffer, - str_buf: *input.StringBuffer, -) !void { - var win_buf: [input.IO_BUF_SIZE]windows.INPUT_RECORD = undefined; - var n_win_buf: usize = 0; - - const success: bool = windows.ReadConsoleInputW( - stdin, - &win_buf, - input.IO_BUF_SIZE, - &n_win_buf, - ); - - if (!success) - return PlatformError.ReadInputCall; - - for (win_buf) |win_rec| { - translate(win_rec, rec_buf, str_buf); - } -} - -fn translate( - win_rec: windows.INPUT_RECORD, - rec_buf: *input.RecordBuffer, - str_buf: *input.StringBuffer, -) void { - switch (win_rec.EventType) { - windows.KEY_EVENT => { - input.Record.readAxis( - rec_buf, - win_rec.Event.KeyEvent.wVirtualKeyCode, - win_rec.Event.KeyEvent.bKeyDown, - ); - - if (!win_rec.Event.KeyEvent.bKeyDown) - return; - - str_buf.written += sprintWchar( - str_buf.array + str_buf.written, - win_rec.Event.KeyEvent.uChar.UnicodeChar, - ); - }, - - windows.MOUSE_EVENT => translateMouse( - rec_buf, - win_rec.Event.MouseEvent, - ), - - windows.WINDOW_BUFFER_SIZE_EVENT => void, - - else => void, - } -} - -fn translateMouse( - rec_buf: *input.RecordBuffer, - win_mouse: windows.MOUSE_EVENT_RECORD, -) void { - switch (win_mouse.dwEventFlags) { - windows.MOUSE_MOVED => input.Record.readJoystick( - rec_buf, - 0, - win_mouse.dwMousePosition.X, - win_mouse.dwMousePosition.Y, - ), - - windows.MOUSE_WHEELED => input.Record.readAxis( - rec_buf, - 1, - win_mouse.dwButtonState, - ), - - windows.MOUSE_HWHEELED => input.Record.readAxis( - rec_buf, - 2, - win_mouse.dwButtonState, - ), - } -} - -fn sprintWchar(buf: [*]u8, wchar: u16) usize { - if (wchar < 255) { - buf[0] = wchar; - return 1; - } - - if (wchar < 2047) { - buf[0] = 0xC0 + (wchar >> 6); - buf[1] = 0x80 + (wchar & 0x3F); - return 2; - } - - buf[0] = 0xE0 + (wchar >> 12); - buf[1] = 0x80 + ((wchar >> 6) & 0x3F); - buf[2] = 0x80 + (wchar & 0x3F); - return 3; -} diff --git a/rewrite/zig-cache/h/00b5749cffb482ec4f56fbde780dd68c.txt b/rewrite/zig-cache/h/00b5749cffb482ec4f56fbde780dd68c.txt deleted file mode 100644 index 06cd0c3..0000000 --- a/rewrite/zig-cache/h/00b5749cffb482ec4f56fbde780dd68c.txt +++ /dev/null @@ -1,81 +0,0 @@ -0 -9195 1688849862231119 1715741198000000000 d9e88121b3583ad9540c15d0f2ddeeaf 1 compiler\test_runner.zig -2681 844424932407779 1716450400926127200 85c9f61e885eb6e9318b7c14c34d4b32 0 src\main.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -2386 1688849862522502 1716193666879503900 fb6773272f7943fe974813aaff35886a 0 C:\Users\Gamer\AppData\Local\zig\b\fb6773272f7943fe974813aaff35886a\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -44231 281474978983962 1715741198000000000 0e2dbefe6f6f90f24219f13c2c394db2 1 std\testing.zig -61138 281474978983717 1715741198000000000 0a7c3373b70872f9821b8ef794edda55 1 std\heap\general_purpose_allocator.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -17234 281474978983967 1715741198000000000 d1533a6b75e3d75cd6f70847fc85bb6b 1 std\treap.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -7590 281474978983720 1715741198000000000 2f13ee674df3be60a19359b16ae62e32 1 std\heap\memory_pool.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -1907 281474978983953 1715741198000000000 f6a6c8e74092e290ecce07ac5d4e9761 1 std\start_windows_tls.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -45642 281474978983979 1715741198000000000 1a3ac893968caf40f15a61a3e4020198 1 std\zig.zig -8806 281474978983989 1715741198000000000 274b0f54c5da0fc9ed3b412df0b0cb88 1 std\zig\Server.zig -20392 281474978983669 1715741198000000000 a41115e4a4263ff02975e97d21f21847 1 std\fifo.zig -1464 281474978983984 1715741198000000000 262bf5a41c36322233615e07256bc570 1 std\zig\Client.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -16345 281474978983439 1715741198000000000 07047c90cfdb25f62565ada1af0fb2ee 1 std\Progress.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig diff --git a/rewrite/zig-cache/h/8770c94333180e1952d93d4ee4d1cb21.txt b/rewrite/zig-cache/h/8770c94333180e1952d93d4ee4d1cb21.txt deleted file mode 100644 index d833b4d..0000000 --- a/rewrite/zig-cache/h/8770c94333180e1952d93d4ee4d1cb21.txt +++ /dev/null @@ -1,81 +0,0 @@ -0 -9195 1688849862231119 1715741198000000000 d9e88121b3583ad9540c15d0f2ddeeaf 1 compiler\test_runner.zig -191 844424932407780 1716425154211990700 7e2860f081407d3d9f477662f7b2cd11 0 src\root.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -2386 1688849862522502 1716193666879503900 fb6773272f7943fe974813aaff35886a 0 C:\Users\Gamer\AppData\Local\zig\b\fb6773272f7943fe974813aaff35886a\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -44231 281474978983962 1715741198000000000 0e2dbefe6f6f90f24219f13c2c394db2 1 std\testing.zig -1907 281474978983953 1715741198000000000 f6a6c8e74092e290ecce07ac5d4e9761 1 std\start_windows_tls.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -45642 281474978983979 1715741198000000000 1a3ac893968caf40f15a61a3e4020198 1 std\zig.zig -8806 281474978983989 1715741198000000000 274b0f54c5da0fc9ed3b412df0b0cb88 1 std\zig\Server.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -20392 281474978983669 1715741198000000000 a41115e4a4263ff02975e97d21f21847 1 std\fifo.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -1464 281474978983984 1715741198000000000 262bf5a41c36322233615e07256bc570 1 std\zig\Client.zig -61138 281474978983717 1715741198000000000 0a7c3373b70872f9821b8ef794edda55 1 std\heap\general_purpose_allocator.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -17234 281474978983967 1715741198000000000 d1533a6b75e3d75cd6f70847fc85bb6b 1 std\treap.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -7590 281474978983720 1715741198000000000 2f13ee674df3be60a19359b16ae62e32 1 std\heap\memory_pool.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -16345 281474978983439 1715741198000000000 07047c90cfdb25f62565ada1af0fb2ee 1 std\Progress.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig diff --git a/rewrite/zig-cache/h/9d87438e83714825e02e31e0da6dcaa2.txt b/rewrite/zig-cache/h/9d87438e83714825e02e31e0da6dcaa2.txt deleted file mode 100644 index 446e6e9..0000000 --- a/rewrite/zig-cache/h/9d87438e83714825e02e31e0da6dcaa2.txt +++ /dev/null @@ -1,2 +0,0 @@ -0 -914432 29554872555039338 1716442697110515700 e8a90e33a6c347566673f912a23cdbd8 1 zig-cache\o\b62f32fa861baaae7592ef3b0966145a\test.exe diff --git a/rewrite/zig-cache/h/bb2998deabba4a428e94521ffe53aee0.txt b/rewrite/zig-cache/h/bb2998deabba4a428e94521ffe53aee0.txt deleted file mode 100644 index 84f4a89..0000000 --- a/rewrite/zig-cache/h/bb2998deabba4a428e94521ffe53aee0.txt +++ /dev/null @@ -1,70 +0,0 @@ -0 -191 844424932407780 1716425154211990700 7e2860f081407d3d9f477662f7b2cd11 0 src\root.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -2302 1125899909101339 1716193887976855300 bfcdcc34ef8c1e43209a717273d06ae3 0 C:\Users\Gamer\AppData\Local\zig\b\bfcdcc34ef8c1e43209a717273d06ae3\builtin.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig diff --git a/rewrite/zig-cache/h/de18fb6bfd208e10a781b0c70184227b.txt b/rewrite/zig-cache/h/de18fb6bfd208e10a781b0c70184227b.txt deleted file mode 100644 index aebc54d..0000000 --- a/rewrite/zig-cache/h/de18fb6bfd208e10a781b0c70184227b.txt +++ /dev/null @@ -1,71 +0,0 @@ -0 -231 844424932407779 1716824983055731700 4865c7439eede09c6c465fa6b8510223 0 src\main.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -2302 281474978984845 1715982772604275500 788661e50db59af744051663379c168e 0 C:\Users\Gamer\AppData\Local\zig\b\788661e50db59af744051663379c168e\builtin.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -1907 281474978983953 1715741198000000000 f6a6c8e74092e290ecce07ac5d4e9761 1 std\start_windows_tls.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig diff --git a/rewrite/zig-cache/h/e04d54ee5fdf3f81637bb3c468050753.txt b/rewrite/zig-cache/h/e04d54ee5fdf3f81637bb3c468050753.txt deleted file mode 100644 index f1996c1..0000000 --- a/rewrite/zig-cache/h/e04d54ee5fdf3f81637bb3c468050753.txt +++ /dev/null @@ -1,140 +0,0 @@ -0 -51997 1688849862231090 1715741198000000000 b81c4f3f95a11fa548f6d6ae84828d18 1 compiler\build_runner.zig -3287 1407374885829085 1716523442007049600 7b721b223fc77147acc02c55c144dfd5 0 C:\Users\Gamer\Projects\Fumofumotris\rewrite\build.zig -103 1970324839250409 1716425160645873100 35b10ba982858800c98ffbaad5536a86 2 o\be9d27a57c5931e074adb8a552ad171b\dependencies.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -2302 281474978984845 1715982772604275500 788661e50db59af744051663379c168e 0 C:\Users\Gamer\AppData\Local\zig\b\788661e50db59af744051663379c168e\builtin.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -1907 281474978983953 1715741198000000000 f6a6c8e74092e290ecce07ac5d4e9761 1 std\start_windows_tls.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -1301 281474978983713 1715741198000000000 3db24c00baa9c03a40bfeaa152e28593 1 std\heap\ThreadSafeAllocator.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -93826 281474978983415 1715741198000000000 6b558f3c3f6d44d1935a907043bc0092 1 std\Build.zig -47614 281474978983417 1715741198000000000 bba9e3db40f9c5cdbcfa857845ed8aad 1 std\Build\Cache.zig -2248 281474978983419 1715741198000000000 95a1bb668e0c39f345c83920bac861b7 1 std\Build\Cache\Directory.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -18622 281474978983646 1715741198000000000 05742583e9b394547e0631c84131938c 1 std\crypto\siphash.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -26882 281474978983458 1715741198000000000 5b9ff543d20a09f8c07cb235a7f3c28e 1 std\Target\Query.zig -45642 281474978983979 1715741198000000000 1a3ac893968caf40f15a61a3e4020198 1 std\zig.zig -52150 281474978984001 1715741198000000000 d488bc81fd0ba877c413ee9c01ed7219 1 std\zig\system.zig -19326 281474978983423 1715741198000000000 5713439dcab63280788201e62bc0fb80 1 std\Build\Step.zig -27571 281474978983421 1715741198000000000 f1a35ffb70613c5c506de0b9feb42a25 1 std\Build\Module.zig -16220 281474978983437 1715741198000000000 da5f179dd183b5416bcac3fafb51f650 1 std\Build\Step\WriteFile.zig -16345 281474978983439 1715741198000000000 07047c90cfdb25f62565ada1af0fb2ee 1 std\Progress.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -29047 281474978983985 1715741198000000000 5f3981d473c44fc809036b5e536a694f 1 std\zig\ErrorBundle.zig -76884 281474978983426 1715741198000000000 6fd61ce831206d95e544bb180f062d7f 1 std\Build\Step\Compile.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -31916 281474978983427 1715741198000000000 dc0a1ca608af6c58fe15b561a98890ff 1 std\Build\Step\ConfigHeader.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -5989 281474978983486 1715741198000000000 9b884db4ae244ef2af3dcea90ca42736 1 std\Thread\Pool.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -17590 281474978983441 1715741198000000000 5ddd4d07802b9f332a306c207663eea0 1 std\Random.zig -3177 281474978983450 1715741198000000000 ece4176296c0d5a4735a0e13195d3e89 1 std\Random\Xoshiro256.zig -23359 281474978983483 1715741198000000000 55e7c53750c5f84af61f7e61406bc0f0 1 std\Thread\Condition.zig -1796 281474978983490 1715741198000000000 43f2cf40b5fd32903bf18a54ea66fc91 1 std\Thread\WaitGroup.zig -9239 281474978983487 1715741198000000000 d703f6a7af8c150d259a587850decd1f 1 std\Thread\ResetEvent.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -12237 281474978984008 1715741198000000000 b3fcbdc215fbbc9357c8ebfaa88f67b9 1 std\zig\system\windows.zig -76391 281474978983462 1715741198000000000 4668a311541b6be75afd88bf66028ad5 1 std\Target\arm.zig -17620 281474978983954 1715741198000000000 11fc6dca32658eb05179945f9031219f 1 std\static_string_map.zig -10710 281474978983951 1715741198000000000 f2973ab2be6115a15cf6c75a2be36ad3 1 std\sort\pdq.zig -7643 281474978983835 1715741198000000000 03910049e32f401cd3296cc1352aecb4 1 std\math\powi.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -19768 281474978984009 1715741198000000000 817d70e351edd4b746ab4c444c0d2b09 1 std\zig\system\x86.zig -1273 281474978983461 1715741198000000000 92589c8e708010b66287cffb30b3644a 1 std\Target\arc.zig -69762 281474978983463 1715741198000000000 d6af57434a87d01c08b32d2bfe25fdaa 1 std\Target\avr.zig -77144 281474978983465 1715741198000000000 c690addfa0ddc66f16428c3843909a46 1 std\Target\csky.zig -16084 281474978983466 1715741198000000000 ca6f1a2a9e6e8fa60a8331d7c5f5ce34 1 std\Target\hexagon.zig -7121 281474978983468 1715741198000000000 d75880c23fe47c4e74168b752266aab9 1 std\Target\m68k.zig -2220 281474978983470 1715741198000000000 d6af7e91115ce15de6cc6fa6b85ad607 1 std\Target\msp430.zig -81486 281474978983460 1715741198000000000 c94083fc646f9b20640e65787e33fdc0 1 std\Target\amdgpu.zig -25913 281474978983474 1715741198000000000 9d8c66f36c8cefa8cdeac8497ff9ed3d 1 std\Target\s390x.zig -1273 281474978983480 1715741198000000000 1becbd14309ffd333ba9f93137feeab0 1 std\Target\xtensa.zig -1275 281474978983477 1715741198000000000 3f87de4b4cab37706212bd9a456a8c58 1 std\Target\ve.zig -94346 281474978983459 1715741198000000000 136876fa8ce544da55eab725094091a5 1 std\Target\aarch64.zig -2409 281474978983464 1715741198000000000 1693b91547d868068f63e102f2ccb211 1 std\Target\bpf.zig -5236 281474978983467 1715741198000000000 fd217450c001fea386e26e5ae8ee436e 1 std\Target\loongarch.zig -16066 281474978983469 1715741198000000000 6e5fb373b9f2ae19c60dbed74eb241dc 1 std\Target\mips.zig -34534 281474978983472 1715741198000000000 51352484986d855d36c4732d68bc73d0 1 std\Target\powerpc.zig -53948 281474978983473 1715741198000000000 5dd87bdcf11a3787d33834ee1afcb1ea 1 std\Target\riscv.zig -19757 281474978983475 1715741198000000000 81e62932de5b471d355190a547b0390a 1 std\Target\sparc.zig -77930 281474978983476 1715741198000000000 0611f617b9ec2d1a8e22aa44c1fe7363 1 std\Target\spirv.zig -13279 281474978983471 1715741198000000000 c4c3d3112933eb72020bc9eebc304ed2 1 std\Target\nvptx.zig -4508 281474978983478 1715741198000000000 d86c84e4bae678df19d1bcef0e88aef9 1 std\Target\wasm.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig -57760 281474978983435 1715741198000000000 723d0dd1cda651458e9a54c22889e231 1 std\Build\Step\Run.zig -75998 281474978983519 1715741198000000000 acd64bc89eee5c3c40a4de221a57d173 1 std\child_process.zig -530 281474978983448 1715741198000000000 6862d091fadcbbb652464ab10689bd23 1 std\Random\SplitMix64.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -1299 281474978983741 1715741198000000000 9ea5eaf4f2d36e2273f3ecec7f813b61 1 std\io\buffered_writer.zig -9296 281474978983429 1715741198000000000 b0fa360e6c1d41ca4a2e2288ec8a1233 1 std\Build\Step\InstallArtifact.zig -1160 281474978983745 1715741198000000000 32ae6866d358d400739c8281e2b92d26 1 std\io\counting_writer.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -6909 281474978983966 1715741198000000000 270a578cff837cfdc563b0d1f95b9cca 1 std\time\epoch.zig -36892 281474978983644 1715741198000000000 aeaa6f15041af562aebdfbb8f2e94f9d 1 std\crypto\sha2.zig -20392 281474978983669 1715741198000000000 a41115e4a4263ff02975e97d21f21847 1 std\fifo.zig -1464 281474978983984 1715741198000000000 262bf5a41c36322233615e07256bc570 1 std\zig\Client.zig -8806 281474978983989 1715741198000000000 274b0f54c5da0fc9ed3b412df0b0cb88 1 std\zig\Server.zig -2591 281474978983686 1715741198000000000 54cecc0501b004131b133c8ec52688b3 1 std\fs\AtomicFile.zig -23028 281474978983496 1715741198000000000 5f649adf883cb2acad194b60017a4672 1 std\base64.zig -35399 281474978983418 1715741198000000000 1ee75307680904b768975512f119007a 1 std\Build\Cache\DepTokenizer.zig -2685 281474978983443 1715741198000000000 5244bfd5edd68ad074bfdf866029fa86 1 std\Random\ChaCha.zig -52267 281474978983600 1715741198000000000 250bf69f713193c74da886706bb53369 1 std\crypto\chacha20.zig -7399 281474978983652 1715741198000000000 7e3716a3c82a36541c6cf09b56a96da0 1 std\crypto\utils.zig -1539 281474978983748 1715741198000000000 ca6d9ebe9107eb6ffe4cc4b92611772a 1 std\io\limited_reader.zig -14595 281474978983697 1715741198000000000 9802848537ec3da81ac651945a298250 1 std\hash\auto_hash.zig -2169 281474978983927 1715741198000000000 1e602c4e2aa9508d1ed3abfd3c49bb50 1 std\os\windows\advapi32.zig diff --git a/rewrite/zig-cache/h/e3fac7a050ad748d5607291044eb9372.txt b/rewrite/zig-cache/h/e3fac7a050ad748d5607291044eb9372.txt deleted file mode 100644 index e69de29..0000000 diff --git a/rewrite/zig-cache/h/fc8efd2dbe2e7f79b5e6238e13610900.txt b/rewrite/zig-cache/h/fc8efd2dbe2e7f79b5e6238e13610900.txt deleted file mode 100644 index 9200a1d..0000000 --- a/rewrite/zig-cache/h/fc8efd2dbe2e7f79b5e6238e13610900.txt +++ /dev/null @@ -1,145 +0,0 @@ -0 -45613 281474978984298 1716468763897613600 a43f2734ba46753eeed7071e9b968b27 0 C:\Users\Gamer\AppData\Local\Temp\zls\build_runner_0.12.0.zig -3287 1407374885829085 1716523442007049600 7b721b223fc77147acc02c55c144dfd5 0 C:\Users\Gamer\Projects\Fumofumotris\rewrite\build.zig -103 1970324839250409 1716425160645873100 35b10ba982858800c98ffbaad5536a86 2 o\be9d27a57c5931e074adb8a552ad171b\dependencies.zig -7757 281474978983955 1715741198000000000 3170fcda94ef1eb8e6ca725dff5e254d 1 std\std.zig -23040 281474978983952 1715741198000000000 da66963546b611ee7750a27396b7d1ea 1 std\start.zig -114777 281474978983653 1715741198000000000 b78cd1771bac0cee1cfa01c556ea1508 1 std\debug.zig -2302 281474978984845 1715982772604275500 788661e50db59af744051663379c168e 0 C:\Users\Gamer\AppData\Local\zig\b\788661e50db59af744051663379c168e\builtin.zig -33165 281474978983501 1715741198000000000 f94156764e93e22ac481419ae3dcd7e2 1 std\builtin.zig -87826 281474978983457 1715741198000000000 d4d7f9cb919874109d395f945d48b489 1 std\Target.zig -129328 281474978983479 1715741198000000000 aa1c9ead6b093aa4fc744cbaf6cdb147 1 std\Target\x86.zig -72951 281474978983774 1715741198000000000 1063db9f8d9e586fc2ba4202140b44f0 1 std\math.zig -41003 281474978983845 1715741198000000000 4decccfa0a3f57800e32daab3db0dae0 1 std\meta.zig -11091 281474978983455 1715741198000000000 3b4e837c9f6b3b4fbb5b3b95148e553c 1 std\SemanticVersion.zig -12325 281474978983853 1715741198000000000 2229bf6824a9119504139fcdb850890e 1 std\os.zig -200963 281474978983926 1715741198000000000 6382cd937e84a8fc6ae02341db586df9 1 std\os\windows.zig -1907 281474978983953 1715741198000000000 f6a6c8e74092e290ecce07ac5d4e9761 1 std\start_windows_tls.zig -11585 281474978983932 1715741198000000000 fe4d52c5364a7ac9447cc742ac6cc08e 1 std\os\windows\ntdll.zig -31762 281474978983711 1715741198000000000 39822c5f2ad237650217b35e72989b75 1 std\heap.zig -12747 281474978983716 1715741198000000000 0c84990d94912da71f88ccdd844ff032 1 std\heap\arena_allocator.zig -176912 281474978983842 1715741198000000000 223e2fd0f89a74fd7d5132dbe48f1c2c 1 std\mem.zig -13626 281474978983843 1715741198000000000 98c52b2fa05c32ad77f1743a5f3383ee 1 std\mem\Allocator.zig -14239 281474978983770 1715741198000000000 a69e9fd3810cdd1601c26dd47210af71 1 std\linked_list.zig -3917 281474978983712 1715741198000000000 985cae2df1113f68d7f2eca79afe1887 1 std\heap\PageAllocator.zig -1301 281474978983713 1715741198000000000 3db24c00baa9c03a40bfeaa152e28593 1 std\heap\ThreadSafeAllocator.zig -54097 281474978983482 1715741198000000000 5fc2474d41197418fc547d7d64491a85 1 std\Thread.zig -10030 281474978983485 1715741198000000000 6ec4900de2fa66c512d3a1a8b197182b 1 std\Thread\Mutex.zig -19056 281474978983495 1715741198000000000 fbe5a337296572a6d62cbde681c465ea 1 std\atomic.zig -67288 281474978983945 1715741198000000000 9face24f795481ff579b8de71c05fb6e 1 std\process.zig -87217 281474978983493 1715741198000000000 d82200bd8e9f05406e233eef46e48149 1 std\array_list.zig -93826 281474978983415 1715741198000000000 6b558f3c3f6d44d1935a907043bc0092 1 std\Build.zig -47614 281474978983417 1715741198000000000 bba9e3db40f9c5cdbcfa857845ed8aad 1 std\Build\Cache.zig -2248 281474978983419 1715741198000000000 95a1bb668e0c39f345c83920bac861b7 1 std\Build\Cache\Directory.zig -35816 281474978983685 1715741198000000000 9ad542fb9d5f647b2fd9aa956a4876f1 1 std\fs.zig -112792 281474978983687 1715741198000000000 e5696bfc4d9c0772f97c00a530cf42c4 1 std\fs\Dir.zig -293019 281474978983941 1715741198000000000 3aef046ab18b515bbbbf65ba8531ef93 1 std\posix.zig -64174 281474978983503 1715741198000000000 ecfd926ec456ba7acf15b5e7bec5f532 1 std\c.zig -5692 281474978983518 1715741198000000000 1ee7b47573877e181b07a79549edb464 1 std\c\windows.zig -63479 281474978983688 1715741198000000000 9af1edad485ce716c904edeb7a484b4b 1 std\fs\File.zig -114248 281474978983492 1715741198000000000 7aa5a3d5d7c75f7861328581549e6a5d 1 std\array_hash_map.zig -38005 281474978983847 1715741198000000000 2df15a06c9368a128b68d617837153ef 1 std\multi_array_list.zig -12352 281474978983572 1715741198000000000 85ba4034d104ed83a45a1bb6ea2f588a 1 std\crypto.zig -18622 281474978983646 1715741198000000000 05742583e9b394547e0631c84131938c 1 std\crypto\siphash.zig -90072 281474978983709 1715741198000000000 bffdf0affa202d9bafbc94cdc1368f10 1 std\hash_map.zig -26882 281474978983458 1715741198000000000 5b9ff543d20a09f8c07cb235a7f3c28e 1 std\Target\Query.zig -45642 281474978983979 1715741198000000000 1a3ac893968caf40f15a61a3e4020198 1 std\zig.zig -52150 281474978984001 1715741198000000000 d488bc81fd0ba877c413ee9c01ed7219 1 std\zig\system.zig -19326 281474978983423 1715741198000000000 5713439dcab63280788201e62bc0fb80 1 std\Build\Step.zig -27571 281474978983421 1715741198000000000 f1a35ffb70613c5c506de0b9feb42a25 1 std\Build\Module.zig -16220 281474978983437 1715741198000000000 da5f179dd183b5416bcac3fafb51f650 1 std\Build\Step\WriteFile.zig -16345 281474978983439 1715741198000000000 07047c90cfdb25f62565ada1af0fb2ee 1 std\Progress.zig -13689 281474978983965 1715741198000000000 131aba425aefaef0d374793c2dd9e731 1 std\time.zig -29047 281474978983985 1715741198000000000 5f3981d473c44fc809036b5e536a694f 1 std\zig\ErrorBundle.zig -76884 281474978983426 1715741198000000000 6fd61ce831206d95e544bb180f062d7f 1 std\Build\Step\Compile.zig -112489 281474978983655 1715741198000000000 d33cf67bbc2809a1c38591e04f1e3f51 1 std\dwarf.zig -31916 281474978983427 1715741198000000000 dc0a1ca608af6c58fe15b561a98890ff 1 std\Build\Step\ConfigHeader.zig -1884 281474978983830 1715741198000000000 4e39bcecc218a8cefd7304859e028778 1 std\math\log2.zig -5989 281474978983486 1715741198000000000 9b884db4ae244ef2af3dcea90ca42736 1 std\Thread\Pool.zig -8365 281474978983771 1715741198000000000 1e96c9d448e9ae1d3162881bf730b07e 1 std\log.zig -105719 281474978983671 1715741198000000000 a6fb73312f7c83d421aa204732f821d7 1 std\fmt.zig -77139 281474978983690 1715741198000000000 6ed68741d6922f90c45c6c388b6cdd8c 1 std\fs\path.zig -14616 281474978983494 1715741198000000000 0fed3eb789529104667fd82e81a9af62 1 std\ascii.zig -75998 281474978983519 1715741198000000000 acd64bc89eee5c3c40a4de221a57d173 1 std\child_process.zig -394 281474978984297 1716468763896612500 e2a5dc77f7477e12f9d09568c618e70c 0 C:\Users\Gamer\AppData\Local\Temp\zls\BuildConfig.zig -5954 281474978983755 1715741198000000000 ca96a7daf60a978c600a94a94daaea90 1 std\json.zig -3257 281474978983760 1715741198000000000 b6a0926202bd08dbf296c65a9af6c72b 1 std\json\hashmap.zig -29391 281474978983766 1715741198000000000 8c1d345a91a2c23c70cadb25b14a213b 1 std\json\stringify.zig -25700 281474978983732 1715741198000000000 2c3e57ebee88e5b426bac4e5144d55a2 1 std\io.zig -13386 281474978983924 1715741198000000000 b23fdad07ce3b3bc638202a13d269a17 1 std\os\wasi.zig -6224 281474978983648 1715741198000000000 1478fc3a3f5e7178b0ebc595cf60927a 1 std\crypto\tlcsprng.zig -2697 281474978983736 1715741198000000000 8464fd0bdf5c1f8ba10a286a4fe46f4d 1 std\io\Writer.zig -29773 281474978983949 1715741198000000000 6e96f5117f2db4b1f67515385b4cbc04 1 std\sort.zig -51714 281474978983950 1715741198000000000 eb8790d984ce4a6ddd6376d877c85ff1 1 std\sort\block.zig -82077 281474978983971 1715741198000000000 d5fc31f78c3ec8b424ea391b2e65f728 1 std\unicode.zig -12237 281474978984008 1715741198000000000 b3fcbdc215fbbc9357c8ebfaa88f67b9 1 std\zig\system\windows.zig -76391 281474978983462 1715741198000000000 4668a311541b6be75afd88bf66028ad5 1 std\Target\arm.zig -17620 281474978983954 1715741198000000000 11fc6dca32658eb05179945f9031219f 1 std\static_string_map.zig -10710 281474978983951 1715741198000000000 f2973ab2be6115a15cf6c75a2be36ad3 1 std\sort\pdq.zig -7643 281474978983835 1715741198000000000 03910049e32f401cd3296cc1352aecb4 1 std\math\powi.zig -22999 281474978983929 1715741198000000000 24b95f73410aa9596a698fcfb91f6d4f 1 std\os\windows\kernel32.zig -237477 281474978983933 1715741198000000000 67644436e9162e79563b60f574b36f99 1 std\os\windows\ntstatus.zig -17590 281474978983441 1715741198000000000 5ddd4d07802b9f332a306c207663eea0 1 std\Random.zig -3177 281474978983450 1715741198000000000 ece4176296c0d5a4735a0e13195d3e89 1 std\Random\Xoshiro256.zig -23359 281474978983483 1715741198000000000 55e7c53750c5f84af61f7e61406bc0f0 1 std\Thread\Condition.zig -1796 281474978983490 1715741198000000000 43f2cf40b5fd32903bf18a54ea66fc91 1 std\Thread\WaitGroup.zig -9239 281474978983487 1715741198000000000 d703f6a7af8c150d259a587850decd1f 1 std\Thread\ResetEvent.zig -5370 281474978983753 1715741198000000000 98fd4e14f5688df21412c6f41883d790 1 std\io\tty.zig -14434 281474978983734 1715741198000000000 2655b33c088dd930683d9eb843eaceb4 1 std\io\Reader.zig -130227 281474978983936 1715741198000000000 a0ee928ca20f189c11667764ca96b243 1 std\os\windows\win32error.zig -37284 281474978983939 1715741198000000000 acbf2361c1327e26d0efb98c5ed3f808 1 std\pdb.zig -52116 281474978983520 1715741198000000000 815851904c53db9d73be8a6c0584b07a 1 std\coff.zig -55565 281474978983668 1715741198000000000 70d775478d92cce6032146b76e8b8314 1 std\enums.zig -6449 281474978983747 1715741198000000000 3bcfe7862cea857ee79939a098991ad5 1 std\io\fixed_buffer_stream.zig -1399 281474978983659 1715741198000000000 40a7d4ac60d12c6e9ca294acaed35474 1 std\dwarf\FORM.zig -3900 281474978983662 1715741198000000000 b5711d1b73e43c5aaea25647f88f9369 1 std\dwarf\TAG.zig -7395 281474978983656 1715741198000000000 0736a520f4793791a2cfc257bfcfd3b6 1 std\dwarf\AT.zig -19768 281474978984009 1715741198000000000 817d70e351edd4b746ab4c444c0d2b09 1 std\zig\system\x86.zig -1273 281474978983461 1715741198000000000 92589c8e708010b66287cffb30b3644a 1 std\Target\arc.zig -69762 281474978983463 1715741198000000000 d6af57434a87d01c08b32d2bfe25fdaa 1 std\Target\avr.zig -77144 281474978983465 1715741198000000000 c690addfa0ddc66f16428c3843909a46 1 std\Target\csky.zig -16084 281474978983466 1715741198000000000 ca6f1a2a9e6e8fa60a8331d7c5f5ce34 1 std\Target\hexagon.zig -7121 281474978983468 1715741198000000000 d75880c23fe47c4e74168b752266aab9 1 std\Target\m68k.zig -2220 281474978983470 1715741198000000000 d6af7e91115ce15de6cc6fa6b85ad607 1 std\Target\msp430.zig -81486 281474978983460 1715741198000000000 c94083fc646f9b20640e65787e33fdc0 1 std\Target\amdgpu.zig -25913 281474978983474 1715741198000000000 9d8c66f36c8cefa8cdeac8497ff9ed3d 1 std\Target\s390x.zig -1273 281474978983480 1715741198000000000 1becbd14309ffd333ba9f93137feeab0 1 std\Target\xtensa.zig -1275 281474978983477 1715741198000000000 3f87de4b4cab37706212bd9a456a8c58 1 std\Target\ve.zig -94346 281474978983459 1715741198000000000 136876fa8ce544da55eab725094091a5 1 std\Target\aarch64.zig -2409 281474978983464 1715741198000000000 1693b91547d868068f63e102f2ccb211 1 std\Target\bpf.zig -5236 281474978983467 1715741198000000000 fd217450c001fea386e26e5ae8ee436e 1 std\Target\loongarch.zig -16066 281474978983469 1715741198000000000 6e5fb373b9f2ae19c60dbed74eb241dc 1 std\Target\mips.zig -34534 281474978983472 1715741198000000000 51352484986d855d36c4732d68bc73d0 1 std\Target\powerpc.zig -53948 281474978983473 1715741198000000000 5dd87bdcf11a3787d33834ee1afcb1ea 1 std\Target\riscv.zig -19757 281474978983475 1715741198000000000 81e62932de5b471d355190a547b0390a 1 std\Target\sparc.zig -77930 281474978983476 1715741198000000000 0611f617b9ec2d1a8e22aa44c1fe7363 1 std\Target\spirv.zig -13279 281474978983471 1715741198000000000 c4c3d3112933eb72020bc9eebc304ed2 1 std\Target\nvptx.zig -4508 281474978983478 1715741198000000000 d86c84e4bae678df19d1bcef0e88aef9 1 std\Target\wasm.zig -10091 281474978983974 1715741198000000000 616a2d791eb8d67329f8198701e2bbad 1 std\valgrind.zig -23129 281474978983947 1715741198000000000 b579436bcc763fc86642b2a1d69be89a 1 std\simd.zig -57760 281474978983435 1715741198000000000 723d0dd1cda651458e9a54c22889e231 1 std\Build\Step\Run.zig -3697 281474978983930 1715741198000000000 f5f54b1cf522ff663148d3c96268d459 1 std\os\windows\lang.zig -8449 281474978983934 1715741198000000000 3c42a760ba486f9b9455bd95d20d2e0b 1 std\os\windows\sublang.zig -17851 281474978983769 1715741198000000000 62510503fe6b45659189d32c19c9dc45 1 std\leb128.zig -43084 281474978983484 1715741198000000000 a67e9f409c649ae15d47dcc9582247f0 1 std\Thread\Futex.zig -1299 281474978983741 1715741198000000000 9ea5eaf4f2d36e2273f3ecec7f813b61 1 std\io\buffered_writer.zig -9296 281474978983429 1715741198000000000 b0fa360e6c1d41ca4a2e2288ec8a1233 1 std\Build\Step\InstallArtifact.zig -530 281474978983448 1715741198000000000 6862d091fadcbbb652464ab10689bd23 1 std\Random\SplitMix64.zig -2496 281474978983413 1715741198000000000 51fed0f372bbe1737cc4b59d4258ebe3 1 std\BitStack.zig -1730 281474978983695 1715741198000000000 36cb1b0b5e0bb7d10f9b200b0a751743 1 std\hash.zig -8372 281474978983707 1715741198000000000 d48498b32f349820311bbf338ae1aae5 1 std\hash\wyhash.zig -1160 281474978983745 1715741198000000000 32ae6866d358d400739c8281e2b92d26 1 std\io\counting_writer.zig -6909 281474978983966 1715741198000000000 270a578cff837cfdc563b0d1f95b9cca 1 std\time\epoch.zig -36892 281474978983644 1715741198000000000 aeaa6f15041af562aebdfbb8f2e94f9d 1 std\crypto\sha2.zig -20392 281474978983669 1715741198000000000 a41115e4a4263ff02975e97d21f21847 1 std\fifo.zig -1464 281474978983984 1715741198000000000 262bf5a41c36322233615e07256bc570 1 std\zig\Client.zig -8806 281474978983989 1715741198000000000 274b0f54c5da0fc9ed3b412df0b0cb88 1 std\zig\Server.zig -2591 281474978983686 1715741198000000000 54cecc0501b004131b133c8ec52688b3 1 std\fs\AtomicFile.zig -23028 281474978983496 1715741198000000000 5f649adf883cb2acad194b60017a4672 1 std\base64.zig -35399 281474978983418 1715741198000000000 1ee75307680904b768975512f119007a 1 std\Build\Cache\DepTokenizer.zig -2685 281474978983443 1715741198000000000 5244bfd5edd68ad074bfdf866029fa86 1 std\Random\ChaCha.zig -52267 281474978983600 1715741198000000000 250bf69f713193c74da886706bb53369 1 std\crypto\chacha20.zig -7399 281474978983652 1715741198000000000 7e3716a3c82a36541c6cf09b56a96da0 1 std\crypto\utils.zig -1539 281474978983748 1715741198000000000 ca6d9ebe9107eb6ffe4cc4b92611772a 1 std\io\limited_reader.zig -14595 281474978983697 1715741198000000000 9802848537ec3da81ac651945a298250 1 std\hash\auto_hash.zig -2169 281474978983927 1715741198000000000 1e602c4e2aa9508d1ed3abfd3c49bb50 1 std\os\windows\advapi32.zig diff --git a/rewrite/zig-cache/h/timestamp b/rewrite/zig-cache/h/timestamp deleted file mode 100644 index e69de29..0000000 diff --git a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe b/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe deleted file mode 100644 index ae84f7c..0000000 Binary files a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe.obj b/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe.obj deleted file mode 100644 index ad28ddd..0000000 Binary files a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.pdb b/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.pdb deleted file mode 100644 index 30a15f3..0000000 Binary files a/rewrite/zig-cache/o/019876cb7a3056085b250dfede3c1d4c/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe b/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe deleted file mode 100644 index 10e3e61..0000000 Binary files a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe.obj b/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe.obj deleted file mode 100644 index 8ea934b..0000000 Binary files a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.pdb b/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.pdb deleted file mode 100644 index 9f71480..0000000 Binary files a/rewrite/zig-cache/o/01f7a084575fc4cfac2155a711c239b2/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe b/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe deleted file mode 100644 index 53bda50..0000000 Binary files a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe.obj b/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe.obj deleted file mode 100644 index e1b873c..0000000 Binary files a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.pdb b/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.pdb deleted file mode 100644 index 4e41e19..0000000 Binary files a/rewrite/zig-cache/o/05d94f0207c75aac3a124cdf827ff01a/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe b/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe deleted file mode 100644 index 5f479b8..0000000 Binary files a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe.obj b/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe.obj deleted file mode 100644 index 1ae6d19..0000000 Binary files a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.pdb b/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.pdb deleted file mode 100644 index 0d9ee18..0000000 Binary files a/rewrite/zig-cache/o/08f146d46cfbd4d5ae8ea46a3ef43ce1/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe b/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe deleted file mode 100644 index fb3cb6d..0000000 Binary files a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe.obj b/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe.obj deleted file mode 100644 index 8723faa..0000000 Binary files a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.pdb b/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.pdb deleted file mode 100644 index 479a197..0000000 Binary files a/rewrite/zig-cache/o/0d306591cab655d16f4212bd5ac4a415/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe b/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe deleted file mode 100644 index d5287c2..0000000 Binary files a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe.obj b/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe.obj deleted file mode 100644 index 0a3ec39..0000000 Binary files a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.pdb b/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.pdb deleted file mode 100644 index 36c0c5a..0000000 Binary files a/rewrite/zig-cache/o/1cbd025e9948263b0da12ab796718482/build.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe b/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe deleted file mode 100644 index 07a8912..0000000 Binary files a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe.obj b/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe.obj deleted file mode 100644 index 69b34dd..0000000 Binary files a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.pdb b/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.pdb deleted file mode 100644 index fb85616..0000000 Binary files a/rewrite/zig-cache/o/2050ca6dd379fb617035693bcfcfdad1/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe b/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe deleted file mode 100644 index 1de9c8f..0000000 Binary files a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe.obj b/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe.obj deleted file mode 100644 index e503f69..0000000 Binary files a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.pdb b/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.pdb deleted file mode 100644 index b23313e..0000000 Binary files a/rewrite/zig-cache/o/207f9885ec54463309ea048897fd9dce/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe b/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe deleted file mode 100644 index d256b0e..0000000 Binary files a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe.obj b/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe.obj deleted file mode 100644 index 9ab3520..0000000 Binary files a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.pdb b/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.pdb deleted file mode 100644 index 1886a0c..0000000 Binary files a/rewrite/zig-cache/o/2246651c47a8be49658d52675d7e84d9/build.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe b/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe deleted file mode 100644 index 5b95d21..0000000 Binary files a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe.obj b/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe.obj deleted file mode 100644 index 2c33b3c..0000000 Binary files a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.pdb b/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.pdb deleted file mode 100644 index ae36142..0000000 Binary files a/rewrite/zig-cache/o/2605d04da76c34163349de1e6a5ef925/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe b/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe deleted file mode 100644 index c62ff8f..0000000 Binary files a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe.obj b/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe.obj deleted file mode 100644 index bb59575..0000000 Binary files a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.pdb b/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.pdb deleted file mode 100644 index 50f5b2b..0000000 Binary files a/rewrite/zig-cache/o/455f8c1f70a28ecbcd3f8f58a78fd40f/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe b/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe deleted file mode 100644 index e384da9..0000000 Binary files a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe.obj b/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe.obj deleted file mode 100644 index ff2c235..0000000 Binary files a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.pdb b/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.pdb deleted file mode 100644 index 89c8466..0000000 Binary files a/rewrite/zig-cache/o/579db3c3ed8eae9abd5bd97779aad313/build.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe b/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe deleted file mode 100644 index 6690707..0000000 Binary files a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe.obj b/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe.obj deleted file mode 100644 index 611a03c..0000000 Binary files a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.pdb b/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.pdb deleted file mode 100644 index 6652712..0000000 Binary files a/rewrite/zig-cache/o/68d8b266948da825e297c83960542927/test.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe b/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe deleted file mode 100644 index cd75251..0000000 Binary files a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe.obj b/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe.obj deleted file mode 100644 index e34c09e..0000000 Binary files a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.pdb b/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.pdb deleted file mode 100644 index 7df7f50..0000000 Binary files a/rewrite/zig-cache/o/6d32fff7fde6b5294d52577d24b8af2a/build.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe b/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe deleted file mode 100644 index 87003e9..0000000 Binary files a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe.obj b/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe.obj deleted file mode 100644 index f38ac67..0000000 Binary files a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.pdb b/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.pdb deleted file mode 100644 index dfc6629..0000000 Binary files a/rewrite/zig-cache/o/74858484dca2296581aada9297056191/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe b/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe deleted file mode 100644 index 127803b..0000000 Binary files a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe.obj b/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe.obj deleted file mode 100644 index 9a4d7c7..0000000 Binary files a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.pdb b/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.pdb deleted file mode 100644 index cff4c0d..0000000 Binary files a/rewrite/zig-cache/o/878c48806337337280cb4ccc3023b319/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe b/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe deleted file mode 100644 index 9488569..0000000 Binary files a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe.obj b/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe.obj deleted file mode 100644 index e503f69..0000000 Binary files a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.pdb b/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.pdb deleted file mode 100644 index 88c2c4d..0000000 Binary files a/rewrite/zig-cache/o/8f672e613fe37e20f330b35cd5496cac/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe b/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe deleted file mode 100644 index 038b2a7..0000000 Binary files a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe.obj b/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe.obj deleted file mode 100644 index f7bf3ed..0000000 Binary files a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.pdb b/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.pdb deleted file mode 100644 index f5bdcc2..0000000 Binary files a/rewrite/zig-cache/o/93d155092271e3da4b1ad0b86f940157/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe b/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe deleted file mode 100644 index cf143f9..0000000 Binary files a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe.obj b/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe.obj deleted file mode 100644 index 1c336a0..0000000 Binary files a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.pdb b/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.pdb deleted file mode 100644 index 8f62cda..0000000 Binary files a/rewrite/zig-cache/o/947056129079bcce2d730f676835bb37/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe b/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe deleted file mode 100644 index e3a840d..0000000 Binary files a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe.obj b/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe.obj deleted file mode 100644 index dac7c5d..0000000 Binary files a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.pdb b/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.pdb deleted file mode 100644 index f792edc..0000000 Binary files a/rewrite/zig-cache/o/956dc6b6cc345b42307de8e07926c475/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib b/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib deleted file mode 100644 index 7066836..0000000 Binary files a/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib and /dev/null differ diff --git a/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib.obj b/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib.obj deleted file mode 100644 index cb8933c..0000000 Binary files a/rewrite/zig-cache/o/9c1d4ca5ebd2c32519e6bdcb61df8c95/rewrite.lib.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe b/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe deleted file mode 100644 index 037b8fc..0000000 Binary files a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe.obj b/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe.obj deleted file mode 100644 index a4fd9de..0000000 Binary files a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.pdb b/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.pdb deleted file mode 100644 index 9a3cdad..0000000 Binary files a/rewrite/zig-cache/o/a467791407247484a2f2ebfddd9544c9/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe b/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe deleted file mode 100644 index 408741d..0000000 Binary files a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe.obj b/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe.obj deleted file mode 100644 index d048fcc..0000000 Binary files a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.pdb b/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.pdb deleted file mode 100644 index cada9c2..0000000 Binary files a/rewrite/zig-cache/o/a691efb8aa55da3328bdd4425ff203ef/test.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe b/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe deleted file mode 100644 index 58e17c2..0000000 Binary files a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe.obj b/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe.obj deleted file mode 100644 index 491239a..0000000 Binary files a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.pdb b/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.pdb deleted file mode 100644 index cafee07..0000000 Binary files a/rewrite/zig-cache/o/b62f32fa861baaae7592ef3b0966145a/test.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe b/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe deleted file mode 100644 index 4fc3066..0000000 Binary files a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe.obj b/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe.obj deleted file mode 100644 index c288aa8..0000000 Binary files a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.pdb b/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.pdb deleted file mode 100644 index 3ad0b36..0000000 Binary files a/rewrite/zig-cache/o/b80686fcfc5a80d3d28413950c212162/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/be9d27a57c5931e074adb8a552ad171b/dependencies.zig b/rewrite/zig-cache/o/be9d27a57c5931e074adb8a552ad171b/dependencies.zig deleted file mode 100644 index 72e4e83..0000000 --- a/rewrite/zig-cache/o/be9d27a57c5931e074adb8a552ad171b/dependencies.zig +++ /dev/null @@ -1,2 +0,0 @@ -pub const packages = struct {}; -pub const root_deps: []const struct { []const u8, []const u8 } = &.{}; diff --git a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe b/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe deleted file mode 100644 index dda5066..0000000 Binary files a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe.obj b/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe.obj deleted file mode 100644 index bb59575..0000000 Binary files a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.pdb b/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.pdb deleted file mode 100644 index e84b04d..0000000 Binary files a/rewrite/zig-cache/o/c9a5719717200c2b420543ddc3133c55/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe b/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe deleted file mode 100644 index 8806dc0..0000000 Binary files a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe.obj b/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe.obj deleted file mode 100644 index df847fb..0000000 Binary files a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.pdb b/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.pdb deleted file mode 100644 index f552104..0000000 Binary files a/rewrite/zig-cache/o/f0a2c50646587b65b1e5ae1298d2102a/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe b/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe deleted file mode 100644 index 3631811..0000000 Binary files a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe.obj b/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe.obj deleted file mode 100644 index df847fb..0000000 Binary files a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.pdb b/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.pdb deleted file mode 100644 index be63661..0000000 Binary files a/rewrite/zig-cache/o/f1596e2248570687857c35adf249e1a4/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe b/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe deleted file mode 100644 index b761bb4..0000000 Binary files a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe.obj b/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe.obj deleted file mode 100644 index b0c837a..0000000 Binary files a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.exe.obj and /dev/null differ diff --git a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.pdb b/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.pdb deleted file mode 100644 index 6f360b5..0000000 Binary files a/rewrite/zig-cache/o/f1911e1e82b1536b94564b3aae0e9f79/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-cache/z/3f1e76f863f210e69d09260c311f8b28 b/rewrite/zig-cache/z/3f1e76f863f210e69d09260c311f8b28 deleted file mode 100644 index ddc6444..0000000 Binary files a/rewrite/zig-cache/z/3f1e76f863f210e69d09260c311f8b28 and /dev/null differ diff --git a/rewrite/zig-cache/z/540a4ac45c35aeaf4123cf9fe7d40c2f b/rewrite/zig-cache/z/540a4ac45c35aeaf4123cf9fe7d40c2f deleted file mode 100644 index c401027..0000000 Binary files a/rewrite/zig-cache/z/540a4ac45c35aeaf4123cf9fe7d40c2f and /dev/null differ diff --git a/rewrite/zig-cache/z/78f6a9d68cd9fab62a2282e40b4af2d3 b/rewrite/zig-cache/z/78f6a9d68cd9fab62a2282e40b4af2d3 deleted file mode 100644 index 5a2a090..0000000 Binary files a/rewrite/zig-cache/z/78f6a9d68cd9fab62a2282e40b4af2d3 and /dev/null differ diff --git a/rewrite/zig-cache/z/9534d87f4f24eca7ce5266633aa9f75d b/rewrite/zig-cache/z/9534d87f4f24eca7ce5266633aa9f75d deleted file mode 100644 index 370d022..0000000 Binary files a/rewrite/zig-cache/z/9534d87f4f24eca7ce5266633aa9f75d and /dev/null differ diff --git a/rewrite/zig-cache/z/d305b72a4deaf91d2b8a80fa28fb7936 b/rewrite/zig-cache/z/d305b72a4deaf91d2b8a80fa28fb7936 deleted file mode 100644 index d9338d6..0000000 Binary files a/rewrite/zig-cache/z/d305b72a4deaf91d2b8a80fa28fb7936 and /dev/null differ diff --git a/rewrite/zig-cache/z/e9c4bfc358c3be207b456ad56f32decd b/rewrite/zig-cache/z/e9c4bfc358c3be207b456ad56f32decd deleted file mode 100644 index 85c5dc0..0000000 Binary files a/rewrite/zig-cache/z/e9c4bfc358c3be207b456ad56f32decd and /dev/null differ diff --git a/rewrite/zig-cache/z/fae34d3dfb6d1431c475cfcbefdcfba9 b/rewrite/zig-cache/z/fae34d3dfb6d1431c475cfcbefdcfba9 deleted file mode 100644 index a8642c0..0000000 Binary files a/rewrite/zig-cache/z/fae34d3dfb6d1431c475cfcbefdcfba9 and /dev/null differ diff --git a/rewrite/zig-out/bin/rewrite.exe b/rewrite/zig-out/bin/rewrite.exe deleted file mode 100644 index 5f479b8..0000000 Binary files a/rewrite/zig-out/bin/rewrite.exe and /dev/null differ diff --git a/rewrite/zig-out/bin/rewrite.pdb b/rewrite/zig-out/bin/rewrite.pdb deleted file mode 100644 index 0d9ee18..0000000 Binary files a/rewrite/zig-out/bin/rewrite.pdb and /dev/null differ diff --git a/rewrite/zig-out/lib/rewrite.lib b/rewrite/zig-out/lib/rewrite.lib deleted file mode 100644 index 7066836..0000000 Binary files a/rewrite/zig-out/lib/rewrite.lib and /dev/null differ diff --git a/src/dictionary.zig b/src/dictionary.zig new file mode 100644 index 0000000..d6ea864 --- /dev/null +++ b/src/dictionary.zig @@ -0,0 +1,81 @@ +const Allocator = @import("std").mem.Allocator; + +pub const DictionaryError = error{Full}; + +pub fn Dictionary(comptime K: type, comptime V: type) type { + return struct { + pub const Bucket = struct { + key: K = 0, + value: V = undefined, + }; + + buckets: []Bucket, + filled: usize = 0, + + pub fn init(alloc: Allocator, n: usize) !@This() { + const dict = @This(){ + .buckets = try alloc.alloc(Bucket, n), + }; + + @memset(dict.buckets, Bucket{}); + + return dict; + } + + pub fn find(dict: @This(), key: K) ?*V { + const index: usize = key % dict.buckets.len; + + const probe: ?*Bucket = dict.linearProbe(index, key); + + if (probe) |bucket| { + return &bucket.value; + } else { + return null; + } + } + + pub fn set(hashMap: *@This(), key: K, value: V) !void { + const index: usize = key % hashMap.buckets.len; + + const probe: ?*Bucket = hashMap.linProbeEmpty(index, key); + + if (probe) |bucket| { + bucket.* = Bucket{ .key = key, .value = value }; + hashMap.filled += 1; + } else { + return DictionaryError.Full; + } + } + + fn linearProbe(hashMap: @This(), start: usize, hash: usize) ?*Bucket { + var i: usize = 0; + var index: usize = start; + + while (i < hashMap.buckets.len) : ({ + i += 1; + index = (start + i) % hashMap.buckets.len; + }) { + if (hashMap.buckets[index].key == hash) + return &hashMap.buckets[index]; + } + + return null; + } + + fn linProbeEmpty(hashMap: @This(), start: usize, hash: usize) ?*Bucket { + var i: usize = 0; + var index: usize = start; + + while (i < hashMap.buckets.len) : ({ + i += 1; + index = (start + i) % hashMap.buckets.len; + }) { + const cur: usize = hashMap.buckets[index].key; + if (cur == 0 or cur == hash) + return &hashMap.buckets[index]; + } + + return null; + } + }; +} diff --git a/src/imsuffering.cpp b/src/imsuffering.cpp new file mode 100644 index 0000000..8bae584 --- /dev/null +++ b/src/imsuffering.cpp @@ -0,0 +1,22 @@ +#include +#include +#include +#include +using namespace std; + +int main() +{ + GUID sex = __uuidof(IAudioRenderClient); + cout << "{" << endl; + std::cout << "0x" << hex << sex.Data1 << ", "; + std::cout << "0x" << hex << sex.Data2 << ", "; + std::cout << "0x"< +#include +#include +#include +#include + +int main(int argc, char **argv) +{ + Display *display; + XEvent event; + unsigned int kc; + int quit = 0; + + if (NULL==(display=XOpenDisplay(NULL))) { + puts("Failed to open X display\n"); + return 1; + } + + XGrabKeyboard( + display, + DefaultRootWindow(display), + True, + GrabModeAsync, + GrabModeAsync, + CurrentTime + ); + + int supported = 0; + XkbSetDetectableAutoRepeat(display, 0, &supported); + printf("detectable autorepeat supported?: %u\n", supported); + + printf( + "KEYBOARD GRABBED! Hit 'q' to quit!\n" + "If this job is killed or you get stuck, use Ctrl-Alt-F1\n" + "to switch to a console (if possible) and run something that\n" + "ungrabs the keyboard.\n" + ); + + for (;!quit;) { + XNextEvent(display, &event); + + switch (event.type) { + case KeyPress: + kc = ((XKeyPressedEvent*)&event)->keycode; + printf("KEYDOWN: %u\n", kc); + + if (kc == 24) { + quit = 1; + } + break; + + case KeyRelease: + kc = ((XKeyPressedEvent*)&event)->keycode; + printf("KEYUP: %u\n", kc); + break; + + case Expose: + while (XCheckTypedEvent(display, Expose, &event)); + break; + + case ButtonPress: + case ButtonRelease: + case MotionNotify: + case ConfigureNotify: + default: + break; + } + } + + XUngrabKeyboard(display, CurrentTime); + + if (XCloseDisplay(display)) { + return 1; + } + + return 0; +} diff --git a/src/linux.zig b/src/linux.zig new file mode 100644 index 0000000..99038ba --- /dev/null +++ b/src/linux.zig @@ -0,0 +1,24 @@ +const std = @import("std"); + +const linux = @cImport({ + @cInclude("linux/input.h"); +}); + +pub fn main() !void { + var event: linux.input_event = undefined; + + const file = try std.fs.openFileAbsolute("/dev/input/event0", .{ .mode = .read_only }); + + while (true) { + _ = try file.read(@as(*[@sizeOf(linux.input_event)]u8, @ptrCast(&event))); + + std.debug.print("Event sec: {}\n", .{event.time.tv_sec}); + std.debug.print("Event usec: {}\n", .{event.time.tv_usec}); + std.debug.print("Event type: {}\n", .{event.type}); + std.debug.print("Event code: {}\n", .{event.code}); + std.debug.print("Event value: {}\n", .{event.value}); + std.debug.print("***************\n", .{}); + } + + file.close(); +} diff --git a/src/main.zig b/src/main.zig new file mode 100644 index 0000000..c53564f --- /dev/null +++ b/src/main.zig @@ -0,0 +1,5 @@ +const os = @import("os.zig"); + +pub fn main() !void { + var platform: os.Platform = try os.Platform.init(); +} diff --git a/src/music.zig b/src/music.zig new file mode 100644 index 0000000..f79b242 --- /dev/null +++ b/src/music.zig @@ -0,0 +1,30 @@ +const std = @import("std"); + +fn fastSin(x: f32) f32 { + const sign: f32 = @as(f32, @floatFromInt(@intFromBool(x < 0.5))) * 2 - 1; + + const restricted: f32 = @mod(x, 0.5) - 0.25; + const absolute: f32 = 1.25 * (1 / (restricted * restricted + 0.25)) - 4; + + return absolute * sign; +} + +const AudioOutput = struct { + sample_rate: f32 = 48000, + buf: [256]f32 = undefined, + + sinTheta: f32 = 0, + + fn generate(this: *AudioOutput) !void { + var i: usize = 0; + while (i < 128) : (i += 1) { + const sample = fastSin(this.sinTheta); + this.sinTheta += 440 / this.sample_rate; + + this.buf[i * 2] = sample; + this.buf[i * 2 + 1] = sample; + } + } +}; + +fn main() !void {} diff --git a/src/os.zig b/src/os.zig new file mode 100644 index 0000000..11c83b7 --- /dev/null +++ b/src/os.zig @@ -0,0 +1,5 @@ +pub usingnamespace switch (@import("builtin").os.tag) { + .windows => @import("windows.zig"), + .linux => @import("linux.zig"), + else => @compileError("Unsupported operating system"), +}; diff --git a/src/time.zig b/src/time.zig new file mode 100644 index 0000000..affa552 --- /dev/null +++ b/src/time.zig @@ -0,0 +1,2 @@ +pub const mysec32 = u32; +pub const mysec64 = u64; diff --git a/src/wavreader.zig b/src/wavreader.zig new file mode 100644 index 0000000..8eb820d --- /dev/null +++ b/src/wavreader.zig @@ -0,0 +1,30 @@ +struct WavFileHeader { // Offset Size Type Description +// ---------------------------------------------------------------------------------------------------------------- +unsigned RiffChunk; // 0 4 FourCC 'RIFF' +unsigned ChunkSize; // 4 4 DWord size of the riff chunk (should be always filesize - 8) +unsigned FileFormat; // 8 4 FourCC 'WAVE' +unsigned FormatChunk; // 12 4 FourCC 'fmt ' +unsigned FormatSize; // 16 4 DWord size of Format structure (should be always 16 byte) +unsigned short PcmFlags; // 20 2 Word bit 1: Signed data, bit 2: Float data.. +unsigned short Channels; // 22 2 Word samples per frame (example: one stereo frame consist from 2 samples) +unsigned SampleRate; // 24 4 DWord frames per second (example: 44100 stereo-frames are played back per seccond) +unsigned ByteRate; // 28 4 DWord bytes per second (example: one second float32 stereo-track data: 44100frames * 2channels * 4bytes ) +unsigned short BlockAlign; // 32 2 Word byte per frame (example: each float32 stero frame is 8 byte in size - one float is 4byte - 2 channels are 2 floats, each 4byte) +unsigned short BitDepth; // 34 2 Word bits per sample (example: one float32 is 4 byte where each byte has 8 bit... so: 32 bit per sample ) */ +unsigned DataChunk; // 36 4 FourCC 'data' +unsigned DataSize; // 40 4 DWord size of of payload data (should be the total file size minus this headers size of 44 byte) +}; + +const WavHeader = packed struct { + riff_id: [4]u8, // "RIFF" + riff_size: u32, + riff_fmt: [4]u8, // "WAVE" + + fmt_id: [4]u8, // "fmt " + fmt_size: u32, + + audio_format: u16, + channels: u16, + sample_rate: u32, + +}; \ No newline at end of file diff --git a/src/wincon.zig b/src/wincon.zig new file mode 100644 index 0000000..c34baff --- /dev/null +++ b/src/wincon.zig @@ -0,0 +1,103 @@ +const win = @cImport(@cInclude("windows.h")); + +const input = @import("input.zig"); + +pub const Platform = struct { + pub const WindowsError = error{ + GetStdHandle, + CreateWaitableTimerW, + ReadConsoleInputW, + SetConsoleMode, + }; + + const max_events = input.EventBuffer.buf_size / 2; + + const console_mode_flags = + win.ENABLE_EXTENDED_FLAGS | + win.ENABLE_PROCESSED_INPUT | + win.ENABLE_PROCESSED_OUTPUT | + win.ENABLE_MOUSE_INPUT | + win.ENABLE_WINDOW_INPUT; + + std_handle: *anyopaque, + timer_handle: *anyopaque, + + pub fn init() WindowsError!Platform { + var platform: Platform = undefined; + + platform.std_handle = win.GetStdHandle(win.STD_INPUT_HANDLE) orelse return WindowsError.GetStdHandle; + platform.timer_handle = win.CreateWaitableTimerW(null, 1, null) orelse return WindowsError.CreateWaitableTimerW; + + if (win.SetConsoleMode(platform.std_handle, console_mode_flags) == 0) { + return WindowsError.SetConsoleMode; + } + + return platform; + } + + pub fn readInput(platform: *Platform, buf: *input.EventBuffer) WindowsError!usize { + var event_buf: [max_events]win.INPUT_RECORD = undefined; + var events_read: c_ulong = undefined; + + if (win.ReadConsoleInputW( + platform.std_handle, + &event_buf, + max_events, + &events_read, + ) == 0) { + return WindowsError.ReadConsoleInputW; + } + + var game_events: usize = 0; + for (event_buf[0..events_read]) |*record| { + game_events += translateEvent(record, buf); + } + + return game_events; + } + + // ugh + fn translateEvent(record: *win.INPUT_RECORD, buf: *input.EventBuffer) usize { + return switch (record.EventType) { + win.KEY_EVENT => { + buf.codes[n] = record.Event.KeyEvent.wVirtualKeyCode; + + buf[0] = input.Event{ + record.Event.KeyEvent.wVirtualKeyCode, + @intCast(record.Event.KeyEvent.bKeyDown), + }; + return 1; + }, + win.MOUSE_EVENT => switch (record.Event.MouseEvent.dwEventFlags) { + win.MOUSE_MOVED => { + buf[0] = input.Event{ + @intFromEnum(VkCode.mouse_x), + record.Event.MouseEvent.dwMousePosition.X, + }; + buf[1] = input.Event{ + @intFromEnum(VkCode.mouse_y), + record.Event.MouseEvent.dwMousePosition.Y, + }; + return 2; + }, + win.MOUSE_WHEELED => { + buf[0] = input.Event{ + @intFromEnum(VkCode.mouse_vwheel), + @as(i16, @bitCast(@as(u16, @intCast(record.Event.MouseEvent.dwButtonState >> 16)))), + }; + return 1; + }, + win.MOUSE_HWHEELED => { + buf[0] = input.Event{ + @intFromEnum(VkCode.mouse_hwheel), + @intCast(record.Event.MouseEvent.dwButtonState), // this is broken, haven't tested + }; + return 1; + }, + else => 0, + }, + win.WINDOW_BUFFER_SIZE_EVENT => unreachable, // implement this!!! + else => 0, + }; + } +}; diff --git a/src/windows.exe b/src/windows.exe new file mode 100644 index 0000000..d6adffd Binary files /dev/null and b/src/windows.exe differ diff --git a/src/windows.exe.obj b/src/windows.exe.obj new file mode 100644 index 0000000..3650be1 Binary files /dev/null and b/src/windows.exe.obj differ diff --git a/src/windows.pdb b/src/windows.pdb new file mode 100644 index 0000000..49dbf8f Binary files /dev/null and b/src/windows.pdb differ diff --git a/src/windows.zig b/src/windows.zig new file mode 100644 index 0000000..41224a6 --- /dev/null +++ b/src/windows.zig @@ -0,0 +1,184 @@ +const std = @import("std"); + +const win = @cImport({ + @cInclude("windows.h"); + @cInclude("mmdeviceapi.h"); +}); +const wasapi = @cImport(@cInclude("audioclient.h")); + +const CLSID_MMDeviceEnumerator: win.CLSID = .{ .Data1 = 0xbcde0395, .Data2 = 0xe52f, .Data3 = 0x467c, .Data4 = .{ 0x8e, 0x3d, 0xc4, 0x57, 0x92, 0x91, 0x69, 0x2e } }; +const IID_IMMDeviceEnumerator: win.IID = .{ .Data1 = 0xa95664d2, .Data2 = 0x9614, .Data3 = 0x4f35, .Data4 = .{ 0xa7, 0x46, 0xde, 0x8d, 0xb6, 0x36, 0x17, 0xe6 } }; +const IID_IAudioClient: win.IID = .{ .Data1 = 0x1cb9ad4c, .Data2 = 0xdbfa, .Data3 = 0x4c32, .Data4 = .{ 0xb1, 0x78, 0xc2, 0xf5, 0x68, 0xa7, 0x3, 0xb2 } }; +const IID_IAudioRenderClient: win.IID = .{ .Data1 = 0xf294acfc, .Data2 = 0x3146, .Data3 = 0x4483, .Data4 = .{ 0xa7, 0xbf, 0xad, 0xdc, 0xa7, 0xc2, 0x60, 0xe2 } }; + +fn framesToHundredNanoseconds(frames: f32, sample_rate: f32) c_longlong { + return @intFromFloat(10_000_000 * (frames / sample_rate)); +} + +pub const WindowsAudio = struct { + timer_handle: *anyopaque, + + pub fn init() !void {} + + fn audioWorker() i32 { + const wave_format: wasapi.WAVEFORMATEX = .{ + .wFormatTag = wasapi.WAVE_FORMAT_IEEE_FLOAT, + .nChannels = 2, + .nSamplesPerSec = 48000, + .wBitsPerSample = 32, + .nBlockAlign = 2 * (32 / 8), + .nAvgBytesPerSec = 48000 * (2 * (32 / 8)), + }; + + const buf_event: *anyopaque = win.CreateEventW( + null, + win.FALSE, + win.FALSE, + null, + ) orelse return hresultFromWin32(win.GetLastError()); + + if (failed(win.CoInitialize(null))) |err| return err; + + // Get default audio device + var device_enumerator: *win.IMMDeviceEnumerator = undefined; + var audio_device: *win.IMMDevice = undefined; + + if (failed(win.CoCreateInstance( + @ptrCast(&CLSID_MMDeviceEnumerator), + null, + win.CLSCTX_ALL, + @ptrCast(&IID_IMMDeviceEnumerator), + @ptrCast(&device_enumerator), + ))) |err| return err; + + if (failed(device_enumerator.lpVtbl.*.GetDefaultAudioEndpoint.?( + device_enumerator, + win.eRender, + win.eConsole, + @ptrCast(&audio_device), + ))) |err| return err; + + // Initialize audio client + var wasapi_audio_client: *wasapi.IAudioClient = undefined; + + if (failed(audio_device.lpVtbl.*.Activate.?( + audio_device, + @ptrCast(&IID_IAudioClient), + win.CLSCTX_ALL, + null, + @ptrCast(&wasapi_audio_client), + ))) |err| return err; + + if (failed(wasapi_audio_client.lpVtbl.*.Initialize.?( + wasapi_audio_client, + wasapi.AUDCLNT_SHAREMODE_SHARED, + wasapi.AUDCLNT_STREAMFLAGS_EVENTCALLBACK, + framesToHundredNanoseconds(128, wave_format.nSamplesPerSec), + 0, + &wave_format, + null, + ))) |err| return err; + + if (failed(wasapi_audio_client.lpVtbl.*.SetEventHandle.?( + wasapi_audio_client, + buf_event, + ))) |err| return err; + + // Get render client + var wasapi_render_client: *wasapi.IAudioRenderClient = undefined; + + if (failed(wasapi_audio_client.lpVtbl.*.GetService.?( + wasapi_audio_client, + @ptrCast(&IID_IAudioRenderClient), + @ptrCast(&wasapi_render_client), + ))) |err| return err; + + // Start audio client + var buf_frame_size: u32 = undefined; + + if (failed(wasapi_audio_client.lpVtbl.*.Start.?( + wasapi_audio_client, + ))) |err| return err; + + if (failed(wasapi_audio_client.lpVtbl.*.GetBufferSize.?( + wasapi_audio_client, + &buf_frame_size, + ))) |err| return err; + + // Audio worker loop + var theta: f32 = 0; + + var i: usize = 0; + while (i < (48000 * 5) / buf_frame_size) : (i += 1) { + if (win.WaitForSingleObject(buf_event, win.INFINITE) != win.WAIT_OBJECT_0) { + return hresultFromWin32(win.GetLastError()); + } + + var pad_frame_size: u32 = undefined; + if (failed(wasapi_audio_client.lpVtbl.*.GetCurrentPadding.?( + wasapi_audio_client, + &pad_frame_size, + ))) |err| return err; + + const available_frame_size: u32 = buf_frame_size - pad_frame_size; + + std.debug.print("available: {}\n", .{available_frame_size}); + + if (available_frame_size == 0) + continue; + + var buf: [*]f32 = undefined; + if (failed(wasapi_render_client.lpVtbl.*.GetBuffer.?( + wasapi_render_client, + available_frame_size, + @ptrCast(&buf), + ))) |err| return err; + + var j: usize = 0; + while (j < available_frame_size) : (j += 1) { + theta += 1.0 / 48000.0; + + const sample: f32 = (fastSin(theta * 261.63) + fastSin(theta * 329.63) + fastSin(theta * 390)) * 0.25; + + buf[j * 2] = sample; + buf[j * 2 + 1] = sample; + } + + if (failed(wasapi_render_client.lpVtbl.*.ReleaseBuffer.?( + wasapi_render_client, + available_frame_size, + 0, + ))) |err| return err; + } + + return 0; + } + + inline fn failed(hresult: win.HRESULT) ?i32 { + if (win.FAILED(hresult)) { + return hresult; + } else { + return null; + } + } + + inline fn hresultFromWin32(x: u32) i32 { + if (x == 0) { + return 0; + } else { + return @bitCast((x & 0x0000ffff) | (win.FACILITY_WIN32 << 16) | 0x80000000); + } + } +}; + +fn fastSin(x: f32) f32 { + const sign: f32 = if (x - @floor(x) > 0.5) -1 else 1; + const mod: f32 = (2 * x - @floor(2 * x)) / 2 - 0.25; + const abs: f32 = 1.25 * (1 / (mod * mod + 0.25)) - 4; + + return abs * sign; +} + +pub fn main() !void { + std.debug.print("exiting with code: {}\n", .{WindowsAudio.audioWorker()}); +}