diff --git a/.gitignore b/.gitignore index ab15b91..e9a45cd 100644 --- a/.gitignore +++ b/.gitignore @@ -90,3 +90,5 @@ zig-out zig-cache zig-cache/h zig-cache/z + +*.kra diff --git a/res/cell.png b/res/cell.png new file mode 100644 index 0000000..4b68741 Binary files /dev/null and b/res/cell.png differ diff --git a/src/Renderer.zig b/src/Renderer.zig index 1b219f3..a229140 100644 --- a/src/Renderer.zig +++ b/src/Renderer.zig @@ -86,7 +86,6 @@ pub const Texture = struct { } pub fn drawTo(self: Texture, x: i32, y: i32, w: i32, h: i32, tint: [4]u8) void { - std.debug.print("\n\n I love penis \n\n", .{}); self.texture.drawTo(x, y, w, h, tint); } diff --git a/src/raylib.zig b/src/raylib.zig index 59b77bf..7d7b4c6 100644 --- a/src/raylib.zig +++ b/src/raylib.zig @@ -78,14 +78,12 @@ pub const Texture = struct { } pub fn drawTo(self: Texture, x: i32, y: i32, w: i32, h: i32, tint: [4]u8) void { - std.debug.print("\n\nachooooo\n\n", .{}); const srcRec: c.Rectangle = .{ .x = 0, .y = 0, .width = @floatFromInt(self.texture.width), .height = @floatFromInt(self.texture.height), }; - std.debug.print("\n\nnaguru\n\n", .{}); const dstRec: c.Rectangle = .{ .x = @floatFromInt(x), @@ -94,7 +92,6 @@ pub const Texture = struct { .height = @floatFromInt(h), }; - std.debug.print("\n\nHAstta aqui hemos llegao\n\n", .{}); c.DrawTexturePro( self.texture, srcRec, @@ -103,7 +100,6 @@ pub const Texture = struct { 0, .{ .r = tint[0], .g = tint[1], .b = tint[2], .a = tint[3] }, ); - std.debug.print("\n\nlmaolol\n\n", .{}); } pub fn unload(self: Texture) void {