Added assets submodule

master
Mark 2023-12-24 16:21:50 -08:00
parent 3d173b7486
commit 30971f64a7
Signed by: Mark
GPG Key ID: C6D63995FE72FD80
3 changed files with 5 additions and 1 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "assets"]
path = assets
url = ssh://git@git.betalupi.com:33/galactica/assets.git

1
assets Submodule

@ -0,0 +1 @@
Subproject commit 0d7b5796746451257a5dd66325e49cbf76909f63

View File

@ -12,7 +12,7 @@ pub struct TextureArray {
} }
impl TextureArray { impl TextureArray {
const INDEX_PATH: &'static str = "assets.ignore"; const INDEX_PATH: &'static str = "assets";
pub fn get_starfield(&self) -> Texture { pub fn get_starfield(&self) -> Texture {
return self.get_texture(&self.config.starfield); return self.get_texture(&self.config.starfield);