Commit Graph

2530 Commits (33585f00eab5463d2a4bfdeefb812082e2104eed)

Author SHA1 Message Date
MysterD f3308f9709 Started on counter op gamemode 2022-11-11 19:09:40 -08:00
MysterD ffe8c47959 Bumped version 2022-11-11 19:03:43 -08:00
MysterD 4e35b9c4d4 Add ability for mods to signal that a player will not be seen by enemies 2022-11-11 19:02:11 -08:00
MysterD e5d282fb82 Fix desync caused by players not knowing each others sync status 2022-11-11 19:01:51 -08:00
SMS Alfredo b4ea13f57d Sample Stop Functions (#224)
Adds in bassh_stop_sample for source and audio_sample_stop for Lua. These functions immediately stop whatever audio the specified sample is playing.

If used in tandem with #223, this allows you to create custom character voice clips without them ever overlapping with each other.
2022-11-02 19:51:34 -07:00
PeachyPeach 340aedd660 djui_hud_render_texture_tile[_interpolated]; increased GFX pool and main memory pool (#211)
djui_hud_render_texture_tile: allows user to draw a part of a texture instead of the whole texture (tilesets)
    increased GFX pool size from 512kB to 4MB
    increased main memory pool size from ~11MB to 32MB
2022-11-02 19:45:20 -07:00
Agent X d54b9515af Add BlazingMiracle's updated head glyphs (#219)
* Add BlazingMiracle's updated head glyphs

* Revert toad
2022-11-01 21:23:09 -04:00
Isaac0-dev 32e68a81e2 add HOOK_ON_CHAT_MESSAGE (#220)
includes the message string and the mario state of the player
return false to prevent the message from showing (might be possible to make a chat flter with this?)
2022-10-30 17:34:50 -07:00
Agent X e9dff53463 Give 1 up when you collect 50 coins and don't have "Leave level" on (#215)
If either Non-Stop or Stay in Level is on for On Star Collect, collecting a multiple of 50 coins should give everyone in the level a life.
    This would act as a solution for the lifes you would normally get after getting a star.

In SM64 when exiting a level, every 50 coins up until 150 you get a 1 up, except you can't exit the level in stay in level or non stop so there's the main problem which this PR addresses
2022-10-30 17:31:08 -07:00
PeachyPeach 86eb22b6de CAP color; near/far warning fix (#214)
Added CAP color part; Player's cap no longer uses the SHIRT color
    Added METAL color as an alias of CAP color; Metal characters now uses the CAP color to tint the metal texture (was SHIRT color)
    Fixed the cap inside color (was HAIR color)
    Fixed the near/far warning
2022-10-30 17:30:40 -07:00
Isaac0-dev 2e072b3184 Fixes and quality of life changes (#213)
Add the Lua Profiler to the debug menu.
    Prevent Mario from sleeping on the main menu.
    Fix IP address string corruption when saving the config file.
    Bring back the Discord fatal message.
2022-10-30 17:29:59 -07:00
stvene3004 7d0bb6739c Changes and extensions to Wario and Luigi's moveset (again) (#210)
* Changes and extensions to Wario and Luigi's moveset

* Indentations fix

* More indentation fixes and a slight bug fix

- More indentation fixes.
- Fixed Wario's downwarpin' when he finishes air-bashin'.
2022-10-30 17:26:24 -07:00
Sunk 2e41525ea3 Added HOOK_ALLOW_HAZARD_SURFACE and various fixes (#209)
* Fixed naming from ceil to cell

* Added HOOK_ON_QUICKSAND

* Modified hook and removed weird newlines

* Renamed hook and increased usage

HOOK_ALLOW_QUICKSAND -> HOOK_ALLOW_HAZARD_SURFACE
Now also works on lavaboost.
Suggestion by Agent X. May add this hook to the death barrier check.

* Autogen

* Fixed downwarping to quicksand upon popping

As a side effect though, Mario will no longer snap to the floor upon being popped.
2022-10-30 17:25:56 -07:00
Agent X dd075ce2ee Add - to allowed characters in mod storage (#218)
can't have anything in ex-coop
2022-10-25 13:28:19 -07:00
Agent X 80cda3546e Why weren't star door models exposed to Lua? (#217) 2022-10-25 13:28:02 -07:00
Agent X 3fbc491afa Add gsSPCullDisplayList to DynOS (#208)
Another quirky Fast64 thing that is literally never used anywhere else
2022-10-18 15:35:11 -07:00
Agent X 3b2b259fad Prevent Mario from trying to move in the main menu (#206)
* Fixing my mistakes

* Re-add stickX/Y resets
2022-10-18 15:35:00 -07:00
Isaac0-dev e89349318d just a few more improvements (#207)
Add get_dialog_box_state
    Prevent some attacks from registering as pvp attacks.
    Clean up all cases of camera.lua
    Put gLastCollectedStarOrKey in a better spot.
    Clean up my moderator code a bit, changing gIsModerator to boolean.
    Brang back kicked, banned and full party messages.
    Fixed a warning on older compilers like raspberry pi's and use configAmountofPlayers instead of MAX_PLAYERS
    Fixed compiling with the flag DISCORD_SDK off.
    Added "Fixed Collisions" to the debug menu.
    Added HMC, CCM, RR, BITDW, PSS and TTC to the main menu options.
    Fix my own oversight; Prevent the port from being duplicated in the join menu. (temporary fix)
    Hopefully bring back the crash handler on windows by not checking for termination signals on windows
2022-10-18 15:34:46 -07:00
Agent X 80de2105d1 Touch up (#205) 2022-10-01 01:51:00 -04:00
Mr.Needlemouse d46450acaa Changed the placements of platforms in Star Road to make casual experience easier (#204) 2022-09-30 20:03:13 -07:00
Isaac0-dev 57c793f4a5 fix warnings (#203) 2022-09-30 20:02:55 -07:00
wRadion a94de7d6af Added `warp_to_warpnode` function (#157)
* Added warp to warp node function

* Added generated docs

* Restored Makefile (will put in other branch)
2022-09-30 20:02:34 -07:00
MysterD 9ef643e63b Reran autogen 2022-09-26 19:30:09 -07:00
Agent X 9191de2436 Mod storage, network_discord_id_from_local_index and other small changes (#200)
* Mod storage & network_discord_id_from_local_index

Introducing mod storage, a key/value system for saving things like high scores or settings or anything like that to AppData\Roaming\sm64ex-coop\sav\mod-name.sav (Windows example)
You can currently save only strings meaning if you want to save a number you'd need to do
mod_storage_save("score", tostring(score))
and then
score = tonumber(mod_storage_load("score"))
To handle types like that.
network_discord_id_from_local_index() returns the discord ID of a player by local index.
Some misc changes I made were removing the unsed ini.h include in save_file.c and making the autogen converters output LF line endings instead of CRLF on windows.

* Prevent getting id if using direct connect

* Update djui_panel_player.c

Why does this bother me?

Co-authored-by: djoslin0 <djoslin0@users.noreply.github.com>
2022-09-26 19:28:26 -07:00
Emerald Lockdown ed9023d781 `save_file_erase_current_backup_save` and more (#189) 2022-09-26 19:14:53 -07:00
Agent X 29cd726d18 Color type and palette/color functions (#199)
Added a Color type (typedef u8 Color[3])
Added network_player_color_to_palette and network_player_palette_to_color
Reran autogen
2022-09-26 19:11:51 -07:00
Agent X 41db5bbc66 God mode check for lava wall boost (#201)
* God mode check for lava wall boost

Thanks to Skeltan for finding it

* Prevent potential cutscene breaks
2022-09-26 19:10:39 -07:00
eros71-dev 66a1054773 Improve guide readability (#202) 2022-09-26 19:10:17 -07:00
Agent X 05b2dcbefe Expose level_trigger_warp and related constants (#197) 2022-09-19 19:51:27 -07:00
Agent X 92c175cddb Update dynos_bin_read.cpp (#198)
Added an extra ".inc" to the room.inc.c check so things like "mushroom" don't get flagged as rooms
2022-09-19 19:36:10 -07:00
Agent X 337901f3ce Add vanish cap walls to no camera collision check (#196) 2022-09-19 19:34:09 -07:00
Emerald Lockdown c4baafcd05 Remove save_file_erase function (#195) 2022-09-19 19:33:43 -07:00
MysterD 477a601249 Fix crash in rippling paintings 2022-09-18 19:06:52 -07:00
Agent X ba63d96dfa Lower water level on Football/Shell Rush (#194)
On 0 star saves, the water is not lowered so the gameplay experience is impaired.
2022-09-18 19:00:39 -07:00
MysterD 66a85b17ab Removed extra change_area/level packet that the ripples PR added. It breaks too many things 2022-09-18 18:41:32 -07:00
Emerald Lockdown adf8868976 Removed artifcat, fix cam (#193) 2022-09-18 18:16:58 -07:00
Agent X e8ac7c15ea HOOK_ON_SCREEN_TRANSITION (#192) 2022-09-18 17:30:29 -07:00
PeachyPeach 95a8199b9b Complete color palettes; gfx macros (#191) 2022-09-18 17:30:13 -07:00
PeachyPeach 08b5af5366 Main menu: separate Rom Hacks from regular mods (#190) 2022-09-18 17:29:05 -07:00
Emerald Lockdown 3ec278639e Removed gChangeAreaIndex as it is unused (and does nothing), and fixed thi and crashes (#187)
* Removed gChangeAreaIndex as it is unused, and fixed thi and crashes

* Fixes

* undo formatting

* Undid stones
2022-09-18 17:28:09 -07:00
PeachyPeach 64ef71e466 Fixed gLevelValues initialization and missing limits (#188) 2022-09-13 14:44:08 -07:00
Agent X 76cb1aeffc Revert "Fix power meter going black when in djui pause (#168)" (#186)
This reverts commit 4e8308199a.
2022-09-13 14:43:06 -07:00
Isaac0-dev 905f75597b document HOOK_ON_CHANGE_CAMERA_ANGLE (#185) 2022-09-13 14:42:53 -07:00
MysterD aa27a2d8de Reformat platform save file locations 2022-09-12 20:04:37 -07:00
WryOpussum 2ebedb4125 Update lua.md (#183)
Showed where the Save File location is for each platform
2022-09-12 20:02:24 -07:00
Emerald Lockdown 7094c50dfd Doc stuff (#182) 2022-09-12 20:01:45 -07:00
Emerald Lockdown de9bb54423 Remove heal on warp (#181)
* Patch heal on warp

* Remove entirely
2022-09-12 20:01:13 -07:00
Isaac0-dev 184344afc4 multiple improvements (#176) 2022-09-12 20:00:51 -07:00
Emerald Lockdown 3738ab43cf Add network_is_moderator (#180) 2022-09-12 19:58:58 -07:00
Emerald Lockdown f1ebb7e7dc Hns stuff (#155)
* Readded headstart and cleaned up code

* Added pu prevention, credit to sunk, and cleaned up some comments

* Cleaned up code and added fancy pause exit stuff

* Update network_utils.c

* Revert commit
2022-09-12 19:58:37 -07:00