Commit Graph

59 Commits

Author SHA1 Message Date
Spatison
a2557f75a6 Upstream (#129) 2024-11-21 17:49:04 +07:00
SimpleStation14
3b2a19d9ec Mirror: Code cleanup: Purge calls to obsolete EntityCoordinates methods (#289)
## Mirror of PR #26292: [Code cleanup: Purge calls to obsolete
EntityCoordinates
methods](https://github.com/space-wizards/space-station-14/pull/26292)
from <img src="https://avatars.githubusercontent.com/u/10567778?v=4"
alt="space-wizards" width="22"/>
[space-wizards](https://github.com/space-wizards)/[space-station-14](https://github.com/space-wizards/space-station-14)

###### `f4cb02fb0ca385c858569c07c51afb0d24ade949`

PR opened by <img
src="https://avatars.githubusercontent.com/u/85356?v=4" width="16"/><a
href="https://github.com/Tayrtahn"> Tayrtahn</a> at 2024-03-20 16:04:43
UTC

---

PR changed 34 files with 70 additions and 56 deletions.

The PR had the following labels:
- Status: Needs Review


---

<details open="true"><summary><h1>Original Body</h1></summary>

> <!-- Please read these guidelines before opening your PR:
https://docs.spacestation14.io/en/getting-started/pr-guideline -->
> <!-- The text between the arrows are comments - they will not be
visible on your PR. -->
> 
> ## About the PR
> <!-- What did you change in this PR? -->
> Cleaned up some outdated code.
> 
> ## Why / Balance
> <!-- Why was it changed? Link any discussions or issues here. Please
discuss how this would affect game balance. -->
> Clean code is happy code.
> 
> ## Technical details
> <!-- If this is a code change, summarize at high level how your new
code works. This makes it easier to review. -->
> Updated all calls to obsolete EntityCoordinates methods (ToMap,
ToMapPos, FromMap, ToVector2i, InRange) to non-obsolete ones (by passing
in SharedTransformSystem as an arg).
> 
> ## Media
> <!-- 
> PRs which make ingame changes (adding clothing, items, new features,
etc) are required to have media attached that showcase the changes.
> Small fixes/refactors are exempt.
> Any media may be used in SS14 progress reports, with clear credit
given.
> 
> If you're unsure whether your PR will require media, ask a maintainer.
> 
> Check the box below to confirm that you have in fact seen this (put an
X in the brackets, like [X]):
> -->
> Code
> - [X] I have added screenshots/videos to this PR showcasing its
changes ingame, **or** this PR does not require an ingame showcase
> 
> ## Breaking changes
> <!--
> List any breaking changes, including namespace, public
class/method/field changes, prototype renames; and provide instructions
for fixing them. This will be pasted in #codebase-changes.
> -->
> 
> **Changelog**
> <!--
> Make players aware of new features and changes that could affect how
they play the game by adding a Changelog entry. Please read the
Changelog guidelines located at:
https://docs.spacestation14.io/en/getting-started/pr-guideline#changelog
> -->
> 
> <!--
> Make sure to take this Changelog template out of the comment block in
order for it to show up.
> 🆑
> - add: Added fun!
> - remove: Removed fun!
> - tweak: Changed fun!
> - fix: Fixed fun!
> -->
> 


</details>

---------

Signed-off-by: VMSolidus <evilexecutive@gmail.com>
Co-authored-by: SimpleStation14 <Unknown>
Co-authored-by: VMSolidus <evilexecutive@gmail.com>
2024-05-28 23:36:53 -04:00
Pieter-Jan Briers
e7a3b82a8d Use new ComponentPauseGenerator (#25183)
Also includes some (non critical) changes to the solution file to re-organize the Roslyn components.

(cherry picked from commit e00f74505c62310bd15aeaba8d6530f648397074)
2024-03-07 00:57:05 +01:00
LordCarve
ad35a2fda3 Obsolete refactor - ConnectedClient to Channel (#24409)
(cherry picked from commit 05a2e6b3a21e5fb3198432d885bbe28506d85b9c)
2024-01-27 23:44:02 +01:00
metalgearsloth
32216a1b03 Entitylookup method renames (#23519)
(cherry picked from commit 1f3a29c0926c2d3af7ce1ef8148a73d332c3302f)
2024-01-26 22:38:25 +01:00
metalgearsloth
ec9c1cefff Pathfinding stuff (#23516)
Won't fix any crashes

(cherry picked from commit f84cd9c48a20c4773afd0bb70b073c51e3c1f3d3)
2024-01-26 21:37:20 +01:00
Kara
a28d300fdf Broadcast MoveEvent -> C# event (#22689) 2023-12-22 22:56:58 +01:00
Leon Friedrich
e66c0b5035 Un-revert IPlayerManager refactor (#21244) 2023-10-31 19:00:44 +01:00
DrSmugleaf
9cc8a7fc81 Remove 700 usages of Component.Owner (#21100) 2023-10-20 15:31:13 +02:00
metalgearsloth
de7879694f Climbing refactor (#20516) 2023-10-14 22:02:29 +02:00
metalgearsloth
4b19bfdbbf Suppress pathfinding debug assert (#20101) 2023-09-27 21:59:12 +02:00
metalgearsloth
c9648da984 Content update for NetEntities (#18935) 2023-09-27 21:59:12 +02:00
metalgearsloth
4cfc578011 Revert "Remove most usages of obsolete TransformComponent methods (#1… (#19714) 2023-09-01 12:30:29 +10:00
Visne
1416942bea Remove most usages of obsolete TransformComponent methods (#19571) 2023-08-30 12:05:19 +10:00
metalgearsloth
7dbd8f8b7a Add TryGetNpc (#19553) 2023-08-26 13:45:29 +10:00
DrSmugleaf
321986d5cc Fixed trying to resolve unregistered NPCComponent type, fix NPCs (#19547) 2023-08-25 14:52:23 -07:00
DrSmugleaf
a88e747a0b Refactor serialization copying to use source generators (#19412) 2023-08-22 18:14:33 -07:00
metalgearsloth
5d3503222c Cleanup some lookup stuff (#18738) 2023-08-06 15:11:43 +10:00
metalgearsloth
cc5d83fe21 Pathfinder parallel change (#18736) 2023-08-06 14:41:57 +10:00
metalgearsloth
d3aece12cb Lookup changes (#18416) 2023-08-06 12:44:05 +10:00
metalgearsloth
e97e7f8137 Revert "Add pathfinding for dynamic bodies" (#18397) 2023-07-28 19:58:31 +10:00
Vordenburg
49f3f07e30 Add pathfinding support for NPCs climbing tables (#17415) 2023-07-28 16:37:29 +10:00
Vordenburg
494b9e5b93 Add pathfinding for dynamic bodies (#17416)
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
2023-07-28 16:28:00 +10:00
metalgearsloth
c43db830ea Significantly improve NPC steering (#17931) 2023-07-14 00:48:04 +10:00
metalgearsloth
68480af109 Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
metalgearsloth
cca1a78384 Dungeon generation refactor (#17121) 2023-06-27 19:17:42 +10:00
metalgearsloth
8a28d7bc70 Bagel fix (#17514) 2023-06-21 09:19:15 +10:00
metalgearsloth
23b6d87a79 Hotfix NPC pathfinding (#17360) 2023-06-16 01:01:26 +10:00
Vordenburg
620678df98 Flip curTime and NextUpdate in UpdateGrid (#17306) 2023-06-14 10:37:51 +10:00
metalgearsloth
3840255ebb Fix thindow pathing (#15349) 2023-04-12 23:50:07 +10:00
metalgearsloth
6157dfa3c0 Salvage dungeons (#14520) 2023-03-10 16:41:22 +11:00
metalgearsloth
344238c0f1 Make NPC steering actually debuggable (#14142) 2023-02-17 12:30:10 +11:00
Visne
c6d3e4f3bd Fix warnings and code cleanup/fixes (#13570) 2023-01-19 13:56:45 +11:00
metalgearsloth
243fd73db4 Update tilechangedevent to ref structs (#13383) 2023-01-09 13:45:21 +11:00
metalgearsloth
95011a4a97 Force pathfinding graph for empty chunks (#12856)
* Force pathfinding graph for empty chunks

* im merging
2022-12-19 21:59:33 -06:00
metalgearsloth
c656e051c2 Revert parallel steering (#13085) 2022-12-19 18:46:27 +11:00
metalgearsloth
8b177e83e5 Add VV to gridpathfinding comp (#13081) 2022-12-19 13:11:09 +11:00
metalgearsloth
6fa9104ad7 Update content for pause event changes (#12970) 2022-12-14 11:55:51 +11:00
metalgearsloth
3b3963083b Replace GridEntityId with Owner (#12743) 2022-12-12 14:59:02 +11:00
metalgearsloth
7910bd3ff4 Context steering for NPCs (#12915) 2022-12-12 14:33:43 +11:00
metalgearsloth
f8a8b41976 Fix rat pathfinding (#12951)
Fixes https://github.com/space-wizards/space-station-14/issues/12950
2022-12-10 20:31:02 +11:00
metalgearsloth
540a3d9028 Increase NPC chase persistence (#12850) 2022-12-06 15:34:23 -08:00
metalgearsloth
dd384c55a0 Pathfinder tweaks (#12848) 2022-12-06 15:33:44 -08:00
metalgearsloth
5a6f30fb74 Fix another pathfinding invalid node slipping (#12739) 2022-11-24 18:28:17 +11:00
metalgearsloth
fee44d13b2 Re-implement parallel for pathfinding crumbs (#12355) 2022-11-22 13:36:34 +11:00
metalgearsloth
6c76061887 Content changes for mapgrid kill (#12567) 2022-11-22 13:12:04 +11:00
metalgearsloth
b749d0d275 Remove NPC IEntityManager resolves (#12648) 2022-11-18 22:07:52 +01:00
Leon Friedrich
86ef8c5473 Make PathfindingSystem take a nap during large explosions (#12309) 2022-11-04 12:24:41 +11:00
metalgearsloth
c0abea8047 Content side for removing IMap / IMapGrid comps (#12357) 2022-11-04 10:12:25 +11:00
metalgearsloth
4cb96dba6d Clear path on exception (#12335)
Should hopefully avoid it spamming in future.
2022-11-01 20:12:50 -05:00