From 6b7633100271c6a93cd99701e9df30eae8fc100b Mon Sep 17 00:00:00 2001 From: 7d <61975820+iiiii7d@users.noreply.github.com> Date: Thu, 4 Jan 2024 00:35:16 +0800 Subject: [PATCH 1/3] split airportcalc into its own page --- README.md | 2 - airportcalc.html | 31 +++ build.mjs | 8 +- index.html | 13 +- media/ac192.png | Bin 0 -> 10710 bytes media/ac512.png | Bin 0 -> 34699 bytes pnpm-lock.yaml | 12 +- src/airportcalc.ts | 327 ------------------------------- src/airportcalc/airportcalc.ts | 206 +++++++++++++++++++ src/airportcalc/changelog.txt | 5 + src/airportcalc/globals.ts | 53 +++++ src/airportcalc/import-export.ts | 88 +++++++++ src/airportcalc/index.ts | 27 +++ src/map.ts | 5 +- src/{ => map}/globals.ts | 21 +- src/{ => map}/index.ts | 15 +- src/{ => map}/map-cities.ts | 4 +- src/{ => map}/townsearch.ts | 16 +- src/{ => map}/ui.ts | 0 src/{ => map}/waypoint-viewer.ts | 2 +- src/{utils.ts => utils/coord.ts} | 0 src/{ => utils}/geojson.ts | 0 22 files changed, 454 insertions(+), 381 deletions(-) create mode 100644 airportcalc.html create mode 100644 media/ac192.png create mode 100644 media/ac512.png delete mode 100644 src/airportcalc.ts create mode 100644 src/airportcalc/airportcalc.ts create mode 100644 src/airportcalc/changelog.txt create mode 100644 src/airportcalc/globals.ts create mode 100644 src/airportcalc/import-export.ts create mode 100644 src/airportcalc/index.ts rename src/{ => map}/globals.ts (88%) rename src/{ => map}/index.ts (88%) rename src/{ => map}/map-cities.ts (99%) rename src/{ => map}/townsearch.ts (96%) rename src/{ => map}/ui.ts (100%) rename src/{ => map}/waypoint-viewer.ts (96%) rename src/{utils.ts => utils/coord.ts} (100%) rename src/{ => utils}/geojson.ts (100%) diff --git a/README.md b/README.md index 3328416..b0ea1e4 100644 --- a/README.md +++ b/README.md @@ -14,5 +14,3 @@ All data is sourced from staff documents and the server dynamic map. You may nee - megascatterbomb - Airplaneguy9 - Scarycrumb45 - -MRT Map and Airportcalc logo by Cortesi diff --git a/airportcalc.html b/airportcalc.html new file mode 100644 index 0000000..837d655 --- /dev/null +++ b/airportcalc.html @@ -0,0 +1,31 @@ + + +
+