rework the viewer around base layers, overlays and side panels
One base layer is drawn opaque and any number of overlays over it, so rocks can be looked for on top of the terrain rather than instead of it. Settings and rock finding live in fixed panels beside the map, not in windows over it. What is under the cursor is worked out on a thread of its own, since computing it per frame stalled the window. Find nearest searches regions outward from the view's centre and stops once no nearer region is left; probes leave pins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -37,7 +37,7 @@ VSMV_OBJ = vsmv cs pb json maps save img dump lcg noise shape worldgen fastnoise
|
||||
$(B)/vsmv: $(VSMV_OBJ:%=$(B)/%.o)
|
||||
$(CC) $^ -o $@ -lsqlite3
|
||||
|
||||
VIEWER_OBJ = viewer tiles settings worldgen fastnoise rivers terra strata shape noise lcg maps save pb json cs nk cJSON stb
|
||||
VIEWER_OBJ = viewer tiles search hover settings worldgen fastnoise rivers terra strata shape noise lcg maps save pb json cs nk cJSON stb
|
||||
|
||||
$(B)/vs-map-viewer: $(VIEWER_OBJ:%=$(B)/%.o)
|
||||
$(CC) $^ -o $@ $(SDL_LIBS) -lsqlite3
|
||||
|
||||
Reference in New Issue
Block a user