Commit Graph

33 Commits

Author SHA1 Message Date
headshot2017 e7b3421fef libsm64.h must be portable 2023-02-01 22:29:02 -04:00
headshot2017 349a3eb702 allow setting poison gas level
also commented out some find_water_level calls
2023-01-26 22:25:21 -04:00
headshot2017 bd2b13871d add loads of features from ckosmic fork
* set action
* set action with arg
* set animation ID (added an include in libsm64.h)
* set anim frame
* set state (to instantly change caps for example)
* set position
* set angle and faceangle
* set velocity and forward velocity
* set water level
* take damage
* heal mario
* kill mario instantly
* give mario a cap and play animation
* attack
2023-01-26 21:58:16 -04:00
headshot2017 45c8eb1490 add libsm64 functions to play sound/music
from ckosmic's fork.
also libsm64.h will now include audio_defines.h and seq_ids.h for easy access to sound and music IDs
2023-01-26 20:00:02 -04:00
MeltyPlayer 4342ccbe29 Merge branch 'libsm64:master' into audio 2022-12-06 16:45:29 -06:00
MeltyPlayer 553c2635ed Merge branch 'master' into master 2022-11-22 00:36:14 -06:00
MeltyPlayer 0475d7facf Removed dependencies on other files so that libsm64.h can be used on its own. 2022-11-22 00:29:09 -06:00
jaburns a2fbf60afe Dont depend on project-local header inside libsm64.h 2022-11-08 16:43:16 -07:00
MeltyPlayer ff41ecfceb Exposed libsm64's raycasting/collision logic via its API. 2022-11-07 19:40:46 -06:00
MeltyPlayer 3a4115e8f6 Pushed the final changes that got audio working! 2022-11-06 20:22:00 -06:00
MeltyPlayer 13fab60dd8 Introduced the ability to parse audio tables from the ROM! 2022-10-24 02:05:59 -05:00
MeltyPlayer 37c8ce046c Loaded and returned audio banks. Let's see if this actually works, though... 2022-10-21 01:04:56 -05:00
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 6503fb6e91 Fix mario id type mismatch 2021-07-22 21:13: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 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 71e918a01e Move matrix utils in to decomp dir 2020-10-27 11:47:49 -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 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 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 178bbf5359 Loading animation data from the rom instead of decomp, partial impl 2020-10-10 10:36:41 -06:00
jaburns 107a12030a Initial commit with hacked up sm64 decomp source 2020-10-08 15:59:06 -06:00