Commit graph

3072 commits

Author SHA1 Message Date
MysterD
ddd2f19ca1 Fix more memory errors 2023-05-18 01:57:36 -07:00
MysterD
87f076cd26 Fix sync of models on late join 2023-05-17 23:32:39 -07:00
MysterD
f53ffcd491 Keep the previous dynamic pool in memory
Due to sm64 weirdness, I can't reliably free memory at certain points
The hacky solution is to keep the previous dynamic pool in memory,
essentially requiring two frees to actually clear all memory from it
2023-05-17 22:33:14 -07:00
MysterD
c126bf82b3 Prevent immediate freeing of dynos model pools 2023-05-17 22:22:05 -07:00
MysterD
136ac0d84c Fix crash in packet_spawn_star 2023-05-17 17:48:54 -07:00
MysterD
0a224396ef Make pageup/pagedown in the chat box better 2023-05-17 12:12:29 -07:00
MysterD
4c0a226536 Fix improper culling of mirrored player models 2023-05-17 12:00:22 -07:00
MysterD
5d98a20e76 Fixed custom animations in the mirror 2023-05-17 11:59:40 -07:00
MysterD
93020c04e5 Prevent broken mods from messing up the sync table of others 2023-05-17 00:01:09 -07:00
MysterD
2dde74b4b6 Fix warnings 2023-05-16 22:17:43 -07:00
MysterD
75d4afa3c8 Reset dev scripts 2023-05-16 22:14:25 -07:00
MysterD
18a969dc27 Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev 2023-05-16 21:49:22 -07:00
MysterD
18bf5847a2 Prevent rending of corrupted graphnodes, only run lua GC once per frame 2023-05-16 21:49:13 -07:00
Agent X
d736f4896a
Small Nametags edit (#394)
Just made command description use a hex color.
2023-05-16 18:27:04 -04:00
MysterD
ab585db973 Prevent lua mods from saving over your camera settings 2023-05-16 02:03:49 -07:00
MysterD
00e64fbf6c Add backwards compatibility for cur_obj_is_mario_ground_pounding_platform() 2023-05-16 00:37:30 -07:00
MysterD
fa88a5aee0 Make certain GraphNodeObject fields mutable again 2023-05-16 00:05:26 -07:00
MysterD
688cd3b399 Rewrite how models are loaded and retrieved... yet again 2023-05-16 00:01:10 -07:00
MysterD
60d70d0d38 Fix several more possible crashes from the Lua API 2023-05-15 15:55:16 -07:00
MysterD
ed163203d8 Make gEnvironmentRegions safer 2023-05-15 12:04:07 -07:00
MysterD
ef9f323b9c Schedule level pool to be freed at a later time 2023-05-15 12:03:57 -07:00
MysterD
2eb2b8c18f Make GraphNode flags mutable from lua again 2023-05-15 01:19:10 -07:00
MysterD
2083242b66 Fixed several crashes and errors found in static analysis 2023-05-15 01:15:20 -07:00
PeachyPeach
fc60571b2e
Custom animation examples (#392) 2023-05-14 19:16:03 -07:00
Agent X
55dc1b6403
Reset paintings on network shutdown (#393) 2023-05-14 19:15:25 -07:00
MysterD
05592d524b Add wide character support to language file handling 2023-05-14 18:33:14 -07:00
MysterD
9a99ee492e Fix crash in retrieve_animation_index() 2023-05-14 12:30:55 -07:00
MysterD
c159fabeb7 Fix crash in execute_mario_action() 2023-05-14 12:28:31 -07:00
MysterD
5598ac95e7 Merge branch 'dev' of github.com:sm64ex-coop-dev/sm64ex-coop into dev 2023-05-14 12:12:30 -07:00
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