Skip to content

Expose entity position; add loading text & radar#401

Merged
TheUnrealZaka merged 1 commit into
mainfrom
feat/arreglos-varios
Jun 12, 2026
Merged

Expose entity position; add loading text & radar#401
TheUnrealZaka merged 1 commit into
mainfrom
feat/arreglos-varios

Conversation

@MarcPladellorensPerez

Copy link
Copy Markdown
Contributor

Add virtual Entity::GetPosition() so code can query entity coordinates. Introduce a persistent texLoadingText_ texture (created in LoadIntroCinematic/LoadLoading and freed in unload) and switch DrawLoadingText to use SDL_GetTicks() for anim timing and SDL_SetTextureAlphaMod() for pulsing alpha, avoiding per-frame text creation. Add radar rendering in PostUpdateGameplay to draw blinking markers for enemies and checkpoints using entity positions. Adjust LoadGameplay music volume logic to only mute during in-game intro; otherwise restore configured volume.

Canvis

Issues relacionades

Tipus de canvi

  • feat: Nova funcionalitat
  • fix: Correcció de bug
  • art: Asset gràfic
  • docs: Documentació
  • refactor: Refactorització de codi
  • build: Canvis al sistema de build

Checklist

  • El codi compila sense errors
  • He provat els canvis localment
  • He seguit les naming conventions (PascalCase classes, camelCase mètodes, m_ membres)
  • He usat Conventional Commits al títol del PR
  • He enllaçat la Issue corresponent

Add virtual Entity::GetPosition() so code can query entity coordinates. Introduce a persistent texLoadingText_ texture (created in LoadIntroCinematic/LoadLoading and freed in unload) and switch DrawLoadingText to use SDL_GetTicks() for anim timing and SDL_SetTextureAlphaMod() for pulsing alpha, avoiding per-frame text creation. Add radar rendering in PostUpdateGameplay to draw blinking markers for enemies and checkpoints using entity positions. Adjust LoadGameplay music volume logic to only mute during in-game intro; otherwise restore configured volume.
@MarcPladellorensPerez MarcPladellorensPerez linked an issue Jun 11, 2026 that may be closed by this pull request
@TheUnrealZaka TheUnrealZaka merged commit d6bacb8 into main Jun 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: arreglos varios

2 participants