This repository was archived by the owner on Mar 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Portuguese Ledge world #172
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4081701
Portuguese Ledge world
chapulina 068842d
Load all tiles in the world - need to fix Y position (lat)
chapulina 31bf3bd
Use world origin spherical coordinates from SDF if set
chapulina 6896d23
Merge branch 'chapulina/world_spherical' into chapulina/dem
chapulina aba0ee0
levels
chapulina 343063d
merged from main
chapulina 9ca7d7f
Use Fuel URLs
chapulina f22e8ed
Remove collisions for now, add instructions
chapulina b2ad67b
New owner, instructions
chapulina 9a11eee
Address feedback
chapulina 368d0c5
PR feedback
chapulina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,22 @@ | ||
| # Takes in a template and generates a file. | ||
|
|
||
| import argparse | ||
| import em | ||
| import os | ||
| import sys | ||
|
|
||
| def main(argv=sys.argv[1:]): | ||
| parser = argparse.ArgumentParser() | ||
| parser.add_argument('infile', help='Full path to input template.') | ||
| parser.add_argument('outfile', help='Full path to output file.') | ||
| args = parser.parse_args() | ||
|
|
||
| with open(args.infile) as infile: | ||
| template = infile.read() | ||
| result = em.expand(template, {}) | ||
| os.makedirs(os.path.dirname(args.outfile), exist_ok=True) | ||
| with open(args.outfile, 'w') as outfile: | ||
| outfile.write(result) | ||
|
|
||
| if __name__ == '__main__': | ||
| sys.exit(main()) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.