Commit Graph
148 Commits
Author SHA1 Message Date
Fazana 4448273b14 Move raycasts back to math_util 2021-09-30 10:40:37 +01:00
Arceveti 4fe6b323e7 Automatically calculate SURFACE_POOL_SIZE and SURFACE_NODE_POOL_SIZE 2021-09-29 16:38:36 -07:00
Arceveti d1ed598480 Whoops, lowercase absf already exists 2021-09-29 16:37:20 -07:00
Arceveti 824056390f Lowercase abs and signum_positive defines 2021-09-29 16:22:34 -07:00
Arceveti 3bfb394b70 Fix compiler warnings 2021-09-29 13:28:49 -07:00
Arceveti a8afa914cd some surface_terrains.h defines 2021-09-29 12:59:49 -07:00
Arceveti 911246541e Merge https://github.com/CrashOveride95/ultrasm64 into nightly 2021-09-29 11:51:43 -07:00
Arceveti c203e8a17d Add find_room_floor 2021-09-29 10:35:27 -07:00
Arceveti c9d48d3c43 Fix BBH crash 2021-09-29 10:19:34 -07:00
Arceveti f8a9eaea4b Fix GRAPH_RENDER_FLAGS_SIZE + Add OBJ_FLAG_OCCLUDE_SILHOUETTE + name Bowser 1 painting dl's 2021-09-28 23:43:44 -07:00
Arceveti 8e398008d8 Optimize out a bunch of sqrtf 2021-09-28 22:43:29 -07:00
Arceveti 28e8d99707 Some optimizations + cleanup 2021-09-28 21:13:26 -07:00
Arceveti 868dd8f97b Some small fixes + cleanup 2021-09-28 19:08:34 -07:00
Arceveti 4adf87f622 Some cleanup/fixes 2021-09-28 17:33:18 -07:00
Arceveti 4ec50b8123 #define o gCurrentObject in object_list_processor.h 2021-09-28 15:42:41 -07:00
Fazana 51f7679208 pragma'd 2021-09-28 22:57:37 +01:00
Arceveti 04b6089d72 Fix puppyprint font kerning 2021-09-28 14:14:48 -07:00
Arceveti 5b43bc3b03 Fix typo 2021-09-28 14:04:26 -07:00
Arceveti 3e8aa7fada Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 13:57:00 -07:00
Arceveti 81a64e59d7 Fix held objects + some cleanup 2021-09-28 13:54:34 -07:00
Fazana cefd4b62ab Held object fix 2021-09-28 21:52:00 +01:00
Arceveti 92ae326cf6 Merge branch 'nightly' of https://github.com/Reonu/HackerSM64 into nightly 2021-09-28 12:18:04 -07:00
Arceveti c89858ebd2 Make obj_set_opacity_from_cam_dist its own function 2021-09-28 12:17:53 -07:00
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