Commit Graph

209 Commits

Author SHA1 Message Date
jaburns 04cabfe13b Dont leak memory when calling load surfaces multiple times 2021-07-19 17:49:14 -06:00
jaburns ab71363d75 Add message when about to segfault because no floor 2021-07-18 20:24:42 -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 5dfa2678c4 Refactor to make surface iteration easier to make safer 2020-10-29 16:25:10 -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 c3c004ce94 All global state coming from g_state now 2020-10-27 21:35:18 -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 0c67335112 Fix typo 2020-10-27 13:54:16 -06:00
jaburns 0496684610 Fix animation memory leak 2020-10-27 13:30:35 -06:00
jaburns c74ab070e6 Freeing display list allocations 2020-10-27 13:26:58 -06:00
jaburns 71e918a01e Move matrix utils in to decomp dir 2020-10-27 11:47:49 -06:00
jaburns e4edfb5be4 Fix bodystate action not updated 2020-10-27 11:27:37 -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 fac3ef5f8b Fix segfault with static surfaces 2020-10-25 16:43:38 -06:00
jaburns 5f59e1a178 Added support for building on Windows 2020-10-25 01:36:47 -06:00
jaburns 80d96f0241 New interface note 2020-10-20 13:29:43 -06:00
jaburns c7582d040f Enum for public facing constant values 2020-10-20 10:24:07 -06:00
jaburns e1e9ae024f Use specific commit for collision import 2020-10-19 23:05:07 -06:00
Jeremy Burns f605240c6f Update README.md 2020-10-19 23:01:14 -06:00
jaburns ddf359a7ff Add ROM instructions 2020-10-19 22:59:49 -06:00
jaburns f6aec6d58e Clean up makefile so build lib doesnt build test 2020-10-19 22:58:32 -06:00
jaburns 16af13ea8b Remove test binary 2020-10-19 22:21:12 -06:00
jaburns d3a2cbd2b2 Include C test program in repo 2020-10-19 22:17:32 -06:00
jaburns 82126eca3c Makefile reimports when import script changes 2020-10-19 17:17:28 -06:00
jaburns baec38c80e Clean up python script 2020-10-19 13:03:51 -06:00
jaburns 06bc6e7503 Removed hacky bash script, replaced with proper makefile 2020-10-19 12:59:50 -06:00
jaburns 734a4b86f5 Fix missing ref to absf 2020-10-18 16:58:18 -06:00
jaburns f889fa0522 Add missing functions 2020-10-18 16:56:35 -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 43c99a9721 Fix re-alloc surface 2020-10-17 12:46:38 -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 485331408a Add missing include in loaded model file 2020-10-12 21:34:46 -06:00
jaburns 874202c9af Rename const 2020-10-12 18:05:04 -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 75b12d47f1 Building so and copying h to /dist dir 2020-10-10 13:36:49 -06:00