Commit Graph

172 Commits

Author SHA1 Message Date
Renato Rotenberg c370f53597 Add parallel windows build 2024-01-19 22:22:53 -03:00
Jeremy Burns 9a98ffbb86 Merge pull request #47 from headshot2017/master
add Game Maker 8 bindings to readme
2023-09-25 16:33:26 -06:00
Headshotnoby 6bab0be2d2 README: Game Maker 8 bindings 2023-09-22 18:58:33 -04:00
Jeremy Burns 9726929fc6 Merge pull request #44 from Heath123/Heath123-patch-1
Add -fno-strict-aliasing
2023-08-12 13:11:02 -06:00
circuit10 8cad1ae39e Add -fno-strict-aliasing
By default libsm64 is compiled with no optimisation so this doesn't matter, but if people want optimisation this stops it from breaking
2023-08-12 01:22:23 +01: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
Jeremy Burns fa791f853e Merge pull request #41 from Brawmario/feature/visibility-hidden
Only export lib functions in linux builds
2023-03-06 19:26:56 -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
Jeremy Burns 4842cd3ed8 Merge pull request #40 from kafeijao/master
Fixed inverted controls when airborne
2023-03-02 19:48:26 -07: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
Jeremy Burns abc2d26b56 Merge pull request #37 from Brawmario/fix/restore-cap-music
Restore cap music behaviour
2023-02-21 09:07:07 -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 4583458108 Merge pull request #35 from Brawmario/feature/windows-test-build-instructions
Update README with Windows test build instructions
2023-02-08 16:26:48 -07:00
Jeremy Burns 2166201d1b Merge pull request #34 from Brawmario/feature/make-rom-buffer-const
Make the received rom buffer const
2023-02-08 16:24:52 -07:00
Jeremy Burns bf22fba227 Merge branch 'master' into feature/make-rom-buffer-const 2023-02-08 16:24:42 -07:00
Jeremy Burns 6278df0dd1 Merge pull request #33 from Brawmario/fix/terminate-without-audio
Avoid crash in mario_delete if audio not init
2023-02-08 16:23:25 -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 3a22ea0761 Update README with Windows test build instructions 2023-02-06 20:49: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
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