mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-08-03 11:17:05 -04:00
Banish those large assets into a separate repository
A first step towards #763 to unblock the addition of large assets.
This commit is contained in:
parent
76c0d885a5
commit
fc1897de92
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,3 +16,5 @@ test.png
|
|||||||
/assets/*
|
/assets/*
|
||||||
!/assets/cubyz
|
!/assets/cubyz
|
||||||
!/assets/backgrounds/default_background.png
|
!/assets/backgrounds/default_background.png
|
||||||
|
/assets/cubyz/music
|
||||||
|
/assets/cubyz/fonts
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,44 +0,0 @@
|
|||||||
TotalDemented ( https://www.youtube.com/channel/UCut9PCEq4cEJogfEPUXk7Gg ):
|
|
||||||
cubyz.ogg
|
|
||||||
leaves.ogg
|
|
||||||
in_the_depths.ogg
|
|
||||||
la_kubisa_caverna.ogg
|
|
||||||
la_kubisa_caverna_69.ogg
|
|
||||||
tides.ogg
|
|
||||||
|
|
||||||
|
|
||||||
sinanimea:
|
|
||||||
sunrise.ogg
|
|
||||||
under_the_water_sky.ogg
|
|
||||||
|
|
||||||
|
|
||||||
Mrmayman:
|
|
||||||
out_of_breath.ogg
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Kevin MacLeod
|
|
||||||
|
|
||||||
Syncerely by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/5033-sincerely
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
||||||
|
|
||||||
Gymnopedie No. 1 by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/3837-gymnopedie-no-1
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
||||||
|
|
||||||
Dark Times by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/3611-dark-times
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
||||||
|
|
||||||
Eastern Thought by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/3692-eastern-thought
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
||||||
|
|
||||||
Mana Two Part 2 by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/5713-mana-two-part-2
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
||||||
|
|
||||||
Heart of the Beast by Kevin MacLeod
|
|
||||||
Link: https://incompetech.filmmusic.io/song/3862-heart-of-the-beast
|
|
||||||
License: https://filmmusic.io/standard-license
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12
build.zig
12
build.zig
@ -156,6 +156,18 @@ pub fn build(b: *std.Build) !void {
|
|||||||
|
|
||||||
const useLocalDeps = b.option(bool, "local", "Use local cubyz_deps") orelse false;
|
const useLocalDeps = b.option(bool, "local", "Use local cubyz_deps") orelse false;
|
||||||
|
|
||||||
|
const largeAssets = b.dependency("cubyz_large_assets", .{});
|
||||||
|
b.installDirectory(.{
|
||||||
|
.source_dir = largeAssets.path("music"),
|
||||||
|
.install_subdir = "assets/cubyz/music/",
|
||||||
|
.install_dir = .{ .custom = ".." },
|
||||||
|
});
|
||||||
|
b.installDirectory(.{
|
||||||
|
.source_dir = largeAssets.path("fonts"),
|
||||||
|
.install_subdir = "assets/cubyz/fonts/",
|
||||||
|
.install_dir = .{ .custom = ".." },
|
||||||
|
});
|
||||||
|
|
||||||
const exe = b.addExecutable(.{
|
const exe = b.addExecutable(.{
|
||||||
.name = "Cubyzig",
|
.name = "Cubyzig",
|
||||||
.root_source_file = b.path("src/main.zig"),
|
.root_source_file = b.path("src/main.zig"),
|
||||||
|
@ -36,5 +36,9 @@
|
|||||||
.url = "https://github.com/PixelGuys/Cubyz-Libs/releases/download/6/cubyz_deps_x86_64-windows-gnu.tar.gz",
|
.url = "https://github.com/PixelGuys/Cubyz-Libs/releases/download/6/cubyz_deps_x86_64-windows-gnu.tar.gz",
|
||||||
.hash = "N-V-__8AAIpW1AJNtAJnajSjZfiiqMB2tKQ8qkR2g6nhf5SE",
|
.hash = "N-V-__8AAIpW1AJNtAJnajSjZfiiqMB2tKQ8qkR2g6nhf5SE",
|
||||||
},
|
},
|
||||||
|
.cubyz_large_assets = .{
|
||||||
|
.url = "git+https://github.com/PixelGuys/Cubyz-Assets/#e0ea686f86c008b29cd109e1bdd757ce6574eaf3",
|
||||||
|
.hash = "N-V-__8AAAxDUATPdad1MQC8jeiFsoXRet_SvG6acW5Dmxdh",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user