Commit Graph

121 Commits

Author SHA1 Message Date
headshot2017 6e8aa3dd91 add gl renderers and audio sources to makefile
also suppress unused function warning (cglm.h) and allow using 'make run' on windows
2022-12-27 21:34:01 -04:00
headshot2017 d013f61f88 get rid of implicit declaration warning 2022-12-27 21:32:15 -04:00
headshot2017 815d5382f2 add OpenGL 2.0 and 3.3 Core renderers 2022-12-27 21:30:12 -04:00
headshot2017 6433511a65 add test/audio.c and test/audio.h 2022-12-27 21:29:50 -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
headshot2017 fab76290bc modify makefile to detect windows or linux 2022-12-27 18:07:46 -04:00
Jeremy Burns 9f3b7bebd3 Merge pull request #25 from MeltyPlayer/audio
Exposed audio playback functionality by adding decomp logic into libsm64.
2022-12-21 10:10:11 -07: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
Jeremy Burns 63cb9ab2c1 Merge pull request #20 from MeltyPlayer/master
Exposed libsm64's raycasting/collision logic via its API.
2022-12-06 10:10:38 -07: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
Jeremy Burns 40fdc86525 Merge pull request #21 from zalo/master
[FEAT] Add Github Actions Building
2022-11-21 10:47:32 -07:00
Johnathon Selstad 8a838502b9 Also have builds trigger in pull requests 2022-11-16 14:02:53 -08:00
Johnathon Selstad 79c80f95d7 Add the README to the Uploaded Binaries 2022-11-16 13:53:31 -08:00
Johnathon Selstad 4cb4ec4276 Build test program; upload binaries 2022-11-16 13:44:15 -08:00
Johnathon Selstad c70f20b6a9 Test building in Github Actions 2022-11-16 13:38:17 -08: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 7bd0cc9a2c Enabled NO_SEGMENTED_MEMORY flag in order to fix bug when converting virtual to physical memory addresses. 2022-10-27 22:37:33 -05:00
MeltyPlayer fed6deebc3 Removed print statements that were accidentally kept in convUtils. 2022-10-26 16:21:50 -05:00
MeltyPlayer 2e2701688d Merge branch 'audio' of https://github.com/MeltyPlayer/libsm64-ext into audio 2022-10-24 03:02:39 -05:00
MeltyPlayer 0bfd2b9ed2 Deleted unused compat file. 2022-10-24 03:02:31 -05:00
MeltyPlayer 979de74e91 Merge branch 'libsm64:master' into audio 2022-10-24 03:00:05 -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
jaburns 1380e17066 Fix test prog 2022-10-23 14:14:54 -06:00
Jeremy Burns d3119c50aa Merge pull request #19 from MeltyPlayer/master
Merged in some minor bug fixes, enhancements, and API changes.
2022-10-23 14:13:24 -06: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 2e2b6de15d Switched needless "DL_INT_SIZE" define to intptr_t. 2022-10-20 12:53:32 -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 babdc896b5 Pulled out debug print function registering into a separate method from init. 2022-10-19 21:10:25 -05:00
MeltyPlayer ede1c4db2c Seem to have fixed 32-bit mode! 2022-10-18 19:18:35 -05:00
MeltyPlayer c4b7dce9f7 Stopped deleting the Mario files and test level in clean, since it was taking forever to rebuild as a result. 2022-10-17 20:13:26 -05:00
Jeremy Burns 25744dda72 Explain public API (#14) 2022-05-20 10:40:00 -06:00
jaburns 1dfcce07bb Fix musl build not actually statically linking musl 2022-04-15 13:41:32 -06:00