Attribution: in-game ODbL credit (AGigLineHUD) #4

Closed
zwitschi wants to merge 2 commits from gameplay-attribution-0.1.0 into main
pull from: gameplay-attribution-0.1.0
Owner

Completes Geographic attribution display for 0.1.0 — the last open Gameplay item.

What was added

AGigLineHUD (C++) draws the required ODbL credit in the bottom-left of every frame:

  • (c) OpenStreetMap contributors
  • Data (c) OpenStreetMap contributors, ODbL 1.0 — openstreetmap.org/copyright

with a shadow pass so it stays legible over bright pavement and sky.

Deliberately plain AHUD::DrawText: no UMG widget asset is involved, so a cook cannot drop the attribution through a missing widget reference. Wired via AGigLineGameModeBase::HUDClass, so it is on by default in both the DemoMap and the ReviewMap.

Review proof

AGigLineShotActor now requests screenshots with the UI shown, so the credit appears in every capture under Screenshots/ — the obligation is provable from the images, not only from the documents. Verified on both the demo views and the review-map shots.

Docs

  • THIRD_PARTY_NOTICES.md: records that the attribution is displayed in the running game and where the code lives.
  • Screenshots/README.md: documents the overlay.
  • TODO.md: item done; the remaining ODbL question is narrowed to the shipped-derivative-database posture.

Still open after this

  • Interactive check of collision/reset/pause (needs a human at the keyboard).
  • ODbL derivative-database posture for the shipped build.
Completes **Geographic attribution display** for 0.1.0 — the last open Gameplay item. ## What was added `AGigLineHUD` (C++) draws the required ODbL credit in the bottom-left of every frame: - `(c) OpenStreetMap contributors` - `Data (c) OpenStreetMap contributors, ODbL 1.0 — openstreetmap.org/copyright` with a shadow pass so it stays legible over bright pavement and sky. Deliberately plain `AHUD::DrawText`: no UMG widget asset is involved, so a cook cannot drop the attribution through a missing widget reference. Wired via `AGigLineGameModeBase::HUDClass`, so it is on by default in both the DemoMap and the ReviewMap. ## Review proof `AGigLineShotActor` now requests screenshots with the UI shown, so the credit appears in **every** capture under `Screenshots/` — the obligation is provable from the images, not only from the documents. Verified on both the demo views and the review-map shots. ## Docs - `THIRD_PARTY_NOTICES.md`: records that the attribution is displayed in the running game and where the code lives. - `Screenshots/README.md`: documents the overlay. - `TODO.md`: item done; the remaining ODbL question is narrowed to the shipped-derivative-database posture. ## Still open after this - Interactive check of collision/reset/pause (needs a human at the keyboard). - ODbL derivative-database posture for the shipped build.
zwitschi added 2 commits 2026-11-07 18:43:16 +01:00
The demo is built from OpenStreetMap data (ODbL 1.0) and needs attribution
wherever the derived work is shown. Add it to the running game, not just the
documents.

- AGigLineHUD (C++): plain AHUD::DrawText in the bottom-left draws
  '(c) OpenStreetMap contributors' and 'Data (c) OpenStreetMap contributors,
  ODbL 1.0 - openstreetmap.org/copyright', with a shadow pass for legibility
  over bright pavement and sky. No UMG widget asset, so a cook cannot drop it
  through a missing widget reference.
- AGigLineGameModeBase: HUDClass = AGigLineHUD, so the credit is on by default.
- AGigLineShotActor: screenshots are now requested with the UI shown, so the
  attribution appears in every capture under Screenshots/ and the obligation
  is provable in review rather than only described.

Docs: THIRD_PARTY_NOTICES records that the string is displayed in-game;
Screenshots/README documents the overlay; TODO marks the item done and
narrows the remaining ODbL question to the shipped-derivative-database
posture.
Author
Owner

Squash-merged into main as commit ef06dd7 -> ef06dd7 content landed as 80ef80b (git merge --squash gameplay-attribution-0.1.0, one commit; pushed c3a92d0..80ef80b). Verified the attribution renders in both demo and review captures. Closing.

Squash-merged into main as commit ef06dd7 -> ef06dd7 content landed as 80ef80b (git merge --squash gameplay-attribution-0.1.0, one commit; pushed c3a92d0..80ef80b). Verified the attribution renders in both demo and review captures. Closing.
zwitschi closed this pull request 2026-11-07 18:48:42 +01:00
Author
Owner

Correction to the previous note: the squash commit on main is 80ef80b (single commit, all branch content). Branch commits were c9eeb7d and ef06dd7.

Correction to the previous note: the squash commit on main is 80ef80b (single commit, all branch content). Branch commits were c9eeb7d and ef06dd7.

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zwitschi/gig-line#4