|
12b7ecd2ea
|
If an entity has coordinates and a collider hits a space that isn't equal to the coordinates, mark it as visible.
Yes this is an ugly hack, but it works for now.
|
2021-07-21 15:27:38 -05:00 |
|
|
fc9e561be7
|
Appease Clippy.
|
2021-07-13 12:26:51 -05:00 |
|
|
822e60e722
|
Fix visibility logging.
|
2021-06-16 13:09:21 -05:00 |
|
|
98bca77f66
|
More tweaks to pathfinding and visibility.
|
2021-06-16 11:28:06 -05:00 |
|
|
a461b0907f
|
Update shape size/position for calculating visibility.
|
2021-06-10 09:31:48 -05:00 |
|
|
24db52abd9
|
Refine visibility algorithm.
|
2021-06-09 17:42:04 -05:00 |
|
|
2635dcbb9c
|
Use mapgen::Map directly.
|
2021-06-09 14:53:48 -05:00 |
|
|
173630edab
|
Refactor visibility to use physics system.
|
2021-06-09 14:13:09 -05:00 |
|
|
6eabdf52ab
|
Bring collision monitoring in line with visibility blocking.
|
2021-06-01 12:35:14 -05:00 |
|
|
e28f21c351
|
Remove entity from old index before recalculating collision/visibility of tile.
|
2021-06-01 12:14:27 -05:00 |
|
|
3084d02f66
|
Separate viewshed updates based on coordinate and visibility_blocked.
|
2021-05-26 14:57:55 -05:00 |
|
|
41bfe08a03
|
Refactor indexing into individual setter functions.
|
2021-05-24 10:19:01 -05:00 |
|
|
1878ead9be
|
Simplify visibility systems.
|
2021-05-21 12:04:10 -05:00 |
|
|
7719bb08b3
|
Add component to not log something when it appears.
|
2021-05-17 09:50:03 -05:00 |
|
|
b2138d3e4c
|
Describe directions relatively.
|
2021-05-16 17:24:26 -05:00 |
|
|
9b124e5640
|
Put direction before distance.
|
2021-05-16 16:50:20 -05:00 |
|
|
3332d0a88d
|
Initial commit.
|
2021-05-13 12:25:45 -05:00 |
|