Commit graph

148 commits

Author SHA1 Message Date
Renato Rotenberg
3a22ea0761 Update README with Windows test build instructions 2023-02-06 20:49:21 -03:00
jaburns
c3eadb01b1 Add Godot add-on in readme 2023-02-06 09:16:36 -07:00
jaburns
83f68c8449 Add CC0 1.0 license to project 2023-02-06 09:14:50 -07:00
Jeremy Burns
4a5a984fcd
Merge pull request #29 from headshot2017/master
add functions to play sound/music and more
2023-02-06 09:10:54 -07: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
535a89bea1 marioId is an int32 2023-01-26 22:25:55 -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
71c8910047 update readme 2023-01-26 20:03:48 -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
Jeremy Burns
9ae96c42f0
Merge pull request #26 from headshot2017/master
audio implementation on test program + many other improvements
2023-01-26 09:19:56 -07:00
headshot2017
43db1fb637 make GL 2.0 and 800x600 default
OpenGL 3.3 Core is available as a define: -DGL33_CORE
2023-01-25 23:18:41 -04:00
headshot2017
7b8563f6ce add world texture to GL2.0 renderer 2023-01-25 23:15:22 -04:00
headshot2017
c1031ad6c6 don't stretch viewport when resizing 2023-01-24 00:44:04 -04:00
headshot2017
405de6a367 change lastTicks start value 2023-01-23 22:56:47 -04:00
headshot2017
b758c9a037 fix deltatime calculation 2023-01-23 21:11:16 -04:00
headshot2017
b79601bb8e move SetSwapInterval call down 2023-01-23 20:59:10 -04:00
headshot2017
8eace1b904 cleanup tabs -> spaces 2023-01-12 16:55:27 -04:00
headshot2017
40215dacc1 use SDL_GameControllerButton enum instead of int casts 2023-01-12 16:52:10 -04:00
headshot2017
6e5accb909 turn audio.c and main.c into CPP files
fixes crash when trying to init audio on linux
2023-01-12 13:44:50 -04:00
headshot2017
ef13bae2fc don't init audio in context.c 2023-01-12 13:44:46 -04:00
headshot2017
986ce5f106 main.c lots of changes 2022-12-27 21:35:57 -04:00
headshot2017
c305f282de context_init args for GL ver and init SDL audio 2022-12-27 21:35:28 -04:00
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