Commit Graph

26 Commits

Author SHA1 Message Date
MysterD 3908ff3954 Prevent crash in vanish cap switch course
The segfault is hit while trying to render bhvCheckerboardElevatorGroup
when the player first enters the stage.

So here's some background: bhvCheckerboardElevatorGroup is the invisible
parent object that defines where the two platforms will rotate around. It
has a model, but it's never rendered in game. The entity only exists for
a few frames before being removed from the scene.

Here's the theory: Since it is only valid for a few frames, I believe the
model gets deallocated after removal. Since changing the camera precision
makes the camera end up in a slightly different spot, it could be trying
to render the object when precision is set to 3 but not to 1.

Here's the solution: Adding cur_obj_hide() to the start of
bhv_checkerboard_elevator_group_init() prevents the crash

fixes #437
2020-10-11 13:32:02 -07:00
fgsfds c1ed30a2fa Revert "fix crash with dynamic surfaces?"
apparently this was causing collision issues
2020-10-04 02:47:25 +03:00
fgsfds 5c21494c73 fix crash with dynamic surfaces?
unknown if this has actually caused any issues in EX
2020-10-01 18:02:13 +03:00
MysterD 7af6e308a4 Make bettercam/puppycam respect NO_CAM_COLLISION 2020-09-28 20:49:03 -07:00
MysterD 47fca44582 Increase bettercam's precision 2020-09-28 20:47:51 -07:00
MysterD 75bed240fa Improve bettercam's collision detection and avoidance
The precision of ray casting was too low previously, causing the
collision checks to skip right past a wall sometimes. There was also
nothing to prevent the camera from getting too close to a wall
horizontally or vertically.
2020-09-28 20:47:31 -07:00
n64 6330644371 Refresh 11 2020-07-05 14:15:43 +03:00
n64 4a448cf10d merge refresh 10 2020-06-20 02:49:59 +03:00
fgsfds c57bacdfd7 clean up some toolchain compatibility fixes
also rename the abs() macro to not cause any fucking conflicts ever again
2020-05-19 22:22:52 +03:00
Colton Rushton b0081e8d60 Refactor PR #151 2020-05-19 10:14:44 -03:00
fgsfds ff844643d2
Merge branch 'master' into master 2020-05-16 22:47:39 +03:00
uncletrunks ab23b8907b putting out fires 2020-05-14 21:50:10 -05:00
uncletrunks 70ca0af987 adds cylindrical billboarding, enables it for trees. 2020-05-14 20:31:52 -05:00
Hyenadae 31f0d68ca2 Removed majority of TARGET_N64 logic from code 2020-05-13 07:57:25 -04:00
uwabami c98a263cf4 adding option to disable draw distance 2020-05-12 09:26:16 +02:00
Jan200101 be340547c4
port analog camera code to the master codebase 2020-05-08 13:41:35 +02:00
Jan200101 e87c070517
merge PC port onto the decompile 2020-05-07 20:21:22 +02:00
n64 c45aa301bb Refresh 8 2020-04-03 14:57:26 -04:00
n64 06ec56df7f Refresh 7 2020-03-01 22:42:52 -05:00
n64 9a801cb96d refresh 6 2020-02-03 00:51:26 -05:00
n64 9273f38df1 refresh 5 2020-01-03 10:38:57 -05:00
n64 04732af90b refresh 4 2019-12-01 21:52:53 -05:00
n64 a7c423cb43 Refresh 3 2019-11-03 14:36:27 -05:00
n64 52e605f075 Refresh 2 2019-10-05 15:08:05 -04:00
n64 1ef98ec785 Refresh 1 2019-09-01 15:50:50 -04:00
n64 89e8690857 init2 2019-08-25 00:46:40 -04:00