Commit graph

4583 commits

Author SHA1 Message Date
Isaac0-dev
8feea0111e deal with gCamera being exposed incorrectly 2025-03-28 14:33:40 +10:00
Isaac0-dev
ebcfd94c4c stop asking for authorisation in discord 2025-03-28 11:13:26 +10:00
Isaac0-dev
71f8ba51af fix text rendering with msaa off in some situations [build] 2025-03-28 09:54:50 +10:00
Isaac0-dev
d81512680b
duplicate every instance of a display list (#720)
Co-authored-by: PeachyPeachSM64 <72323920+PeachyPeachSM64@users.noreply.github.com>
2025-03-28 09:17:53 +10:00
Agent X
14692e549b Remove png assets from default mods 2025-03-27 18:41:52 -04:00
Agent X
b93d2eb5ff [build] Update built-in mods
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Cjes & VL's code looks kinda messy...
2025-03-27 17:58:48 -04:00
Agent X
02bd7917cb Fix lighting engine merge header mistake 2025-03-27 17:24:49 -04:00
Agent X
c0e547e2d1 [build] Increment version to 1.3 2025-03-27 17:13:14 -04:00
Agent X
05ef720028 Strip color codes from discord activity 2025-03-27 16:37:59 -04:00
Agent X
3e540790a3
Basic Vertex Point Lighting Engine (#716)
* CONCEPT: Basic vertex lighting engine

Set the geometry mode on your model to G_LIGHTING_ENGINE_EXT, spawn a `bhvAmbientLight`, spawn some `bhvPointLight`s, and then you got yourself a mighty interesting scene.

* Fixes

* How did I miss this

* Make light set home pos
2025-03-27 16:36:02 -04:00
Baconator2558
c26e968076
Allow wind to be ignored with HOOK_ALLOW_HAZARD_SURFACE (#721)
* Update constants.md

* Update constants.lua

* Update smlua_constants_autogen.c

* Update surface_terrains.h

* Update hooks.md

* Add files via upload
2025-03-27 14:48:36 -04:00
Isaac0-dev
c5bf411a2a add a scissor to nametags to clip during credits
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-27 17:09:04 +10:00
Isaac0-dev
f2b4f4aaad add herobrine
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
Co-Authored-By: Agent X <44549182+AgentXLP@users.noreply.github.com>
2025-03-26 14:21:02 +10:00
Isaac0-dev
26dd81d5cb Revert "duplicate every instance of a display list"
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
This reverts commit 4ebb8fe2cb.
2025-03-25 09:02:33 +10:00
Isaac0-dev
4ebb8fe2cb duplicate every instance of a display list
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
This is to fix writing to read only memory, which would a crash if a mod tries to modify a display list from vanilla sm64.
it also makes sure that modifications to display lists are unique to the display list it was applied to
2025-03-24 11:58:13 +10:00
Agent X
661ba3b5b0 Clarify network send function comments 2025-03-23 17:38:00 -04:00
Cooliokid956
efcfff210d
Miscellaneous additions (#711)
- Fixed script file path shortening for Windows in console errors (what I could at least, the one left unfixed is preprocessed and I can't mess with that)
- Adjusted audio sanity check messages to sound more natural
- 9 new functions added:

## `audio_stream_set_loop_points(audio, start, end)`
Sets an audio stream's loop points in samples, no longer requiring a hacky method to loop streams in mods

## `get_active_mod()`
Returns the mod currently being processed, can be used by mods with APIs to determine what they're being used by and react accordingly

## `get_area_update_counter()`
Returns `gAreaUpdateCounter`, can be used to determine various in-game statistics, as well as if the game is being updated

## Exposed several object pointers
`get_current_object()` to retrieve `gCurrentObject`
`get_dialog_object()` to retrieve `gContinueDialogFunctionObject`
`(get|set)_cutscene_focus()` to retrieve/assign `gCutsceneFocus`
`(get|set)_secondary_camera_focus()` to retrieve/assign `gSecondCameraFocus`
2025-03-24 07:31:06 +10:00
Agent X
f8230fe484 Correct DynOS skybox texture tile paths (WARNING: MAY BREAK SKYBOX TEXTURE PACKS DESIGNED FOR COOPDX)
Some checks failed
Build coop / build-macos-intel (push) Has been cancelled
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
2025-03-21 20:40:16 -04:00
Sunk
5ba01cc232
Improvements to non-pvp player interactions (#712)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
* Add more bounce interactions

* Prevent out of bounds pushing
2025-03-21 09:06:10 +10:00
Agent X
64ef23ba6a Make sliders show their number value
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-03-18 23:07:03 -04:00
Agent X
2479eaabfb This new camera code is NOT up to pollos standards. 2025-03-18 23:06:36 -04:00
Sunk
14f98e4b30
Add automatic toggle (#707)
Some checks failed
Build coop / build-ubuntu (push) Has been cancelled
Build coop / build-windows (push) Has been cancelled
Build coop / build-macos-arm (push) Has been cancelled
Build coop / build-macos-intel (push) Has been cancelled
2025-03-17 13:04:09 +10:00
Sunk
f9b6fba0b5
Fix revamped pvp oversight (#706)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-16 21:20:29 +10:00
mingokrb
0f7ba775c2
Update Portuguese.ini (#710) 2025-03-16 21:11:01 +10:00
Agent X
0f0997a2ac Add mod menu text hook and make hook functions return index
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-15 18:04:59 -04:00
Agent X
ab49c33d86 Expose some cool math functions
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-14 22:25:56 -04:00
Sunk
dc4ac0f681
Properly fix lua interaction flags (#704)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Reverts a change Isaac did a little while ago and fixes the source of the issue
2025-03-14 13:47:23 -04:00
Sunk
edacdcc7e4
More settings to the Camera settings menu (#555)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Sherbie's suggestions from #497 and #538, as well as suggestions from others on discord.
Add 2 new camera settings to free camera, being camera collision and dpad usage.
Add an entire new camera submenu for romhack camera, which are now no longer exclusive to romhacks.
2025-03-14 13:01:51 +10:00
Agent X
3792f0aebb Raise custom object fields limit from 16 to 64 2025-03-13 22:09:46 -04:00
Agent X
c84afa7325 Improve version info on crash screen 2025-03-13 22:06:31 -04:00
Isaac0-dev
2dd17af4e1 explicitly allow setting cobjects to nil 2025-03-14 10:24:33 +10:00
Isaac0-dev
83c967457f fix missing non mario character sounds
Some checks are pending
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
these are bugs I'm only just finding out about, please report any others!
2025-03-13 21:49:20 +10:00
Isaac0-dev
a1f952f634 fix some sequences missing [build] 2025-03-13 21:10:14 +10:00
Agent X
8775f9c145 Fix lighting
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-13 00:42:04 -04:00
Isaac0-dev
8141d9906a test fixes for djui tile offsets [build]
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-12 17:16:40 +10:00
jayden
aac7096f63
feat: enable coroutines (#695)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-12 14:09:40 +10:00
Sunk
dae7854c3c
Fix pokey death issue (#702) 2025-03-12 11:40:08 +10:00
Yuyake
14313a5cb1 Merge branch 'dev' of https://github.com/coop-deluxe/sm64coopdx into dev
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-11 15:19:36 -06:00
Isaac0-dev
689bc5755f
Merge pull request #701 from ManIsCat2/luatextureimage
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Add gfx_set_texture_image for lua
2025-03-11 20:41:28 +10:00
Agent X
3cbd2bbb36 Update Japanese.ini
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Co-Authored-By: 3UPPER <83761368+3UPPER@users.noreply.github.com>
2025-03-10 20:13:35 -04:00
ManIsCat2
334aac7cf1 add lua texture image 2025-03-11 00:52:38 +03:30
Isaac0-dev
d3e8f9cf48 whoops
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-10 23:34:08 +10:00
Isaac0-dev
af45e0cdc3 oh 2025-03-10 23:32:24 +10:00
Isaac0-dev
f98571c458 add documentation to some missing manual functions 2025-03-10 23:22:20 +10:00
Isaac0-dev
aa21b4feea better /warp dev command
no need to provide act and area, it will default to area 1 act 0
added alternate level abbreviations that have been used commonly in some mods (to avoid typing long level names)
2025-03-10 21:41:53 +10:00
Isaac0-dev
b1af1ade33 fixed get_level_num_from_course_num 2025-03-10 21:13:58 +10:00
EmeraldLockdown
2d62121953
GitHub Actions for macOS (#696)
Some checks are pending
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
2025-03-10 12:24:33 +10:00
Isaac0-dev
04ea4d6ad4 smlua use lot and lvt names rather than an index 2025-03-10 12:21:48 +10:00
Isaac0-dev
7cdad52fb8 print type names rather than their type index 2025-03-10 11:28:28 +10:00
Isaac0-dev
ac71f841dc fix nil objects crashing parts of the game 2025-03-10 10:57:33 +10:00