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

[PORT] Follows up TG's atom_hud system #10897

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

EvilDragonfiend
Copy link
Member

@EvilDragonfiend EvilDragonfiend commented Apr 17, 2024

About The Pull Request

Follows up TG's atom_hud system

IMPORTANT: dependency

big amount of images being dumped into client/list/images has been an issue causing a lot of maptick.
This PR ports their atom_hud that prevents things being injected into a client needlessly when they can't see stuff from another z level

  • Var name changes:
    • show_to(mob) is easier to understand than add_hud_to(mob)
    • add_atom_to_hud() than add_to_hud()
    • remove_atom_from_hud() than remove_from_hud(). it might be correct, but it's confusing grammarly. remove SOMETHING from somewhere is grammarly correct, so TG changed it to remove_atom_from_hud(). I am happy with it too.
    • hide_from() than remove_hud_from()
    • again:
      show_to(mob) <- add_hud_to(mob)
      add_atom_to_hud() <- add_to_hud()
      hide_from() <- remove_hud_from()
      remove_atom_from_hud() <- remove_from_hud()
  • Single arbitrary var name like M or S for med_hud and sec_hud is a bad arbitrary usecase. We'd think M is an arbitrary var name for mob, not med_hud, and others too.
    • H (as hud) isn't that nice too

Why It's Good For The Game

Greatly good for performance

Testing Photographs and Procedure

Screenshots&Videos

image

image

previously, it's 300 images
now it's cull down to 19 images

image

fine all as normal status

Changelog

🆑 LemonInTheDark, MrMelbert, SmArtKar, RandomGamer123, Sealed101 (Port by EvilDragon)
code: improved atom_hud system to greatly improve performance for maptick, with bug fix PRs along
fix: fixed some circuit overlay issues
code: You can see HUD through camera even with the up-to-date HUD system. (by EvilDragonfiend)
/:cl:

@EvilDragonfiend EvilDragonfiend added Priority: Critical THIS IS VERY IMPORTANT Needs Testmerge Port Features being ported from another codebase Test Merged This PR is currently in rotation and removed Fix Code Improvement labels Apr 17, 2024
@EvilDragonfiend EvilDragonfiend removed the Test Merged This PR is currently in rotation label Apr 25, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@EvilDragonfiend EvilDragonfiend requested a review from itsmeow as a code owner July 10, 2024 14:31
@EvilDragonfiend EvilDragonfiend added the Test Merged This PR is currently in rotation label Jul 10, 2024
@EvilDragonfiend
Copy link
Member Author

ah, actually it was fine to review

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@EvilDragonfiend EvilDragonfiend added the Test Merged This PR is currently in rotation label Nov 25, 2024
@github-actions github-actions bot added the Mapping DMM Change label Dec 10, 2024
_maps/_basemap.dm Outdated Show resolved Hide resolved
Copy link
Member

@Crossedfall Crossedfall left a comment

Choose a reason for hiding this comment

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

Re-comment lowmem

@EvilDragonfiend EvilDragonfiend removed the Test Merged This PR is currently in rotation label Dec 16, 2024
@EvilDragonfiend
Copy link
Member Author

EvilDragonfiend commented Dec 16, 2024

De-TM for now. I figured atom hud issue, I guess.

@Dejaku51 Dejaku51 removed the Mapping DMM Change label Dec 17, 2024
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Administration Code Improvement Fix Needs Testmerge Port Features being ported from another codebase Priority: Critical THIS IS VERY IMPORTANT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants