Commit Graph
124 Commits
Author SHA1 Message Date
Fazana e562c6543b Remove profiler.c
It's in its own commit, so if you for some reason disagree with this, reverting it is super easy.
2021-09-28 17:52:42 +01:00
Fazana 4ba2285969 Graph optimisations
that actually work now
2021-09-28 17:39:49 +01:00
Arceveti 56fa02ec87 COND_BIT + fix transparent tree layer + asymptitic turn 2021-09-27 18:03:06 -07:00
Arceveti 87cdbc8ceb Merge https://github.com/Reonu/HackerSM64 into nightly 2021-09-27 16:43:42 -07:00
Arceveti 62cc178545 Object constants and new typedefs 2021-09-27 16:41:43 -07:00
thecozies 2ac47bd4f1 fixed find_water_floor height variable 2021-09-27 17:56:28 -05:00
Arceveti 3f4728e337 Configurable wall kick angle in degrees 2021-09-27 14:00:10 -07:00
Arceveti ea0fd25a73 Some more cleanup 2021-09-27 13:35:55 -07:00
Arceveti 6155b6416a Some cleanup & fixes 2021-09-27 12:28:47 -07:00
Fazana 39f92391f8 Matrix optimisation
Courtesy of Kaze, creator of all existing romhacks
2021-09-27 13:16:04 +01:00
Arceveti 00ae43cc99 Get world scale by distance to origin on one axis 2021-09-27 02:32:41 -07:00
Arceveti be8a27f79f Some optimizations 2021-09-26 16:43:55 -07:00
Arceveti 1110c281bb Merge branch 'master' of https://github.com/Reonu/HackerSM64 2021-09-26 14:51:33 -07:00
Arceveti 833cc9082c Add breath meter 2021-09-26 14:49:21 -07:00
Fazana f32f2d3997 Clean up layer definitions
Turn ifdef hell into enum heaven 😎
2021-09-26 20:15:07 +01:00
Arceveti 25e74c3e0a Revert "Replace header ifdef guards with #pragma once"
This reverts commit 3a6c577a41.
2021-09-26 11:34:20 -07:00
Arceveti df165f80c9 Add BETTER_HANGING 2021-09-26 11:21:48 -07:00
Arceveti aa2ebba8dc Move raycasting functions to surface_collision 2021-09-26 10:32:42 -07:00
Arceveti 4147082647 Optimize OBJ_OPACITY_BY_CAM_DIST + fix puppycam build warnings 2021-09-25 22:46:28 -07:00
Arceveti cafd21dd76 Add OBJ_FLAG_OPACITY_FROM_CAMERA_DIST 2021-09-25 22:31:10 -07:00
Arceveti 3d6725bfa1 the funny vec3f_copy optimization 2021-09-25 18:33:35 -07:00
Arceveti 3a6c577a41 Replace header ifdef guards with #pragma once 2021-09-25 11:08:11 -07:00
Arceveti 0649427337 Some small fixes 2021-09-25 10:12:05 -07:00
Arceveti 332d22489f Remove a bunch of unused/messy stuff 2021-09-25 09:31:45 -07:00
Arceveti 05db3dbae2 Add approach_angle 2021-09-24 18:26:36 -07:00
Fazana 923db21615 math util tweaks
Will use the optimal mtxf_to_mtx func based on what's needed, has a small quirk where you notice the fog switching but that's an issue with worldscale rather than this.
2021-09-24 19:02:57 +01:00
Arceveti 304ee502c8 Some small optimizations 2021-09-23 18:56:14 -07:00
Arceveti 6fcbb42632 Name warp-related defines and add option to disable intro demo 2021-09-23 17:37:05 -07:00
Arceveti 9b59eb0256 Code cleanup 2021-09-23 13:37:03 -07:00
Arceveti 8ad773a7eb Sort surfaces by upperY instrad of the first vertex 2021-09-23 12:59:06 -07:00
Arceveti c9373256c4 Fix vec3f_normalize 2021-09-22 18:14:19 -07:00
Arceveti fba9f665cd Some small fixes 2021-09-22 18:03:54 -07:00
Arceveti d70c34f1d0 Fix some math_util functions returning the address of local variables 2021-09-22 17:34:25 -07:00
Arceveti e7fb56dc50 Add ability to increase the amount of graph node flags 2021-09-22 16:58:21 -07:00
Arceveti 5afa901fcf Clean up AVOID_UB ifdefs 2021-09-22 11:35:17 -07:00
Arceveti 9e4a569cf6 Add GRAPH_NODE_TYPES_MASK and MODEL_STATE_MASK 2021-09-22 11:19:46 -07:00
Arceveti 55afd6d0dc Some more names 2021-09-21 15:43:29 -07:00
Arceveti 59d609fb07 Fix silhouette 2021-09-21 12:25:56 -07:00
Arceveti bd9165686d Clean up surface_collision a bit 2021-09-21 11:59:54 -07:00
Arceveti 0d2daf0776 A few more names + cleanup find_wall_collisions_from_list a bit 2021-09-20 18:29:58 -07:00
Arceveti eedca61a73 Some vector macros in math_util.h 2021-09-20 17:10:08 -07:00
Arceveti f64c7a9542 Name some more stuff 2021-09-20 16:54:52 -07:00
Arceveti bf0acb6cbe Name a bunch of stuff 2021-09-20 16:25:58 -07:00
Fazana a648505f6b Geo bones 2021-09-20 16:40:02 +01:00
Arceveti e57f1dc59a Add Silhouette 2021-09-18 15:55:57 -07:00
Arceveti 2927db262c Add FramePerfection's Better Wall Collision with rounded corners 2021-09-17 19:26:13 -07:00
Arceveti 97f6fa6959 Remove redundant function/struct 2021-09-17 18:22:29 -07:00
Fazana f190671ade RIGHT FUNCTION STUPID 2021-09-17 17:45:43 +01:00
Fazana 0b3c98557c Surface iteration optimisation
Skips over surfaces that will literally never intentionally come into play.
2021-09-17 17:35:33 +01:00
Fazana 26005df9d7 Label RCP resets 2021-09-16 23:14:53 +01:00