Skip to content

config.json: draw the base location markers again - #301

Merged
stephengtuggy merged 6 commits into
masterfrom
ev-bugfix-base-screen-draw
Nov 1, 2026
Merged

stephengtuggy merged 6 commits into
masterfrom
ev-bugfix-base-screen-draw

Conversation

@evertvorster

Copy link
Copy Markdown
Contributor

base_locationmarker.spr is still in the pack and the engine still draws it at the centre of every hotspot -- the sprite the player is meant to see as they move the cursor towards a clickable area. The setting that names it was never carried into the JSON config, so it has been empty since the split, and the marker has not been drawn at all. Vega Strike 0.5.4's vegastrike.config named the sprite; the engine no longer reads the XML.

Sets graphics.bases.location_marker_sprite to base_locationmarker.spr, which is the value the old config used and what enable_location_markers and draw_location_text (both already true) were written to work with.

Thank you for submitting a pull request and becoming a contributor to Vega Strike: Upon the Coldest Sea.

Please answer the following:

Code Changes:

Issues:

  • Please list any related issues

Purpose:

  • What is this pull request trying to do?
    • Sets the config option to draw the base sprite.
  • What release is this for?
    • 0.11
  • Is there a project or milestone we should apply this to?
    • 0.11

base_locationmarker.spr is still in the pack and the engine still draws it at the
centre of every hotspot -- the sprite the player is meant to see as they move the
cursor towards a clickable area. The setting that names it was never carried into
the JSON config, so it has been empty since the split, and the marker has not been
drawn at all. Vega Strike 0.5.4's vegastrike.config named the sprite; the engine
no longer reads the XML.

Sets graphics.bases.location_marker_sprite to base_locationmarker.spr, which is
the value the old config used and what enable_location_markers and
draw_location_text (both already true) were written to work with.
@evertvorster

Copy link
Copy Markdown
Contributor Author

This depends on vegastrike/Vega-Strike-Engine-Source#1819

Don't merge before that is in!

@stephengtuggy stephengtuggy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stephengtuggy
stephengtuggy merged commit 984041b into master Nov 1, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants