Commit Graph

  • d013f61f88 get rid of implicit declaration warning headshot2017 2022-12-27 21:32:15 -04:00
  • 815d5382f2 add OpenGL 2.0 and 3.3 Core renderers headshot2017 2022-12-27 21:30:12 -04:00
  • 6433511a65 add test/audio.c and test/audio.h headshot2017 2022-12-27 21:29:50 -04:00
  • 4a40f66981 set cameraToObject to 0 headshot2017 2022-12-27 18:09:30 -04:00
  • 2f361951b5 use real gAudioRandom for random jump sound, etc. headshot2017 2022-12-27 18:08:26 -04:00
  • fab76290bc modify makefile to detect windows or linux headshot2017 2022-12-27 18:07:46 -04:00
  • 9f3b7bebd3 Merge pull request #25 from MeltyPlayer/audio Jeremy Burns 2022-12-21 10:10:11 -07:00
  • de21ba18fa Included <stdint.h> so that uintptr_t is provided for the GitHub action. MeltyPlayer 2022-12-06 18:42:22 -06:00
  • 1f657175a3 Included a required library for using booleans, whoops. MeltyPlayer 2022-12-06 17:40:41 -06:00
  • 85422d9d59 Verified that audio has been initialized before playing sounds or ticking audio. MeltyPlayer 2022-12-06 17:38:17 -06:00
  • a81188b4ff Removed DEBUG_PRINT statements from alBnkfNew. MeltyPlayer 2022-12-06 17:27:14 -06:00
  • 5faeaff908 Removed some more DEBUG_PRINT statements and fixed padding. MeltyPlayer 2022-12-06 17:07:14 -06:00
  • 4b98663b59 Merge branch 'audio' of https://github.com/MeltyPlayer/libsm64-ext into audio MeltyPlayer 2022-12-06 16:55:47 -06:00
  • 3937c61765 Removed a ton of DEBUG_PRINT statements. MeltyPlayer 2022-12-06 16:55:39 -06:00
  • 4342ccbe29 Merge branch 'libsm64:master' into audio MeltyPlayer 2022-12-06 16:45:29 -06:00
  • 63cb9ab2c1 Merge pull request #20 from MeltyPlayer/master Jeremy Burns 2022-12-06 10:10:38 -07:00
  • 553c2635ed Merge branch 'master' into master MeltyPlayer 2022-11-22 00:36:14 -06:00
  • 0475d7facf Removed dependencies on other files so that libsm64.h can be used on its own. MeltyPlayer 2022-11-22 00:29:09 -06:00
  • 40fdc86525 Merge pull request #21 from zalo/master Jeremy Burns 2022-11-21 10:47:32 -07:00
  • 8a838502b9 Also have builds trigger in pull requests Johnathon Selstad 2022-11-16 14:02:53 -08:00
  • 79c80f95d7 Add the README to the Uploaded Binaries Johnathon Selstad 2022-11-16 13:53:31 -08:00
  • 4cb4ec4276 Build test program; upload binaries Johnathon Selstad 2022-11-16 13:44:15 -08:00
  • c70f20b6a9 Test building in Github Actions Johnathon Selstad 2022-11-16 13:38:17 -08:00
  • a2fbf60afe Dont depend on project-local header inside libsm64.h jaburns 2022-11-08 16:43:16 -07:00
  • ff41ecfceb Exposed libsm64's raycasting/collision logic via its API. MeltyPlayer 2022-11-07 19:40:46 -06:00
  • 3a4115e8f6 Pushed the final changes that got audio working! MeltyPlayer 2022-11-06 20:22:00 -06:00
  • 7bd0cc9a2c Enabled NO_SEGMENTED_MEMORY flag in order to fix bug when converting virtual to physical memory addresses. MeltyPlayer 2022-10-27 22:37:33 -05:00
  • fed6deebc3 Removed print statements that were accidentally kept in convUtils. MeltyPlayer 2022-10-26 16:21:50 -05:00
  • 2e2701688d Merge branch 'audio' of https://github.com/MeltyPlayer/libsm64-ext into audio MeltyPlayer 2022-10-24 03:02:39 -05:00
  • 0bfd2b9ed2 Deleted unused compat file. MeltyPlayer 2022-10-24 03:02:31 -05:00
  • 979de74e91 Merge branch 'libsm64:master' into audio MeltyPlayer 2022-10-24 03:00:05 -05:00
  • bbf8827011 Deleted input/alloc logic that isn't actually used. MeltyPlayer 2022-10-24 02:58:53 -05:00
  • ecb5924682 Deleted unused pc/gfx and audio directories. MeltyPlayer 2022-10-24 02:52:10 -05:00
  • 13fab60dd8 Introduced the ability to parse audio tables from the ROM! MeltyPlayer 2022-10-24 02:05:59 -05:00
  • 1380e17066 Fix test prog jaburns 2022-10-23 14:14:54 -06:00
  • d3119c50aa Merge pull request #19 from MeltyPlayer/master Jeremy Burns 2022-10-23 14:13:24 -06:00
  • 37c8ce046c Loaded and returned audio banks. Let's see if this actually works, though... MeltyPlayer 2022-10-21 01:04:56 -05:00
  • 7df97a3333 Included more files from the decomp. MeltyPlayer 2022-10-21 00:27:03 -05:00
  • 43cc7c9700 Pulled in the audio code from @ckosmic's fork, which is from the decomp project. MeltyPlayer 2022-10-21 00:15:13 -05:00
  • 2e2b6de15d Switched needless "DL_INT_SIZE" define to intptr_t. MeltyPlayer 2022-10-20 12:53:32 -05:00
  • fda9452421 Fixed how DLs are rendered past the bounds of short values. MeltyPlayer 2022-10-20 00:54:05 -05:00
  • c035455ff7 Copied a fix that extends the region Mario can explore beyond shorts from @ckosmic's fork. MeltyPlayer 2022-10-20 00:18:43 -05:00
  • 478d28ed7d Carried over a NPE fix from @ckosmic's fork. MeltyPlayer 2022-10-20 00:01:51 -05:00
  • a179746889 Exposed registering a handler for playing sounds. MeltyPlayer 2022-10-19 23:46:13 -05:00
  • babdc896b5 Pulled out debug print function registering into a separate method from init. MeltyPlayer 2022-10-19 21:10:25 -05:00
  • ede1c4db2c Seem to have fixed 32-bit mode! MeltyPlayer 2022-10-18 19:18:35 -05:00
  • c4b7dce9f7 Stopped deleting the Mario files and test level in clean, since it was taking forever to rebuild as a result. MeltyPlayer 2022-10-17 20:13:26 -05:00
  • 25744dda72 Explain public API (#14) Jeremy Burns 2022-05-20 10:40:00 -06:00
  • 1dfcce07bb Fix musl build not actually statically linking musl jaburns 2022-04-15 13:41:32 -06:00
  • 15986c636f Fix #11 - s_mario_geo_pool free when null jaburns 2022-04-15 13:34:25 -06:00
  • fad2570b98 Add flag to link musl instead of glibc jaburns 2022-04-15 13:28:23 -06:00
  • 82e53bef23 #3 - Fix null ptr deref when deleting platform while Mario pool is sparse jaburns 2021-10-15 23:54:27 -06:00
  • c818f9cf51 #6 : Fixed empty interaction handlers jaburns 2021-10-11 21:46:51 -06:00
  • e108c03608 Filter out surfaces with bad tris, use 32 bit ints for collision surfaces jaburns 2021-08-16 15:01:57 -06:00
  • 54f979df93 Print to stdout if no debug print fn provided jaburns 2021-08-16 14:55:25 -06:00
  • a167b38ba2 Properly clean up Marios on global terminate jaburns 2021-07-28 16:11:21 -06:00
  • 0fde7c26d3 Update README, add rust bindings and plugin links jaburns 2021-07-26 17:23:44 -06:00
  • be84cd333a Return -1 instead of crashing if no floor under mario on create jaburns 2021-07-22 21:25:02 -06:00
  • 8144865975 More fix jaburns 2021-07-22 21:15:51 -06:00
  • 6503fb6e91 Fix mario id type mismatch jaburns 2021-07-22 21:13:51 -06:00
  • ae34481fb9 Consistent types for mario ids jaburns 2021-07-19 17:52:49 -06:00
  • 04cabfe13b Dont leak memory when calling load surfaces multiple times jaburns 2021-07-19 17:49:14 -06:00
  • ab71363d75 Add message when about to segfault because no floor jaburns 2021-07-18 20:24:42 -06:00
  • fa3d9e77db Fix all warnings jaburns 2020-10-30 12:11:26 -06:00
  • 144df0df98 Clean up moving platform allocation jaburns 2020-10-29 17:47:47 -06:00
  • 5dfa2678c4 Refactor to make surface iteration easier to make safer jaburns 2020-10-29 16:25:10 -06:00
  • 3d7bac44df Fix dynamic surface update order jaburns 2020-10-28 23:07:43 -06:00
  • 0843c23fe9 Only update platforms on change jaburns 2020-10-28 23:00:11 -06:00
  • 07c6b80df9 Note jaburns 2020-10-28 14:09:21 -06:00
  • 4d16267416 Prevent double free on mario state jaburns 2020-10-28 14:08:22 -06:00
  • 9daf010774 Finished memory management of multiple marios jaburns 2020-10-28 13:51:03 -06:00
  • 59ba053a70 Update api to support multiple marios jaburns 2020-10-27 22:01:58 -06:00
  • c3c004ce94 All global state coming from g_state now jaburns 2020-10-27 21:35:18 -06:00
  • d12a3e2568 Using floor-based terrain instead of area-based jaburns 2020-10-27 21:01:44 -06:00
  • 6563afc16d Free remaining global allocs jaburns 2020-10-27 15:51:04 -06:00
  • b921cb04bb Moved mario global state vars in to struct jaburns 2020-10-27 15:11:12 -06:00
  • 0c67335112 Fix typo jaburns 2020-10-27 13:54:16 -06:00
  • 0496684610 Fix animation memory leak jaburns 2020-10-27 13:30:35 -06:00
  • c74ab070e6 Freeing display list allocations jaburns 2020-10-27 13:26:58 -06:00
  • 71e918a01e Move matrix utils in to decomp dir jaburns 2020-10-27 11:47:49 -06:00
  • e4edfb5be4 Fix bodystate action not updated jaburns 2020-10-27 11:27:37 -06:00
  • fcb6b5b431 Massive refactor jaburns 2020-10-27 11:07:42 -06:00
  • 48ab192e17 Add stub surfaces_unload_object jaburns 2020-10-25 17:24:41 -06:00
  • fac3ef5f8b Fix segfault with static surfaces jaburns 2020-10-25 16:43:38 -06:00
  • 5f59e1a178 Added support for building on Windows jaburns 2020-10-25 01:36:47 -06:00
  • 80d96f0241 New interface note jaburns 2020-10-20 13:29:43 -06:00
  • c7582d040f Enum for public facing constant values jaburns 2020-10-20 10:24:07 -06:00
  • e1e9ae024f Use specific commit for collision import jaburns 2020-10-19 23:04:59 -06:00
  • f605240c6f Update README.md Jeremy Burns 2020-10-19 23:01:14 -06:00
  • ddf359a7ff Add ROM instructions jaburns 2020-10-19 22:59:49 -06:00
  • f6aec6d58e Clean up makefile so build lib doesnt build test jaburns 2020-10-19 22:58:32 -06:00
  • 16af13ea8b Remove test binary jaburns 2020-10-19 22:21:12 -06:00
  • d3a2cbd2b2 Include C test program in repo jaburns 2020-10-19 22:17:32 -06:00
  • 82126eca3c Makefile reimports when import script changes jaburns 2020-10-19 17:17:28 -06:00
  • baec38c80e Clean up python script jaburns 2020-10-19 13:03:51 -06:00
  • 06bc6e7503 Removed hacky bash script, replaced with proper makefile jaburns 2020-10-19 12:59:50 -06:00
  • 734a4b86f5 Fix missing ref to absf jaburns 2020-10-18 16:58:18 -06:00
  • f889fa0522 Add missing functions jaburns 2020-10-18 16:56:35 -06:00
  • d6869af30e Imported platform_displacement module jaburns 2020-10-18 16:53:33 -06:00
  • bec7b8399c Loading surface objects dynamically jaburns 2020-10-17 14:03:17 -06:00