Commit Graph

29 Commits

Author SHA1 Message Date
Muzychenko Andrey 43e2ab896b FT collision part6: fixes and cleanup. 2023-03-13 10:54:33 +03:00
Muzychenko Andrey 4b86fe2aa7 FT collision part3: cleanup. 2023-03-05 14:16:07 +03:00
Muzychenko Andrey ba470e8727 FT collision part2: added most of the FT collision system.
Aka "World's most expensive flippers".
This is an aggregate of collision-related changes made during 3DPB->FT transition.
The most important part is in flipper collision - a shift from monolithic iterative solver in TFlipperEdge::EdgeCollision to a distributed non-iterative solver.
Both 3DPB and FT data sets use FT collision, keeping two collision systems does not make much sense.
From user perspective, FT/3DPB systems should not have any major differences.
2023-03-04 17:31:23 +03:00
Muzychenko Andrey 2d6f2c14e5 FT collision part1: AABB. 2022-12-28 08:47:44 +03:00
Muzychenko Andrey c1c74878df Multiball part 1: control and component changes from FT.
The result is 3DPB/FT hybrid, with control closer to 3DPB and components closer to FT.
2022-08-25 17:09:17 +03:00
Muzychenko Andrey acd1ad34b2 Code from FT: simplified TFlipper sprite update.
TFlipperEdge moving geometry stored in object.
2022-08-23 08:14:28 +03:00
Muzychenko Andrey 8017734de4 Switched positional audio to collision coordinate system.
Refactored positional audio.
2022-06-01 16:19:27 +03:00
Muzychenko Andrey 97aea20586 Renamed some collision variables. 2022-05-20 11:51:00 +03:00
Muzychenko Andrey 5461483bb5 Added debug overlay v1.
It features various collision info perspective projected and overlayed on the table.
2022-05-19 14:17:31 +03:00
Muzychenko Andrey 2d2ca0ab2a Cleaning up maths: part 4.
More by ref args, cleaned up distance_to_flipper, ramp init.
2022-05-16 09:28:35 +03:00
Muzychenko Andrey fdf1f6c9f1 Cleaning up maths: part 3.
Demangled methods, vectors args by ref, added comments, more accurate ray_intersect_line.
2022-05-13 11:15:30 +03:00
Muzychenko Andrey 2d0da712e3 Cleaning up maths: part 2.
Renamed vector2.
2022-05-11 16:47:13 +03:00
Muzychenko Andrey d23444b983 Cleaning up maths: part 1.
Vector3 inherited from vector2.
2022-05-11 16:42:45 +03:00
toxie 57af3af800
Increase precision of mode_countdown_ handling (#52)
* fix harmless warnings and properly try/catch allocations via new

otherwise the error handling will never be triggered

* increase precision of mode_countdown_ handling

potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)

also fix some harmless warnings

* document warnings that i cannot handle on my own

* revert changes to have a new cleaner PR after review/cherry picks

* increase precision of mode_countdown_ handling

potentially there could be modes running a bit too long, depending on passed in ms (which were implicitly truncated before when passing in)

also fix some harmless warnings and add comments where original code is 'correct' but weird
2021-10-23 07:33:04 +03:00
oz cd4679194c x64 build - no collision bug found(
Either lost in decompilation or introduced in x64 port.
2021-01-29 16:42:05 +03:00
oz 7d15427dd9 midi ready, TCollision cleanup. 2021-01-23 13:33:30 +03:00
oz 5252fb1b7e TRamp, TPinballTable ready. 2021-01-19 18:28:48 +03:00
oz f22077d8c8 TSink, TDemo ready. 2021-01-18 18:30:19 +03:00
oz 7e8f52c156 TDrain, TKickout, TLightBargraph, TPopupTarget, TSoloTarget ready. 2021-01-17 18:26:03 +03:00
oz 87b4aa27e7 TFlipperEdge v1. 2021-01-09 19:11:03 +03:00
oz d19fb0476a TRollover, TOneway, TLightRollover, TTripwire, TEdgeManager ready. 2021-01-08 18:50:12 +03:00
oz 9bd064bf15 TPlunger ready. TEdgeManager v1. 2021-01-07 19:00:38 +03:00
oz 1ea247e185 pb, cheats ready.
Collison v1, mouse fixed.
2021-01-06 17:06:50 +03:00
oz a143b820af TBall, nudge v1, ready.
render occlude list.
2020-12-27 18:19:36 +03:00
oz d83c4e2b26 Proj v1, ready.
port_draw in multiple T classes.
pb v1.
proj v1, ready.
WinMain v3.
2020-11-29 18:50:49 +03:00
oz a1678120f8 vector_type is 3 x float, TCollisionComponent v1. 2020-11-28 14:39:12 +03:00
oz 0258363287 TEdgeSegment v1. 2020-11-21 18:14:40 +03:00
oz a4c64cc4c8 render v2, ready 2020-11-15 17:39:00 +03:00
oz 989ba6cdb2 gdrv, render v1. 2020-11-08 18:37:59 +03:00