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
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
...
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"
...
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
...
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
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
Sunk
5ba01cc232
Improvements to non-pvp player interactions ( #712 )
...
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
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 )
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 )
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
Agent X
0f0997a2ac
Add mod menu text hook and make hook functions return index
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
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 )
...
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 )
...
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
Agent X
8775f9c145
Fix lighting
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]
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 )
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
ManIsCat2
334aac7cf1
add lua texture image
2025-03-11 00:52:38 +03:30
Isaac0-dev
d3e8f9cf48
whoops
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
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
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
Prince Frizzy
9d1776410c
Fix GIT_HASH and re-add build date. ( #691 )
2025-03-10 09:20:15 +10:00
Agent X
1f0c44dd9e
Add cake screen split into tiles script (by eros)
...
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2025-03-09 12:33:14 -04:00
Isaac0-dev
ba2078f6e9
allow using "/" to get help menu
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
2025-03-09 16:25:03 +10:00
Isaac0-dev
3b0a12c4ac
fix pause exiting instead of "continue, don't save"
2025-03-09 15:32:16 +10:00
Isaac0-dev
a8bc754820
reset coopnet callbacks on shutdown [build]
...
Build coop / build-ubuntu (push) Waiting to run
Build coop / build-windows (push) Waiting to run
fixes "Lost connection to CoopNet!" error
2025-03-09 14:46:40 +10:00
Isaac0-dev
a583814ef9
testing actions
2025-03-08 20:12:53 +10:00
Isaac0-dev
0810f01396
no longer need a rom to compile the game
...
the files:
- sound_data_compressed.ctl
- sound_data_compressed.tbl
- sequences_compressed.bin
are now added as files that are generated by assemble_sound.py, they're compressed, and are decompressed at compile time.
rom assets have been removed from these files, so they are now just metadata for loading the sounds that are extracted at runtime.
2025-03-08 12:43:29 +10:00
Isaac0-dev
99b8f31900
init mario from save file on network shutdown
2025-03-06 17:33:17 +10:00
Isaac0-dev
c7df4eb071
fixed interaction flags when a mod doesn't specify an interaction type
2025-03-05 23:04:52 +10:00
Sunk
34e20e763d
Update revamped PVP ( #660 )
...
* Fix water punches to include pitch in their range
* Allow rollouts to deal damage again
2025-03-05 11:18:19 +10:00
Isaac0-dev
8570cfd4fc
sanitize object display lists
2025-03-05 07:56:02 +10:00
Isaac0-dev
0876d161e0
better level_script_parse
...
implemented all fields of the currently supported level commands:
- object model, position and angles
- macro model
2025-03-05 00:07:33 +10:00
Isaac0-dev
2fca847499
bring back skip_pack_generation
2025-03-04 17:13:00 +10:00
Isaac0-dev
386417edc0
force billboard star numbers to fix romhacks that override star number actor
2025-03-04 16:44:57 +10:00
Isaac0-dev
d6e243c4a7
add obj_get_model_id_extended, remember regular model ids
2025-03-04 15:09:09 +10:00
Isaac0-dev
0695a532b7
add missing sanity depth checking to obj getters
2025-03-04 14:28:07 +10:00
Isaac0-dev
46a12cef9b
avoid pushing objects that are despawned
2025-03-04 09:16:43 +10:00
Isaac0-dev
d6ce716809
smlua reduce key collisions and sanity check them
2025-02-27 15:43:26 +10:00
Isaac0-dev
f238b3d0f5
allow Lua to manipulate displaylists and vertices ( #675 )
...
Co-authored-by: ManIsCat2 <137772623+ManIsCat2@users.noreply.github.com>
2025-02-27 14:27:55 +10:00