NepuShiro
8daff2b6a2
I tried with pole
Build libsm64 / Build libsm64 for linux (push) Successful in 31s
Build libsm64 / Build libsm64 for windows (push) Successful in 23s
Build libsm64 / Snapshot Release (push) Has been cancelled
Build libsm64 / Build libsm64 for windows (pull_request) Has been cancelled
Build libsm64 / Snapshot Release (pull_request) Has been cancelled
Build libsm64 / Build libsm64 for linux (pull_request) Has been cancelled
2026-06-01 23:29:58 -05:00
NepuShiro
42132a5646
test synced pole
Build libsm64 / Build libsm64 for linux (push) Successful in 33s
Build libsm64 / Build libsm64 for web (push) Successful in 33s
Build libsm64 / Build libsm64 for windows (push) Successful in 25s
2026-06-01 14:54:23 -05:00
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
MeltyPlayer
685da11088
Exposed forwardVelocity, animID, and animFrame in outState.
2025-09-16 00:15:36 -05: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
Renato Rotenberg
74b8dc231f
Only export lib functions in linux builds
2023-03-04 20:19:48 -03: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
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
Renato Rotenberg
b873542526
Add infamous #ifdef __cplusplus idiom
2023-02-06 21:47:13 -03:00
Renato Rotenberg
6be7c3e34a
Make the received rom buffer const
2023-02-06 20:36:40 -03:00
headshot2017
6dfc5d1943
add function to set sound volume
2023-02-04 21:39:10 -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
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