-
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
1a7de97
commit 417081e
Showing
6 changed files
with
67 additions
and
52 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
def log(s): | ||
print(s) | ||
|
||
def logbreak(): | ||
print() |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import airpower.map as apmap | ||
import airpower.azimuth as apazimuth | ||
import airpower.log as aplog | ||
import airpower.map as apmap | ||
import airpower.turn as apturn | ||
|
||
def startprolog(sheets, compassrose, north="up"): | ||
print("--- start prolog ---") | ||
apazimuth.setnorth(north) | ||
aplog.log("--- start prolog ---") | ||
aplog.logbreak() | ||
apmap.setmap(sheets, compassrose) | ||
apazimuth.setnorth(north) | ||
apmap.drawmap() | ||
apturn.restart() | ||
print() | ||
aplog.logbreak() | ||
|
||
def endprolog(): | ||
print("--- end prolog ---") | ||
print() | ||
aplog.log("--- end prolog ---") | ||
aplog.logbreak() |
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