Commit Graph
101 Commits
Author SHA1 Message Date
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
Fazana 655975d6e8 Merge branch 'master' into experimental 2021-09-16 18:03:01 +01:00
Arceveti 48a4d5a405 Make objFlags an s32 2021-09-15 18:54:56 -07:00
Fazana 9d1329f245 F3DLX2.Rej integration
The master displaylist has been split into two, one for things to render in F3DZEX, and one that renders in F3DLX2.Rej, with the aim to save performance when rendering smaller things.
2021-09-14 21:43:55 +01:00
Arceveti 423e42d697 Name a bunch of stuff 2021-09-13 19:57:26 -07:00
Arceveti a1b2080b26 Fix build & build warnings 2021-09-11 10:58:54 -07:00
Fazana f20e5a24b2 Light polish
Which sounds conceptually impossible, given what light is.
2021-09-09 10:59:50 +01:00
Fazana cc0d19592c tweak ☎️ 2021-09-08 20:34:24 +01:00
Fazana c663ad90ed Area node fix 2021-09-08 19:42:25 +01:00
Fazana 2a78404ef5 Puppylights 2021-09-07 12:13:40 +01:00
Arceveti 2d58bddd06 Add fix for obj_resolve_object_collisions 2021-09-05 12:18:00 -07:00
Mineqwerty e248621a55 Added area number define, fixed undefined init value 2021-09-05 11:35:35 -04:00
Mineqwerty 93f163fb56 Merge https://github.com/Reonu/HackerSM64 into skybox 2021-09-05 11:14:15 -04:00
Mineqwerty aa8c033e2b Clear pointers + misc recommended fixes 2021-09-05 11:00:11 -04:00
Mineqwerty 33fa7013b0 Added a level script function to easily set a skybox for each area
In your level script add the function
CHANGE_AREA_SKYBOX(Area ID, Skybox Segment Start, Skybox Segment End) .
2021-09-04 20:27:21 -04:00
Arceveti 4c655bfdc0 Automatically get optimal collision distance 2021-09-04 09:59:30 -07:00
Fazana 8bc9863abe Merge branch 'master' into puppycamera2 2021-08-26 19:45:48 +01:00
Fazana c9bf910abf Puppyprint debugging is now correctly ommitted if debugging is set to 0 2021-08-25 19:33:56 +01:00
Fazana 552ef45203 dammit unticked the wrong file 2021-08-25 19:02:45 +01:00
Fazana 5bb14224f7 Make World scale automatic 2021-08-25 19:01:54 +01:00
Fazana 435e8c74fa Puppycam raycasts moved to engine segment
Also no longer need puppycam enabled to use.
2021-08-24 13:53:04 +01:00
Fazana 710256e9f1 TLB clears fixed for real for real
man.
2021-08-23 18:38:43 +01:00
Fazana bc903a73fc Further TLB fix
Imagine testing 2 segments and having them work perfectly fine, and then you go for the third, and it somehow doesn't work, because clearly you can't trust a system that loads 3 things in a row to just map it to the first 3 :^)
So guess we have a mapping segment table now to track it.
2021-08-23 14:06:27 +01:00
Fazana bc1fac4b9e Farcall tweaks
You can now safely store code in global banks without the game murdering it. Also fixed some `memory.c` warnings
2021-08-23 12:10:03 +01:00