-
Notifications
You must be signed in to change notification settings - Fork 441
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
experiment: explosions subsystem #6372
Open
dageavtobusnick
wants to merge
12
commits into
ss220-space:master220
Choose a base branch
from
dageavtobusnick:explosion_test
base: master220
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
experiment: explosions subsystem #6372
dageavtobusnick
wants to merge
12
commits into
ss220-space:master220
from
dageavtobusnick:explosion_test
+639
−252
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Antoonij
reviewed
Jan 17, 2025
BeebBeebBoob
added
Testmerge candidate
Этот PR будет в тестмерже после определенного времени
testmerge
This PR is being tested right now on live test servers.
labels
Jan 19, 2025
BeebBeebBoob
removed
the
testmerge
This PR is being tested right now on live test servers.
label
Jan 21, 2025
BeebBeebBoob
added
Do Not Merge
Либо не прошла предложка, либо кто-то не доволен.
testmerge
This PR is being tested right now on live test servers.
and removed
Do Not Merge
Либо не прошла предложка, либо кто-то не доволен.
labels
Jan 23, 2025
BeebBeebBoob
force-pushed
the
explosion_test
branch
from
January 23, 2025 14:35
b745ad6
to
95ba937
Compare
BeebBeebBoob
added
testmerge
This PR is being tested right now on live test servers.
and removed
testmerge
This PR is being tested right now on live test servers.
labels
Jan 23, 2025
BeebBeebBoob
removed
the
testmerge
This PR is being tested right now on live test servers.
label
Jan 28, 2025
BeebBeebBoob
added
the
testmerge
This PR is being tested right now on live test servers.
label
Jan 28, 2025
Добавлена корректная более обработка мультиЗ взрывов, теперь взрыв на разны уровнях происходит в рамках одной обработки, а не как последовательность взрывов на разных уровнях. Так же в прок добавлена возможность содавать направленные взрывы, а так же исключать эпицентр из обработки. Убрана старая обработка мультиЗ взрывов
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Testmerge candidate
Этот PR будет в тестмерже после определенного времени
testmerge
This PR is being tested right now on live test servers.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Описание
Переносит код обработки взрыва в subsystem, по примеру https://github.com/tgstation/tgstation (не порт).
Так же сделаны микро оптимизации имеющегося кода обработки взрыва.
Взрывы обрабатываются согласно приоритету. Приоритетом является количество обрабатываемых турфов. Чем меньше взрыв, тем приоритетнее он обработается(реализовано на очереди с приоритетами на основе бинарной кучи)
Обработка турфов в рамках одного происходит последовательно(на основе очереди на связных списках).
Так же с https://github.com/tgstation/tgstation был перенесен более оптимальный прок для отбора обрабатываемых турфов.
Причина создания ПР / Почему это хорошо для игры
Исполнять такую ресурсозатратную операцию как взрыв не в сабсистеме чревато проблемами. В целом перенос в сабсистему сделал обработку плавнее и стабильнее.
Тесты
Запустил локалку, вызвал дропбомб 255. Во время обработки взрыва запустил несколько ракет с малыми взрывами. Все обработалось корректно(насколько это возможно при полном разрушении станции). Понадобится тестмердж, чтобы убедиться в отсутствии критических багов.