Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decloakRequiresLineOfSight for maintenance #499

Merged
merged 1 commit into from Mar 23, 2020

Conversation

GoogleFrog
Copy link
Contributor

I don't know if separate PRs are desired, but I made the changes to test them so here it is. See #498

This controls whether sight distance is used as a filter on proximity cloak checks, allowing for cheap implementations of the behaviour desired by FLOZi for s44 and myself for ZK.
Added a missing comment for alwaysVisibleOverridesCloaked.

See:
 * https://springrts.com/mantis/view.php?id=6306
 * spring@ca1557c
 * https://springrts.com/mantis/view.php?id=6374
@gajop gajop merged commit 4f8e7f9 into spring:maintenance Mar 23, 2020
springraaar pushed a commit to springraaar/spring that referenced this pull request Feb 16, 2023
- Listen to and adjust internal state on DualScreenMode and
  DualScreenMiniMapOnLeft changes
- Add DualScreenMiniMapAspectRatio = [1]|0 to keep the map aspect ratio
  instead of stretching along the dual view
- Perform fixes for proper viewport on:
  - GroundDrawer
  - BumpWater
  - ProjectileDrawer softening
  - LuaObjectDrawer (deferred pass on models)
- Extract common viewports to:
  - GlobalRendering::LoadViewPort -> default viewport (posx, posy, sizex, sizey)
  - GlobalRendering::LoadDualViewPort -> dual viewport (dualposx, dualposy, dualsizex, dualsizey)
  - GL::GeometryBuffer::LoadViewPort -> deferred viewport (0, 0, sizex, sizey)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants