Commit Graph

94 Commits

Author SHA1 Message Date
380506b75c Initial port to Bevy 0.15. 2025-01-03 14:19:57 -05:00
f6c34057aa Don't update if physics is paused. 2025-01-03 11:15:32 -05:00
34613bfe07 Fix condition for visibility self-hit. 2024-12-10 14:26:59 -06:00
0185b9c590 Update opacity map when collider AABBs change. 2024-12-04 18:28:52 -06:00
ed10eabb63 Lots of Avian updates and QoL fixes. 2024-12-04 16:51:25 -06:00
2379ee6900 No need to calculate AABB separately. 2024-12-03 21:38:55 -06:00
2f85dcda91 Merge branch 'main' into avian 2024-12-03 10:08:51 -06:00
1601354f40 Newer, faster visibility. 2024-12-01 16:04:12 -06:00
7c7504834f WIP: Refactor to Avian. 2024-10-06 11:10:46 -05:00
015e98d419 Refactor visibility to triggers and fix lots of bugs. 2024-09-22 14:45:36 -05:00
3ccb3a1d80 Lots of visibility fixes. 2024-09-01 16:21:26 -05:00
a75068f6a9 Simplify types. 2024-08-30 15:50:10 -05:00
8eb050d10a Various visibility fixes. 2024-08-25 17:59:57 -05:00
65c9c6db46 Move noncritical systems to fixed schedules. 2024-08-17 11:52:54 -04:00
afca116394 Various mapping/collision/visibility tweaks. 2024-08-11 09:08:44 -05:00
d0c4f5b29b Upgrade to Bevy 0.13. 2024-03-14 13:37:46 -05:00
4e0a36c4a5 Upgrade to Bevy 0.12. 2024-02-09 14:59:16 -06:00
96b7dcb091 Update to Bevy 0.11. 2023-09-08 16:12:35 -05:00
ea881c0607 Log visibility in PostUpdate.
All checks were successful
continuous-integration/drone/push Build is passing
2023-04-04 10:29:05 -05:00
966cdd903b Get rid of a bunch of iter calls. 2023-03-28 12:13:23 -05:00
01b796062e Initial port to Bevy 0.10. 2023-03-28 11:57:37 -05:00
f255239517 Make many plugins own their own config.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-20 09:15:09 -06:00
b1a11de050 Upgrade to Bevy 0.9. 2022-12-19 14:08:31 -06:00
8148aa4092 Tweak shape extents and position, and viewshed range, to correctly flag tiles as visible or blocked. 2022-08-29 12:24:32 -05:00
5cdcb7a4d4 Make collider smaller so it won't block out tiles adjacent to blocked ones. 2022-08-04 15:29:50 -05:00
2ff8a858ed Update to Bevy 0.8. 2022-08-01 11:38:15 -05:00
da413ef4e4 Ensure width/height are positive.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 14:20:15 -05:00
21f79b0528 Remove Map dependency from some visibility systems.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 13:52:50 -05:00
4e63ad21d1 Remove some logging.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-25 11:12:39 -05:00
360bf5094b cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-20 10:18:16 -05:00
d19048c4a8 Use AABB intersection rather than point containment. 2022-07-20 10:12:14 -05:00
a0ca6a9f55 Massive visibility cleanup/optimization. 2022-07-20 08:24:38 -05:00
1721dc98f8 Refactor helpers for direction and distance, adding some that take colliders into account.
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-19 11:24:45 -05:00
bff40340a8 Upgrade Rapier. 2022-07-12 12:43:43 -05:00
a1cfc448db Update viewshed in distinct stage to ensure that data is synced.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 14:01:25 -05:00
1ff98c9132 Make visibility colliders the single source of truth for calculations.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-11 10:26:03 -05:00
5db110ccc8 Appease Clippy. 2022-05-23 11:23:04 -05:00
b3a06abf0f Various visibilityu/exploration tweaks and consistency fixes. 2022-05-18 10:28:42 -05:00
615af720cb Major visibility system updates.
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-17 10:37:46 -05:00
13d1cb0734 Get rid of Coordinates. 2022-05-10 13:56:49 -05:00
9307852eda Initial port to Bevy 0.7. 2022-05-06 11:07:59 -05:00
43137cfb36 Theoretically restore old cache hit.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 12:27:09 -05:00
38564fbebe Remove bad cache hit check.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 11:22:46 -05:00
bc24308fa1 Appease Clippy and fix gnarly visibility error.
All checks were successful
continuous-integration/drone/push Build is passing
2022-03-25 01:00:30 -05:00
cadaeceba9 Improve performance of visibility calculations.
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-21 19:22:13 -05:00
f16d160994 Avoid possible crash. 2022-03-17 12:39:35 -05:00
0751cf344d Cache collision data when calculating visibility. 2022-03-17 12:15:30 -05:00
92b0a92a70 Restore timestep for visibility updates. 2022-03-17 11:30:12 -05:00
197080e5fd Trim down on unnecessary visibility updates. 2022-03-16 10:50:43 -05:00
24334ba511 Update mapgen to custom fork. 2022-03-15 10:37:28 -05:00