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
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
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
kafeijao
d42bb76023
Prevent SURFACE_HANGABLE crash (from ckosmic branch)
2023-03-05 13:47:07 +00:00
kafeijao
7e6606b34d
Fixed inverted controls when airborne
2023-03-02 18:50:01 +00:00
Renato Rotenerg
b30b5ee069
Restore cap music behaviour
2023-02-20 20:26:43 -03: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
349a3eb702
allow setting poison gas level
...
also commented out some find_water_level calls
2023-01-26 22:25:21 -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
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
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
0475d7facf
Removed dependencies on other files so that libsm64.h can be used on its own.
2022-11-22 00:29:09 -06:00
MeltyPlayer
3a4115e8f6
Pushed the final changes that got audio working!
2022-11-06 20:22:00 -06:00
MeltyPlayer
fed6deebc3
Removed print statements that were accidentally kept in convUtils.
2022-10-26 16:21:50 -05:00
MeltyPlayer
0bfd2b9ed2
Deleted unused compat file.
2022-10-24 03:02:31 -05:00
MeltyPlayer
bbf8827011
Deleted input/alloc logic that isn't actually used.
2022-10-24 02:58:53 -05:00
MeltyPlayer
ecb5924682
Deleted unused pc/gfx and audio directories.
2022-10-24 02:52:10 -05: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
7df97a3333
Included more files from the decomp.
2022-10-21 00:27:03 -05:00
MeltyPlayer
43cc7c9700
Pulled in the audio code from @ckosmic's fork, which is from the decomp project.
2022-10-21 00:15:13 -05:00
MeltyPlayer
fda9452421
Fixed how DLs are rendered past the bounds of short values.
2022-10-20 00:54:05 -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
478d28ed7d
Carried over a NPE fix from @ckosmic's fork.
2022-10-20 00:01:51 -05:00
MeltyPlayer
a179746889
Exposed registering a handler for playing sounds.
2022-10-19 23:46:13 -05:00
MeltyPlayer
ede1c4db2c
Seem to have fixed 32-bit mode!
2022-10-18 19:18:35 -05:00
jaburns
c818f9cf51
#6 : Fixed empty interaction handlers
2021-10-11 21:46:51 -06:00
jaburns
e108c03608
Filter out surfaces with bad tris, use 32 bit ints for collision surfaces
2021-08-16 15:01:57 -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
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
0843c23fe9
Only update platforms on change
2020-10-28 23:00:11 -06:00
jaburns
9daf010774
Finished memory management of multiple marios
2020-10-28 13:51:03 -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
c74ab070e6
Freeing display list allocations
2020-10-27 13:26:58 -06:00