├── .gitattributes ├── .gitignore ├── .gitmodules ├── README.md ├── glad ├── include │ ├── KHR │ │ └── khrplatform.h │ └── glad │ │ └── glad.h └── src │ └── glad.c ├── lint.sh ├── res ├── gtfs │ ├── routes.txt │ ├── stop_times.txt │ ├── stops.txt │ └── trips.txt └── planet_-123.114,49.284_-123.107,49.287.osm ├── shell.nix ├── src ├── App.zig ├── ClosestStopLookup.zig ├── HeuristicRenderer.zig ├── Metadata.zig ├── MouseTracker.zig ├── PathPlanner.zig ├── Renderer.zig ├── TextureRenderer.zig ├── TransitDb.zig ├── TransitDb │ └── create_sqlite_db.sql ├── XmlParser.zig ├── c.zig ├── fragment.glsl ├── fragment_closest_stop.glsl ├── gl_utils.zig ├── gui_bindings.zig ├── image_fragment.glsl ├── image_tile_data.zig ├── index.zig ├── lin.zig ├── make_site.zig ├── map_data.zig ├── monitored_attributes.zig ├── native_glfw.zig ├── native_nogui.zig ├── pp_benchmark.zig ├── rect.glsl ├── render_utils.zig ├── stb_image.c ├── vertex.glsl └── vertex_closest_stop.glsl ├── stb_image └── stb_image.h ├── suppressions.valgrind └── www ├── index.html └── index.js /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/README.md -------------------------------------------------------------------------------- /glad/include/KHR/khrplatform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/glad/include/KHR/khrplatform.h -------------------------------------------------------------------------------- /glad/include/glad/glad.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/glad/include/glad/glad.h -------------------------------------------------------------------------------- /glad/src/glad.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/glad/src/glad.c -------------------------------------------------------------------------------- /lint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/lint.sh -------------------------------------------------------------------------------- /res/gtfs/routes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/res/gtfs/routes.txt -------------------------------------------------------------------------------- /res/gtfs/stop_times.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/res/gtfs/stop_times.txt -------------------------------------------------------------------------------- /res/gtfs/stops.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/res/gtfs/stops.txt -------------------------------------------------------------------------------- /res/gtfs/trips.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/res/gtfs/trips.txt -------------------------------------------------------------------------------- /res/planet_-123.114,49.284_-123.107,49.287.osm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/res/planet_-123.114,49.284_-123.107,49.287.osm -------------------------------------------------------------------------------- /shell.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/shell.nix -------------------------------------------------------------------------------- /src/App.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/App.zig -------------------------------------------------------------------------------- /src/ClosestStopLookup.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/ClosestStopLookup.zig -------------------------------------------------------------------------------- /src/HeuristicRenderer.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/HeuristicRenderer.zig -------------------------------------------------------------------------------- /src/Metadata.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/Metadata.zig -------------------------------------------------------------------------------- /src/MouseTracker.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/MouseTracker.zig -------------------------------------------------------------------------------- /src/PathPlanner.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/PathPlanner.zig -------------------------------------------------------------------------------- /src/Renderer.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/Renderer.zig -------------------------------------------------------------------------------- /src/TextureRenderer.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/TextureRenderer.zig -------------------------------------------------------------------------------- /src/TransitDb.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/TransitDb.zig -------------------------------------------------------------------------------- /src/TransitDb/create_sqlite_db.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/TransitDb/create_sqlite_db.sql -------------------------------------------------------------------------------- /src/XmlParser.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/XmlParser.zig -------------------------------------------------------------------------------- /src/c.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/c.zig -------------------------------------------------------------------------------- /src/fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/fragment.glsl -------------------------------------------------------------------------------- /src/fragment_closest_stop.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/fragment_closest_stop.glsl -------------------------------------------------------------------------------- /src/gl_utils.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/gl_utils.zig -------------------------------------------------------------------------------- /src/gui_bindings.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/gui_bindings.zig -------------------------------------------------------------------------------- /src/image_fragment.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/image_fragment.glsl -------------------------------------------------------------------------------- /src/image_tile_data.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/image_tile_data.zig -------------------------------------------------------------------------------- /src/index.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/index.zig -------------------------------------------------------------------------------- /src/lin.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/lin.zig -------------------------------------------------------------------------------- /src/make_site.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/make_site.zig -------------------------------------------------------------------------------- /src/map_data.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/map_data.zig -------------------------------------------------------------------------------- /src/monitored_attributes.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/monitored_attributes.zig -------------------------------------------------------------------------------- /src/native_glfw.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/native_glfw.zig -------------------------------------------------------------------------------- /src/native_nogui.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/native_nogui.zig -------------------------------------------------------------------------------- /src/pp_benchmark.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/pp_benchmark.zig -------------------------------------------------------------------------------- /src/rect.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/rect.glsl -------------------------------------------------------------------------------- /src/render_utils.zig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/stb_image.c: -------------------------------------------------------------------------------- 1 | #define STB_IMAGE_IMPLEMENTATION 2 | #include 3 | -------------------------------------------------------------------------------- /src/vertex.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/vertex.glsl -------------------------------------------------------------------------------- /src/vertex_closest_stop.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/src/vertex_closest_stop.glsl -------------------------------------------------------------------------------- /stb_image/stb_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/stb_image/stb_image.h -------------------------------------------------------------------------------- /suppressions.valgrind: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/suppressions.valgrind -------------------------------------------------------------------------------- /www/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/www/index.html -------------------------------------------------------------------------------- /www/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sphaerophoria/sphmap/HEAD/www/index.js --------------------------------------------------------------------------------