NepuShiro
40bee0f224
:(
Build libsm64 / Build libsm64 for linux (push) Successful in 34s
Build libsm64 / Build libsm64 for web (push) Successful in 32s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s
2026-05-31 21:57:50 -05:00
NepuShiro
ede2099ff5
Implement FakeObjects (Just poles for now)
Build libsm64 / Build libsm64 for linux (push) Successful in 33s
Build libsm64 / Build libsm64 for web (push) Successful in 30s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
2026-05-31 16:55:19 -05:00
NepuShiro
d6bafb4403
Implement play/stop cap and shell music
Build libsm64 / Build libsm64 for linux (push) Failing after 29s
Build libsm64 / Build libsm64 for web (push) Successful in 33s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s
2026-05-27 19:00:04 -05:00
NepuShiro
a499b4f032
Implement Rumble
Build libsm64 / Build libsm64 for linux (push) Successful in 31s
Build libsm64 / Build libsm64 for web (push) Successful in 32s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s
2026-05-25 12:34:52 -05:00
NepuShiro
bd3dd8f523
Add SurfaceFlags, and more formatting :)
Build libsm64 / Build libsm64 for linux (push) Successful in 32s
Build libsm64 / Build libsm64 for web (push) Successful in 39s
Build libsm64 / Build libsm64 for windows (push) Successful in 25s
2026-05-24 18:03:08 -05:00
NepuShiro
d3ea4e5e99
Reformat to something more readable for me :3
Build libsm64 / Build libsm64 for linux (push) Successful in 30s
Build libsm64 / Build libsm64 for web (push) Successful in 30s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
2026-05-24 12:13:35 -05:00
NepuShiro
4328104536
Make Surfaces Float
Build libsm64 / Build libsm64 for linux (push) Successful in 29s
Build libsm64 / Build libsm64 for web (push) Successful in 31s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s
2026-05-23 15:08:00 -05:00
NepuShiro
aa092bebfe
fixes somethigns
Build libsm64 / Build libsm64 for linux (push) Successful in 38s
Build libsm64 / Build libsm64 for web (push) Successful in 32s
Build libsm64 / Build libsm64 for windows (push) Successful in 24s
2026-05-23 11:20:57 -05:00
Nepu
fd11813208
Fix assignment of animFrame in outState ( #75 )
Build libsm64 / Build libsm64 for linux (push) Failing after 1m16s
Build libsm64 / Build libsm64 for web (push) Failing after 34s
Build libsm64 / Build libsm64 for windows (push) Failing after 4s
Build libsm64 / Build libsm64 for macos (push) Has been cancelled
2026-02-13 09:22:57 -03:00
MeltyPlayer
685da11088
Exposed forwardVelocity, animID, and animFrame in outState.
2025-09-16 00:15:36 -05:00
Renato Rotenberg
ce196c823d
Remove atan2f() function definition.
...
`atan2f()` is not used anywhere and collides with `math.h`'s definition of the function, better to remove it entirely. It was causing problems in WebAssembly builds, taking precedence when linking with other codebases that tried to use `atan2f()` from `math.h`.
2025-01-29 23:49:26 -03:00
Renato Rotenberg
c1b11da985
Only expose public functions in GNU compiler builds if SM64_LIB_EXPORT is defined.
...
This is useful for WebAssembly builds, since `libsm64` is built as a static library and the final linked `.wasm` file might not want to expose the `libsm64` functions.
2025-01-28 22:57:13 -03:00
unkn0wncvm1
5f05dbdc5a
fix gSoundDataRaw ( #66 )
...
Co-authored-by: haxz5rxwi <haxz5rxwi@mozmail.com >
2024-12-17 08:32:40 -03:00
Omar Rizwan
fd247e625a
Fix casts so emmake make CC=emcc works!
2024-06-18 18:42:25 -04:00
Omar Rizwan
6e1c2cfedc
Fixup some includes for macOS
2024-06-18 18:31:32 -04:00
Renato Rotenberg
f71a100c8d
Restore Vanish Cap wall collision logic
2024-04-01 19:13:18 -03:00
Jeremy Burns
5206fd298f
Merge pull request #42 from kafeijao/prevent-hangable-crash
...
Prevent SURFACE_HANGABLE crashes
2023-03-06 19:27:08 -07:00
kafeijao
d42bb76023
Prevent SURFACE_HANGABLE crash (from ckosmic branch)
2023-03-05 13:47:07 +00:00
Renato Rotenberg
74b8dc231f
Only export lib functions in linux builds
2023-03-04 20:19:48 -03:00
kafeijao
7e6606b34d
Fixed inverted controls when airborne
2023-03-02 18:50:01 +00:00
Jeremy Burns
14b5d501f1
Merge pull request #38 from Brawmario/feature/more-mario-funcs
...
Add some more mario functions
2023-02-21 09:07:34 -07:00
Renato Rotenerg
d55daf4319
Add some more mario functions
...
sm64_set_mario_invincibility
sm64_set_mario_health
sm64_mario_extend_cap
2023-02-20 21:53:30 -03:00
Renato Rotenerg
b30b5ee069
Restore cap music behaviour
2023-02-20 20:26:43 -03:00
Jeremy Burns
cf01dcddfb
Merge pull request #36 from Brawmario/feature/cpp-include
...
Add infamous `#ifdef __cplusplus` idiom
2023-02-08 16:31:47 -07:00
Jeremy Burns
bf22fba227
Merge branch 'master' into feature/make-rom-buffer-const
2023-02-08 16:24:42 -07:00
Renato Rotenberg
b873542526
Add infamous #ifdef __cplusplus idiom
2023-02-06 21:47:13 -03:00
Renato Rotenberg
766c80a468
Add g_ prefix to is_audio_initialized
2023-02-06 21:28:21 -03:00
Renato Rotenberg
6be7c3e34a
Make the received rom buffer const
2023-02-06 20:36:40 -03:00
Renato Rotenberg
a8daa21c23
Avoid crash in mario_delete if audio not init
2023-02-06 19:49:29 -03:00
headshot2017
6dfc5d1943
add function to set sound volume
2023-02-04 21:39:10 -04:00
headshot2017
80b710f482
increase cell_height and floor_lower limits
...
a change from ckosmic's fork that went past my radar
2023-02-03 19:25:11 -04:00
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
e9a3114084
fix snoring sfx not stopping on wake up
...
also stops the snoring sound when mario is deleted
2023-01-26 20:17:30 -04:00
headshot2017
f4b6232496
fix mario slow climb sound
2023-01-26 20:06:01 -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
headshot2017
4a40f66981
set cameraToObject to 0
...
it'll make both of your ears enjoy sounds rather than your right one only
2022-12-27 18:09:30 -04:00
headshot2017
2f361951b5
use real gAudioRandom for random jump sound, etc.
2022-12-27 18:08:26 -04:00
MeltyPlayer
de21ba18fa
Included <stdint.h> so that uintptr_t is provided for the GitHub action.
2022-12-06 18:42:22 -06:00
MeltyPlayer
1f657175a3
Included a required library for using booleans, whoops.
2022-12-06 17:40:41 -06:00
MeltyPlayer
85422d9d59
Verified that audio has been initialized before playing sounds or ticking audio.
2022-12-06 17:38:17 -06:00
MeltyPlayer
a81188b4ff
Removed DEBUG_PRINT statements from alBnkfNew.
2022-12-06 17:27:14 -06:00
MeltyPlayer
5faeaff908
Removed some more DEBUG_PRINT statements and fixed padding.
2022-12-06 17:07:14 -06:00
MeltyPlayer
4b98663b59
Merge branch 'audio' of https://github.com/MeltyPlayer/libsm64-ext into audio
2022-12-06 16:55:47 -06:00
MeltyPlayer
3937c61765
Removed a ton of DEBUG_PRINT statements.
2022-12-06 16:55:39 -06: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