generated from MechanicalFlower/godot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b3c590
commit 5b598dc
Showing
12 changed files
with
159 additions
and
51 deletions.
There are no files selected for viewing
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
.godot/imported/red_bricks.jpg-5dd86cd25e4957e121cc79f9fd814415.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source_md5="8830dde094a19d459e4ecace0f77b457" | ||
dest_md5="26e10bb895acae69a32304a1094efe56" | ||
|
Binary file added
BIN
+2.4 MB
.godot/imported/red_bricks.jpg-5dd86cd25e4957e121cc79f9fd814415.s3tc.ctex
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[remap] | ||
|
||
importer="texture" | ||
type="CompressedTexture2D" | ||
uid="uid://mcprxpflavgh" | ||
path.s3tc="res://.godot/imported/red_bricks.jpg-5dd86cd25e4957e121cc79f9fd814415.s3tc.ctex" | ||
metadata={ | ||
"imported_formats": ["s3tc_bptc"], | ||
"vram_texture": true | ||
} | ||
|
||
[deps] | ||
|
||
source_file="res://assets/textures/red_bricks.jpg" | ||
dest_files=["res://.godot/imported/red_bricks.jpg-5dd86cd25e4957e121cc79f9fd814415.s3tc.ctex"] | ||
|
||
[params] | ||
|
||
compress/mode=2 | ||
compress/high_quality=false | ||
compress/lossy_quality=0.7 | ||
compress/hdr_compression=1 | ||
compress/normal_map=0 | ||
compress/channel_pack=0 | ||
mipmaps/generate=true | ||
mipmaps/limit=-1 | ||
roughness/mode=0 | ||
roughness/src_normal="" | ||
process/fix_alpha_border=true | ||
process/premult_alpha=false | ||
process/normal_map_invert_y=false | ||
process/hdr_as_srgb=false | ||
process/hdr_clamp_exposure=false | ||
process/size_limit=0 | ||
detect_3d/compress_to=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
#!/usr/bin/env python3 | ||
import os | ||
from string import Template | ||
|
||
|
||
def main(): | ||
template = Template(( | ||
'- "[$files]($source)" by **$author** licensed' | ||
' under [$license](./LICENSES/$license.txt)\n' | ||
)) | ||
|
||
deps = {} | ||
section = None | ||
|
||
with open(".reuse/dep5", "r") as file: | ||
for line in file: | ||
if line.startswith('# '): | ||
section = line[len("# "): -1].lower() | ||
|
||
if section is None: | ||
continue | ||
|
||
if line.startswith("Files: "): | ||
if section not in deps: | ||
deps[section] = [] | ||
|
||
deps[section].append({"files": line[len("Files: "):-1]}) | ||
|
||
elif line.startswith("Copyright: "): | ||
if section not in deps: | ||
deps[section] = [] | ||
|
||
date_author = line[len("Copyright: "):-1].split(" ") | ||
date_author.pop(0) | ||
deps[section][-1]["author"] = " ".join(date_author) | ||
|
||
elif line.startswith("License: "): | ||
if section not in deps: | ||
deps[section] = [] | ||
|
||
deps[section][-1]["license"] = line[len("License: "):-1] | ||
|
||
elif line.startswith("Source: "): | ||
if section not in deps: | ||
deps[section] = [] | ||
|
||
deps[section][-1]["source"] = line[len("Source: "):-1] | ||
|
||
if deps: | ||
with open("CREDITS.md", "w") as file: | ||
file.writelines("# Credits\n\n") | ||
|
||
for key, value in deps.items(): | ||
file.writelines(f"## {key.title()}\n") | ||
for dep in value: | ||
file.writelines(template.substitute(**dep)) | ||
else: | ||
if os.path.exists("CREDITS.md"): | ||
os.remove("CREDITS.md") | ||
|
||
|
||
if __name__ == "__main__": | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters