Commit graph

387 commits

Author SHA1 Message Date
Laura Klünder
5646c1dc6f some more buffering 2024-12-25 18:32:09 +01:00
Laura Klünder
3595a875e8 try to fix doors again 🥺 2024-12-25 17:52:46 +01:00
Laura Klünder
ee0d7102b2 remove hotfix i guess 2024-12-25 17:25:31 +01:00
Laura Klünder
c719dd592b hopefulyl fix door render 2024-12-25 15:48:07 +01:00
Laura Klünder
34b5ad58bf another invalid geometry fuckery fix 2024-12-20 19:27:11 +01:00
Laura Klünder
5eb75591dd avoid invalid geometry in build_altitudeareas 2024-12-20 19:18:22 +01:00
Laura Klünder
fe98f5e618 add level_index so short_label can look nicer 2024-12-19 10:56:38 +01:00
Laura Klünder
6167c92e98 implement level permissions in tileserver/cachepackage 2024-12-19 00:51:48 +01:00
Laura Klünder
7e09f37bf0 darken a bit less much 2024-12-19 00:06:47 +01:00
Laura Klünder
9446c34e8a introduce intermediate level setting 2024-12-19 00:06:06 +01:00
Gwendolyn
2f8dc3ee32 render wall shadows in the wall border color 2024-09-17 23:13:36 +02:00
Gwendolyn
300d85e5ed support alpha for tile background color 2024-09-17 21:01:35 +02:00
Laura Klünder
6a83146f5c fix processupdates… again 2024-09-17 16:01:47 +02:00
Laura Klünder
c546f007c1 laast processed geometry cache key… needed for… stuff 2024-09-17 14:00:44 +02:00
Laura Klünder
71131cc5c5 store all processupdates result files in mapupdate-based directory 2024-09-17 01:43:38 +02:00
Laura Klünder
4979c137e4 fix upper bound after rewrite 2024-08-20 22:36:19 +02:00
Laura Klünder
aaa748efdc fix another thing that broke with the new ramps 2024-08-20 22:26:43 +02:00
Laura Klünder
c5b2ed9f4b split LevelGeometries into its two subtypes 2024-08-19 15:49:58 +02:00
Laura Klünder
9f264d1f59 make LevelRenderData into a dataclass 2024-08-19 15:19:12 +02:00
Laura Klünder
034f8fe463 refactor LevelGeometries code with type hints and stuff 2024-08-18 23:21:19 +02:00
Laura Klünder
bbbdfd15fb fix bugs with new ramps 2024-08-18 21:48:17 +02:00
Laura Klünder
53b30df5a2 remove another reference to altitude2 2024-08-18 21:48:17 +02:00
Laura Klünder
2bc044e91f move all other code to AltitudeArea.points, no multi-point implementation yet 2024-08-18 21:48:17 +02:00
Jenny Danzmayr
f56b6416df optionally use PyGObject and pycario instead of pgi and cairocffi
pgi doesn't work with python 3.12, but PyGObject and pycario does work
2024-08-13 21:30:02 +02:00
Gwendolyn
dc3137eee0 allow themes to not define any colors, and use them from the base theme instead 2024-03-29 13:50:29 +01:00
Gwendolyn
2548d62776 theming should be fine now 2024-03-28 17:38:09 +01:00
Gwendolyn
fcee95bd60 *now* it is good though I think 2024-03-18 23:30:00 +01:00
Gwendolyn
d029114ef0 oops need to actually call MapUpdate.current_cache_key() 2024-03-18 23:28:42 +01:00
Gwendolyn
d42cd01e95 don't cache theme colors past a mapdata update 2024-03-18 23:23:14 +01:00
Laura Klünder
43b4b63a63 only import PIL.Image if needed 2024-02-07 19:59:53 +01:00
Laura Klünder
8c8ef12cf0 make linter happy 2024-02-07 18:34:28 +01:00
Laura Klünder
d7f175f7ef add options and postpone imports to massively reduce memory usage 2024-02-07 18:17:13 +01:00
Gwendolyn
9399e5c377 rudimentary theme support 2024-01-06 16:13:38 +01:00
Gwendolyn
9d422a777c little bit of render refactoring 2023-12-26 18:15:07 +01:00
Gwendolyn
a4b72478fa access restrictions for obstacles in renderer? 2023-12-25 17:40:35 +01:00
Laura Klünder
7f42ef9775 fix bug that made restricted spaces with holes see-through even without permission 2023-12-24 03:25:34 +01:00
Gwendolyn
a0078a6312 fix wall rendering bug 2023-12-18 00:19:17 +01:00
Gwendolyn
7bc75e4207 fix wrong indentation from f85bcc1 2023-12-14 20:07:25 +01:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Laura Klünder
c3ce665562 linter stuff 2023-12-11 18:49:18 +01:00
Laura Klünder
f85bcc173a extract color variables for rendering 2023-12-11 18:49:18 +01:00
Laura Klünder
f4257fbf3f fix but that would make levels just. not render 2023-12-07 20:12:10 +01:00
Laura Klünder
99c2c4e0f0 some renderdata code modernization 2023-12-07 20:11:55 +01:00
Laura Klünder
551cb1e086 start modernizing renderdata code somewhat 2023-12-07 19:13:42 +01:00
Laura Klünder
0150851808 fix typo or it will never load from local cache 2023-12-07 18:57:57 +01:00
Laura Klünder
372936fcad an experiment. lets don't use threading locks, hope it helps with performance 2023-12-07 17:28:13 +01:00
Gwendolyn
245e451033 fix formatting 2023-11-11 13:30:45 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +01:00
Gwendolyn
1ae1274c2c unwrap geometries were necessary to comply with the new shapely api 2023-11-09 18:58:31 +01:00
Laura Klünder
9618d7304f fix more bugs caused by updates, especially using unwrap_geom 2023-07-24 11:51:46 +02:00