Commit Graph

39 Commits

Author SHA1 Message Date
MeltyPlayer c035455ff7 Copied a fix that extends the region Mario can explore beyond shorts from @ckosmic's fork. 2022-10-20 00:18:43 -05:00
MeltyPlayer a179746889 Exposed registering a handler for playing sounds. 2022-10-19 23:46:13 -05:00
MeltyPlayer babdc896b5 Pulled out debug print function registering into a separate method from init. 2022-10-19 21:10:25 -05:00
jaburns 15986c636f Fix #11 - s_mario_geo_pool free when null 2022-04-15 13:34:25 -06:00
jaburns 82e53bef23 #3 - Fix null ptr deref when deleting platform while Mario pool is sparse 2021-10-15 23:54:27 -06:00
jaburns a167b38ba2 Properly clean up Marios on global terminate 2021-07-28 16:11:21 -06:00
jaburns be84cd333a Return -1 instead of crashing if no floor under mario on create 2021-07-22 21:25:02 -06:00
jaburns 8144865975 More fix 2021-07-22 21:15:51 -06:00
jaburns ae34481fb9 Consistent types for mario ids 2021-07-19 17:52:49 -06:00
jaburns 04cabfe13b Dont leak memory when calling load surfaces multiple times 2021-07-19 17:49:14 -06:00
jaburns fa3d9e77db Fix all warnings 2020-10-30 12:11:26 -06:00
jaburns 144df0df98 Clean up moving platform allocation 2020-10-29 17:47:47 -06:00
jaburns 3d7bac44df Fix dynamic surface update order 2020-10-28 23:07:43 -06:00
jaburns 0843c23fe9 Only update platforms on change 2020-10-28 23:00:11 -06:00
jaburns 07c6b80df9 Note 2020-10-28 14:09:21 -06:00
jaburns 4d16267416 Prevent double free on mario state 2020-10-28 14:08:22 -06:00
jaburns 9daf010774 Finished memory management of multiple marios 2020-10-28 13:51:03 -06:00
jaburns 59ba053a70 Update api to support multiple marios 2020-10-27 22:01:58 -06:00
jaburns d12a3e2568 Using floor-based terrain instead of area-based 2020-10-27 21:01:44 -06:00
jaburns 6563afc16d Free remaining global allocs 2020-10-27 15:51:04 -06:00
jaburns b921cb04bb Moved mario global state vars in to struct 2020-10-27 15:11:12 -06:00
jaburns c74ab070e6 Freeing display list allocations 2020-10-27 13:26:58 -06:00
jaburns fcb6b5b431 Massive refactor 2020-10-27 11:07:42 -06:00
jaburns 48ab192e17 Add stub surfaces_unload_object 2020-10-25 17:24:41 -06:00
jaburns 5f59e1a178 Added support for building on Windows 2020-10-25 01:36:47 -06:00
jaburns 06bc6e7503 Removed hacky bash script, replaced with proper makefile 2020-10-19 12:59:50 -06:00
jaburns d6869af30e Imported platform_displacement module 2020-10-18 16:53:33 -06:00
jaburns bec7b8399c Loading surface objects dynamically 2020-10-17 14:03:17 -06:00
jaburns ee4e73977b Fixed link errors 2020-10-17 12:41:14 -06:00
jaburns 735d227928 Cleaned up surface loading 2020-10-17 12:31:21 -06:00
jaburns 3256cc50c1 Added api for dynamic surfaces 2020-10-14 10:36:26 -06:00
jaburns 0afcc627e0 Initial setup for moving platforms 2020-10-13 15:36:15 -06:00
jaburns 259ce62dea Fix mario swimming stick direction 2020-10-12 17:58:16 -06:00
jaburns 20791ebcea Better api to get texture data 2020-10-12 14:08:55 -06:00
jaburns 8f893d6c0b Loading and animating mario textures from rom 2020-10-12 00:32:36 -06:00
jaburns b7d546099d Animation data loaded from rom 2020-10-10 12:26:48 -06:00
jaburns 178bbf5359 Loading animation data from the rom instead of decomp, partial impl 2020-10-10 10:36:41 -06:00
jaburns 043d97dbd1 Pulling model and animation sources from sm64-port repo with script 2020-10-08 22:17:40 -06:00
jaburns 107a12030a Initial commit with hacked up sm64 decomp source 2020-10-08 15:59:06 -06:00