Commit graph

3043 commits

Author SHA1 Message Date
MysterD
27cb975929 Enable asan on dev scripts 2023-05-14 12:11:53 -07:00
MysterD
064a60526a Redo how surface memory is handled 2023-05-14 12:04:08 -07:00
MysterD
94aa0796d9 Fix more possible crashes in object_helpers.c 2023-05-14 10:13:32 -07:00
MysterD
c3b82a811a Re-enable mirror rendering 2023-05-13 03:39:53 -07:00
MysterD
12e533c2a9 Fix bug where secret stars stopped being counted 2023-05-13 03:29:24 -07:00
MysterD
8129ab7665 Prevent crashes and hangs 2023-05-13 03:07:20 -07:00
MysterD
093754ae1b Fix some memory mismanagement 2023-05-13 02:42:35 -07:00
MysterD
d74a67ee10 Cleanup memory/memory_dynamic files 2023-05-13 02:01:46 -07:00
MysterD
bbdf51bc33 Remove the main pool 2023-05-13 01:49:54 -07:00
MysterD
6798b2db29 Make anim dma table dynamic 2023-05-13 01:44:40 -07:00
MysterD
c45e76c870 Switch all mempools to dynamic memory 2023-05-12 22:10:27 -07:00
MysterD
4aa4386319 Make envfx use dynamic memory 2023-05-12 21:30:16 -07:00
MysterD
1e67809cd8 Convert display lists to dynamic memory 2023-05-12 20:39:42 -07:00
MysterD
57b06e3e09 Rename AllocOnlyPool to DynamicPool, add GrowingPool 2023-05-12 18:53:25 -07:00
MysterD
2341a0be78 Make surfaces use dynamic memory 2023-05-12 17:16:03 -07:00
MysterD
bc73468e64 Load all models into dynamic memory, and store them in a way for reuse 2023-05-12 16:15:35 -07:00
MysterD
e391faf574 WIP: start making memory management better 2023-05-12 13:19:10 -07:00
MysterD
3478db9655 Fix more possible crashes 2023-05-12 12:31:11 -07:00
MysterD
cc1ec3e81f Prevented hundreds of additional crashes from the Mod API 2023-05-11 20:33:21 -07:00
Isaac0-dev
fad7984cd4
add djui_open_pause_menu() (#391) 2023-05-11 06:10:25 -04:00
MysterD
82945f9c0f Fix some problems found in static analysis 2023-05-11 02:17:10 -07:00
MysterD
039be71266 Prevent even more possible crashes from the mod api 2023-05-11 01:46:27 -07:00
MysterD
f785050ccb Fix more possible crashes 2023-05-11 00:19:01 -07:00
MysterD
af01a214ee Fix autogen for AnimationTable 2023-05-10 22:29:39 -07:00
MysterD
8ed8fc31d2 Fix another ~200+ crashes that could happen from mods 2023-05-10 21:28:13 -07:00
MysterD
d30b1e61a6 Add a container to animation tables so that we can track their length and stay in bounds 2023-05-10 20:57:35 -07:00
MysterD
e666719baf Rename func_80321080 -> stop_secondary_music 2023-05-10 15:39:15 -07:00
MysterD
b22230db5d Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev 2023-05-10 15:21:00 -07:00
Prince Frizzy
d368e4e844
Name more audio code and variables, Document some others. (#386) 2023-05-10 14:31:58 -07:00
PeachyPeach
52e4bac21a
fixed disable acts (#390) 2023-05-10 17:07:29 -04:00
MysterD
b863cc80c8 Prevent several possible crashes and hangs, limit more struct fields to read-only 2023-05-10 13:25:41 -07:00
Agent X
89fa4fbe5b
Nametags update (#385)
* Slight Nametags update

Made Nametags not render if behind camera

* Optimizations and commands rework

* Update nametags.lua
2023-05-10 15:42:43 -04:00
PeachyPeach
3ab4c944ac
better kick/punch/trip, gp and flying detection (#388) 2023-05-09 15:38:29 -04:00
MysterD
cb499491f4 Fix crash in network_receive_lua_sync_table 2023-05-07 22:46:00 -07:00
MysterD
34db74660c Fixed crash in cutscene_bowser_arena_end() 2023-05-07 16:02:46 -07:00
MysterD
ae76ad7c00 Fixed crash in uv_update_scroll() 2023-05-07 16:01:41 -07:00
MysterD
8f938e25ca Fixed crash in import_texture_*() 2023-05-07 16:00:52 -07:00
MysterD
0aac200258 Fixed crash in packet_ordered_check_for_processing 2023-05-07 15:56:56 -07:00
MysterD
03a7c1f086 Fix crashes in various obj functions 2023-05-07 15:55:11 -07:00
MysterD
d52ee8588d Fixed crash in DynOS_UpdateCmd 2023-05-07 15:49:26 -07:00
MysterD
5c2474814b Fix crash in DynOS_Actor_AddCustom 2023-05-07 15:48:19 -07:00
MysterD
f3e1392a51 Possible config corruption fix 2023-05-07 13:22:08 -07:00
MysterD
8eefbccc81 Make djui_hud_get_screen_width() more readable 2023-05-06 00:16:37 -07:00
Agent X
9901c89a33
Fixed forced 4:3 (#384)
Just reverting a 'fix' to my code someone else made.
2023-05-06 00:13:54 -07:00
MysterD
1ee3fd1d13 Fixed ~240 possible crashes 2023-05-05 23:59:58 -07:00
MysterD
f06a422ff9 Add hack to disable 2cycle if using a texture that doesn't exist 2023-05-05 01:47:42 -07:00
MysterD
352f72a1ac Remove tile checks from gfx_pc 2023-05-04 14:55:18 -07:00
Agent X
febba0e109
Remove printf from gfx_pc.c (#383)
I don't think this is needed anymore
2023-05-04 14:53:05 -07:00
Isaac0-dev
657feb5d7b
fix some crashes and bugs (#381)
- fix crash in bhv_lll_bowser_puzzle_piece_update (thanks to djoslin)
- fix crash in platform_on_track_act_init
- fix chat commands not working on dev builds
- log when the crash handler is called
- if a custom level tries to set an invalid background, change it to BACKGROUND_OCEAN_SKY
2023-05-04 13:26:50 -07:00
MysterD
5a19d84423 Allowed user to override forced camera centering when sliding/flying 2023-05-04 12:55:59 -07:00