Commit graph

3177 commits

Author SHA1 Message Date
Agent X
6c807d259e Rename sm64coopdx-TESTING to sm64coopdx 2024-06-30 08:23:53 -04:00
Agent X
b228b3bb0e Re-enable update checker/changelog code, set version back to v1.0 2024-06-30 07:43:13 -04:00
FluffaMario
5cba5bede1
Updated Player Characters (#85)
* Update Player Characters

* Oops...

* Slipped through

* Hopefully this is good now?
2024-06-30 07:40:29 -04:00
Radek Krzyśków
e2c15afc68
Windows platform enhancements (#84)
* Enabling portable paths for Windows (custom user preferences dir, drag'n'drop paths)

* Updated the windows messages loop for DXGI window API

* Fixed international keyboard layouts text input in DXGI
2024-06-30 00:46:14 -04:00
Agent X
4967c911cc This is dangerous, apparently 2024-06-29 16:39:27 -04:00
Agent X
39fb039555 Adjust logo size on non centered 2024-06-29 16:15:52 -04:00
Agent X
20d2e3de6b Add djui_menu_get_font 2024-06-29 16:15:44 -04:00
Agent X
8a5a23a8a6 Add HOOK_ON_MODS_LOADED 2024-06-29 16:00:42 -04:00
Agent X
32a05a2626 Add an underscore to the prerelease version 2024-06-29 12:05:57 -04:00
Agent X
614dbaf7ee Improve cheats and mod menu 2024-06-29 11:14:15 -04:00
Agent X
d81f8846e5 Small Nametags improvement 2024-06-28 21:47:55 -04:00
Agent X
dc987ae3e2 Keep music going when switching to staff roll 2024-06-28 21:03:14 -04:00
Agent X
d83e03728c Fix demos not working 2024-06-28 20:42:13 -04:00
Agent X
95677cc5e9 "Fix" 2024-06-28 15:48:56 -04:00
Cooliokid956
b3fb92ed4a
fix course name lagging behind by a frame (#83)
get the course name *after* scrolling is processed
2024-06-28 14:42:53 -04:00
Agent X
0c9b92c5cd Update djui_panel_rules.c 2024-06-27 20:57:51 -04:00
eros71
a17b1aab3f
Fix translation oversight and improve Spanish (#82)
Makes the "Custom" option in the player palette also be translated (the translated strings were unused) and also cleaned up the Spanish translation a little so it sounds more natural.
2024-06-27 18:33:40 -04:00
Agent X
4d2328edab Prerelease 4 2024-06-27 18:05:35 -04:00
Agent X
885931edde Whoops 2024-06-27 17:27:22 -04:00
Agent X
3359ebba0b Add AWESOME new lighting color functions 2024-06-27 16:54:13 -04:00
Agent X
26683b9b4f Wake up player if sleeping on the player menu 2024-06-27 16:52:55 -04:00
Agent X
9054a722e0 Mostly fix up the title screen camera interp jank 2024-06-27 07:58:34 -04:00
Agent X
1baf316a26 Make player hitboxes a bit bigger 2024-06-27 07:40:50 -04:00
Agent X
51f90260eb Fix Nametags and some interpolation jank 2024-06-27 07:39:54 -04:00
Agent X
436049fe7c
Prerelease 3 2024-06-26 21:55:18 -04:00
Isaac0-dev
838604a761
fix the palette editor hat in hand outside menus (#81) 2024-06-26 21:53:54 -04:00
PeachyPeach
dc02aa9881
Make compiled lua load again (#80) 2024-06-27 10:19:29 +10:00
Agent X
0b8370eacb Misc fixes and changes 2024-06-26 18:51:11 -04:00
Agent X
8525a9a2ee DynOS fixes 2024-06-26 18:51:11 -04:00
Agent X
565e8b6367 DJUI fixes and changes 2024-06-26 18:51:11 -04:00
Agent X
971ddc00cd Remove legacy struct fields, fix a function name 2024-06-26 18:51:11 -04:00
PeachyPeach
a7a439993f
Fix crash in mods_clear (#79) 2024-06-27 08:36:13 +10:00
Agent X
37c62cabeb Fix loading screen 2024-06-25 16:07:13 -04:00
Agent X
939ca8256d Small fix 2024-06-25 15:56:31 -04:00
Agent X
8d79a47490 Restore no texture filter on FONT_MENU 2024-06-25 15:17:48 -04:00
Agent X
4e6e8b888a Fix missing rules string 2024-06-25 13:33:04 -04:00
Agent X
3b6bc54c91 Small mod audio refactor 2024-06-25 10:10:19 -04:00
Agent X
16d403c254 Update script warnings 2024-06-24 23:40:49 -04:00
Agent X
21ca523d04 How did I even become a lead developer in the first place 2024-06-24 14:16:45 -04:00
Agent X
5c0e32348d Small fix 2024-06-24 14:11:32 -04:00
Agent X
69eea94501 Fixes to sys_user_path 2024-06-24 12:04:28 -04:00
Agent X
bbe5ba9819 Whoops 2024-06-24 11:25:54 -04:00
Agent X
ac805bf94d Expose some behavior_script.h functions to Lua 2024-06-23 19:30:38 -04:00
Radek Krzyśków
227a4bbcf3
Using Short Paths (ASCII-compatible) for Exe Dir and User Dir on Windows (#77)
Co-authored-by: Agent X <44549182+AgentXLP@users.noreply.github.com>
2024-06-23 18:38:32 -04:00
Agent X
f348e03685 Enable directory sanity check for player palettes 2024-06-23 18:31:36 -04:00
PeachyPeach
c4214ed2da
Prevent the game from caching downloaded WIP mods (#69)
* don't tmp or cache wip mods

* update
2024-06-23 11:54:07 -04:00
Agent X
69cb215219 Add bounds checks to skybox get/set functions 2024-06-22 17:30:54 -04:00
Agent X
bc4e893f2d Lesson learned: If it ain't broke, don't fix it. 2024-06-22 12:36:35 -04:00
Agent X
9f9ed61e3a Fix logo size on non centered main menu 2024-06-22 10:33:22 -04:00
Agent X
3707ca9b2e Separate some smlua_misc_utils functions into their own files & add get/set_skybox_color 2024-06-21 23:26:13 -04:00
Agent X
e42f114b2d Add gLevelValues.jrbDarkenSkybox 2024-06-21 22:57:44 -04:00
Agent X
c790922805 Fix max player count limit code I did a couple hours ago 2024-06-21 21:25:00 -04:00
Isaac0-dev
570afe946e
fix scrolling texture interp integer overflow (#72) 2024-06-21 21:06:29 -04:00
Agent X
e2591b6797 Update README 2024-06-21 19:34:04 -04:00
Agent X
b7ab4bad4b Update loading screen font scale and Russian translation for rules 2024-06-21 17:37:01 -04:00
Agent X
ef43b197d0 Fix being able to join direct connection lobbies past max players 2024-06-21 17:33:32 -04:00
Agent X
47cccd2a7c Improve FONT_MENU 2024-06-21 13:51:06 -04:00
Agent X
8065e04367 Increase main menu logo size and change loading screen 2024-06-21 13:51:06 -04:00
Agent X
807996c225 Add geo_update_layer_transparency param 30 for not setting anim state 2024-06-21 13:51:06 -04:00
Agent X
7a38540211 Add rules panel for public lobbies
Co-Authored-By: Cooliokid956 <68075390+cooliokid956@users.noreply.github.com>
Co-Authored-By: Blockyyy <88585273+blockyyy@users.noreply.github.com>
Co-Authored-By: flipflop bell <118061445+flipflopbell@users.noreply.github.com>
Co-Authored-By: PeachyPeach <72323920+peachypeachsm64@users.noreply.github.com>
2024-06-21 13:51:06 -04:00
Agent X
6cb37160f9 Make character preset palettes always come first 2024-06-21 13:51:06 -04:00
Agent X
26d979ae0a Reset script error timeout on network shutdown 2024-06-21 13:51:06 -04:00
Agent X
6eae0e28d1 Change METAL to EMBLEM 2024-06-21 13:51:06 -04:00
Agent X
a6f7090879 Raise max mod description length to 800 2024-06-21 13:51:06 -04:00
Isaac0-dev
003136db4f
add get_surface_from_wcd_index (#75) 2024-06-21 12:14:59 -04:00
Isaac0-dev
8ee9fb2c32
make remote players disappear into paintings (#76) 2024-06-21 12:14:51 -04:00
Agent X
fa2ffcdcb9 Readd 'loaded' field to mod audio for CS compatibility 2024-06-19 17:50:24 -04:00
Isaac0-dev
eeebfecca4
more loading screen fixes for non supported builds (#74) 2024-06-19 11:43:01 +10:00
Agent X
1c495d8cd4 Increase max chatbox message length to 500 2024-06-18 18:39:15 -04:00
Isaac0-dev
df7e4b1fd1
fixed collision_find_surface_on_ray (#73) 2024-06-18 18:21:20 +10:00
Cooliokid956
e76e212312
Prevent Pause Exit when it actually happens (#71)
* call level exit hook sooner

call the hook here so you can actually prevent the exit from happening, also no separate hook calls anymore

* instead of here

* compliance
2024-06-17 17:20:30 -04:00
Agent X
56b96a97e2 Turn collision_find_surface_on_ray into an smlua function 2024-06-17 13:03:38 -04:00
Radek Krzyśków
dd966a42d4
Quality-of-Life changes to the Polish translation file (#70)
* Fixed the ASCII representation of glyph "Ł/ł" as "L/l"

* Quality-of-Life updates for the Polish translation file
- added missing diacritics, as they are fully supported by the custom in-game font (regular and aliased)
- changed some of the entries to sound more natural, fixed incorrect translations from English
2024-06-16 15:16:02 -04:00
Agent X
52b4d51508 Add collision_find_surface_on_ray_precision 2024-06-16 10:45:55 -04:00
Agent X
bcdb6be53a Improve mod storage & hopefully fix Cookie mod 2024-06-15 13:39:16 -04:00
Agent X
15c9602e11 Add gLevelValues.infiniteStairsRequirement and gBehaviorValues.CourtyardBoosRequirement
Ported this PR from the sm64ex-coop dev repo.

Co-Authored-By: Emily♥ <77174187+emilyemmi@users.noreply.github.com>
2024-06-14 10:37:14 -04:00
Agent X
598db03d80 Fix TTC desync! 2024-06-14 09:41:55 -04:00
Agent X
e780b74d1b Properly sync BITS ferris wheel platforms 2024-06-13 20:33:47 -04:00
Agent X
c738a2c27d Remove 2 second freeze after a star spawns 2024-06-13 20:33:47 -04:00
Agent X
a8f76be263 Fix red coins, secrets, goomba triplet macros, and count_objects_with_behavior 2024-06-13 20:33:47 -04:00
Agent X
ab9e4bf6c7 Re add crash fix for exiting to main menu 2024-06-13 20:33:47 -04:00
Agent X
a8fdc53b8d Restore original crash screen shade of blue 2024-06-13 20:33:47 -04:00
Agent X
7026a2862f Add save_file_erase because it's already possible at this point 2024-06-13 20:33:47 -04:00
Radek Krzyśków
653d7a3c1c
Better handling of the keyboard shortcuts in djui_inputbox_on_key_down (#68) 2024-06-13 15:56:00 -04:00
Agent X
76df190de1 Restore separated staff roll option 2024-06-13 10:19:10 -04:00
Agent X
82cd4176a3 Fix the new Miniaudio audio_stream_set_position 2024-06-12 17:05:41 -04:00
Agent X
9e4599ecb3 Network palette change when picking a preset palette 2024-06-12 16:34:49 -04:00
Agent X
40fb681eda Expose sound_get_level_intensity 2024-06-12 15:01:11 -04:00
Agent X
eb2033f9b0 Fix and improve custom audio stream volume code 2024-06-12 14:43:29 -04:00
Agent X
04964b7569 Revert "Fix heap alloc errors"
This reverts commit cd21cd0b28.
2024-06-12 11:46:28 -04:00
Agent X
9786ba9bc1 Remove delayed warp level ID 127 wrap around
This is very much an edge case, but if a delayed warp is initiated to a custom level that has an ID greater than 127 it will just loop back around to 0.
2024-06-12 11:44:52 -04:00
Agent X
41525c1fc3 Rename HOOK_OVERRIDE_PHYS_STEP_DEFACTO_SPEED to HOOK_MARIO_OVERRIDE_PHYS_STEP_DEFACTO_SPEED 2024-06-12 09:42:43 -04:00
Agent X
8bae9e2ec7 Change Lua volume control to 0-127 instead of 0.0-1.0 2024-06-11 19:10:54 -04:00
Isaac0-dev
a638c4725c
added a rectangle to show your color in palette editor (#65) 2024-06-11 18:50:09 -04:00
iZePlayz
95fd534e15
Removed a no-longer-existing command and added a new command to the tab-completion list (#57)
* Removed a no-longer-existing command and added a new command to the tab-completion list

* Bugfix

* bugfix 2

* Fixed a few bad german translations

* Fixed Tabcompletion for the "nametags" command

* Revert "Merge branch 'coop-deluxe:main' into main"

This reverts commit 3803ead26d23256a5200f6fa2c4c9185ce6e05f0, reversing
changes made to bd7ffb38a7560e8791118edce2cdcaf06e683d66.

* Reapply "Merge branch 'coop-deluxe:main' into main"

This reverts commit 28c1d97dd5c8a8648d4271bb59d3ca9c16df5c30.

* Fixed the "mallocation" and "static" issues

* more fixes

* Improved, cleaned up and refactored the iZeSaveStates mod and renamed it to just SaveStates

* bug fix

* removed the savestates mod

* combined both for-loops into a single one
2024-06-11 18:47:54 -04:00
Agent X
0e0b3c1862 Expose gCurrentArea and gCamera to Lua 2024-06-10 11:32:05 -04:00
Agent X
2506c1e64d Fix bug about mod menu buttons on pause menu 2024-06-10 08:16:06 -04:00
Agent X
f18a3fef7d Fix power meter crash 2024-06-10 08:06:21 -04:00
Agent X
6471da0a07 Remove crash-prone mod menu force unpause feature 2024-06-09 10:32:43 -04:00
Agent X
cb729dc40a Make audio streams update volume 2024-06-09 10:26:51 -04:00
Agent X
7c01e405e0 Allow mods to do -- ignore-script-warnings: true 2024-06-09 09:31:48 -04:00
Agent X
d23c6f0ac5 Fix save file names 2024-06-09 09:16:09 -04:00
Cooliokid956
bc811e730b
Character anim cleanup: take 2 (#63)
defining each animation is no longer necessary, as the get_character_anim function now passes through the characterAnim parameter on the principle that mario's animation enums correspond to the character animation enums
only if an animation beyond the range of mario animations is defined, then it is used
this wouldn't allow characters to reuse mario's animations for different slots, but that shouldn't be needed anyways

bye bye macro
2024-06-09 16:17:33 +10:00
Agent X
9dcbef97eb Make smlua_model_util_get_id return ModelExtendedId 2024-06-07 20:33:48 -04:00
Isaac0-dev
a04aa4c240
make Lua calls to interaction functions call interaction hooks (#52)
* make Lua calls to interaction functions call interaction hooks

* Revert "make Lua calls to interaction functions call interaction hooks"

This reverts commit 14c597cd340cb19acd72f7e4327f6f078bf09f1d.

* thanks peachy for a far better solution

* don't let mods lie about what interaction it is
2024-06-07 19:14:33 -04:00
Agent X
ed1986e743 Add volume control functions to Lua 2024-06-07 17:34:24 -04:00
Isaac0-dev
3503f4e86c
fix warnings in characters.c (#62)
until a better fix is found
2024-06-07 22:51:30 +10:00
Isaac0-dev
16400321e5
palette editor cutscene fixes, press Z to toggle cap (#54)
this removes the forced taking cap off while in the palette editor. press Z to remove cap now.
it also fixes various problems that could happen that would cause the cap to stay off when it shouldn't. also fixed the taking off cap custom action sometimes playing the animation all the way through when it shouldn't.

translations by DeepL, eros, Flower35 and Skeltan
2024-06-07 19:41:22 +10:00
Cooliokid956
c811b4ebdf
Clean up animation definitions in character tables (#61)
The definition of character animations has been reduced to a macro, BASE_ANIMS(), which defines initial animations that can be subsequently overwritten if the character uses different animations.

while testing, the near/far clip plane functions prevented compilation as they appeared to be using keywords, so i've also changed the offending functions' parameters.
2024-06-07 19:39:43 +10:00
Agent X
02d214d2fd Refactor staff roll option 2024-06-06 18:52:52 -04:00
Agent X
c05c2a4d0e Fix language panel unlocking the camera 2024-06-06 18:52:52 -04:00
Isaac0-dev
eaeaeb0f7f
add a way for mods to get dynamic surfaces that belong to specific objects (#59)
Adding this for collision minimap, but I'm sure it'd be useful for many other mods that deal with collision in this kind of way

exposes a function, obj_get_surface_from_index. pass in an object, and the index of the surface you want. numSurfaces is also added to know when to stop iterating through surfaces

Thanks to peachy for coming up with the better method of doing this

Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2024-06-06 17:24:28 +10:00
Agent X
d1bbc05ece Add Odyssey theme to DJUI 2024-06-05 19:33:00 -04:00
Agent X
6305c20410 Add 'script warnings' for using deprecated functions, add new Discord ID function 2024-06-05 18:58:38 -04:00
Agent X
4592559fe3 Fix DJUI scaling for existing configs 2024-06-05 15:59:21 -04:00
Agent X
deb2c00dba Fix Mod Menu 2024-06-05 15:59:21 -04:00
Isaac0-dev
695b1cc84e
fix some djui related issues (#53)
- fixed a crash that could occur when closing the game with the mods menu open. this was a use after free.
- allowed pressing the B button to go back in the save file name editor to refresh the file name.
- fixed text getting cut off on paginated page count, and centered the text (as one string)
- fixed disabled buttons not fading out since the addition of djui themes
2024-06-04 07:27:12 +10:00
Agent X
bdd427c561 Touch up mod storage and fix inconsistent logic with old mod_storage_load 2024-06-02 18:15:17 -04:00
Agent X
3f6da68615 Make DJUI Mod Menu element names visually refresh 2024-06-02 17:51:02 -04:00
Agent X
c4893b1f8a Whoops 2024-06-02 17:50:15 -04:00
Agent X
2768375e7b Move chat keybinds option to controls instead of misc 2024-06-02 15:58:23 -04:00
Agent X
cd21cd0b28 Fix heap alloc errors 2024-06-02 15:57:16 -04:00
Agent X
2b2dceb333
Add a mod menu where mods can put DJUI elements (#56)
* Add a menu where mods can put their options at

* Document mod menu hook functions

* Add HOOK_ON_LANGUAGE_CHANGED

* Add new Cheats mod

* Make player menu disable singleplayer pause

* fix some git merge conflicts that weren't resolved (#55)

and added -latomic to build flags to fix compile warnings while compiling miniaudio

* Remove legacy 'deluxe' field from built-in mods

* Lots of improvements to memory safety

* Abbreviated hex color parsing

Co-Authored-By: Mechstreme <84944335+mechstreme@users.noreply.github.com>

---------

Co-authored-by: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-authored-by: Mechstreme <84944335+mechstreme@users.noreply.github.com>
2024-06-01 20:52:43 -04:00
Agent X
cb3b7ebef9 Re-add DJUI scale above 1.0 2024-06-01 13:48:27 -04:00
Agent X
fa8d8c9b0f Fixes and overhaul mouse locking 2024-06-01 13:30:41 -04:00
Agent X
54de3b689a Remove Forced 4:3 2024-06-01 13:12:01 -04:00
Isaac0-dev
a347f77b3c
fix some git merge conflicts that weren't resolved (#55)
and added -latomic to build flags to fix compile warnings while compiling miniaudio
2024-06-01 13:40:58 +10:00
Agent X
b0be6143fb Make mario theme have HUD font header 2024-05-30 17:44:48 -04:00
Agent X
800f2422f9 Make every free cam option always available again 2024-05-30 17:44:48 -04:00
Isaac0-dev
f8b5f2a9f6
some nametags improvements (#50)
- crouching now hides your nametag entirely
- nametag transparency is now based on player opacity
- nametags are no longer rendered while the player does not have a valid area sync
2024-05-28 17:51:32 +10:00
Agent X
b7b044e0b2 Improve save file names slightly 2024-05-26 10:29:45 -04:00
Agent X
15ea5dc8e2 Reorganize and cleanup configfile code 2024-05-21 17:10:00 -04:00
Agent X
563196048d Make camera options disable if no first person or override 2024-05-21 17:10:00 -04:00
Agent X
e617e5a5b4 Fix bug if 'palettes' is in exe path 2024-05-21 17:10:00 -04:00
Agent X
1f3af25805 Expose fade_into_special_warp 2024-05-21 17:10:00 -04:00
Agent X
efd432afb8 Fix a Security Concern 2024-05-21 17:10:00 -04:00
Agent X
e35e4529a2 Fix overflow, hex codes not working, and add dev prints 2024-05-21 17:10:00 -04:00
Agent X
5fe4aeb605 Fix Windows compilation error 2024-05-21 17:10:00 -04:00
Agent X
13e6197107 Added hex code support and sanity checks to palette INIs 2024-05-21 17:10:00 -04:00
Agent X
ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
Isaac0-dev
0d71c6c12f
remove animation dma tables, and provide mods more access to mario animations (#47)
This removes the old animation system which would create 16 copies of the animation table, so this should use less memory. Made m->animation->targetAnim always be a pointer to the actual animation in gMarioAnims, so mods can grab the pointer and reuse it.
added get_mario_vanilla_animation to Lua, which lets a mod get any of mario's built in animations from its index.
2024-05-21 21:17:30 +10:00
Cooliokid956
bb34e9f501
quick patch: don't rename tmp folder if .tmp already exists (#48)
if ex-coop is ran after the tmp folder is renamed, a new tmp folder will be created, which coopdx will then attempt to rename on the next run and fail to do so since .tmp already exists, resulting in the game failing to open
2024-05-20 12:42:06 +10:00
Agent X
f2a6891a08 Rework new user folder system, make it just read sm64ex-coop if sm64coopdx isn't present, no more copying 2024-05-16 17:15:25 -04:00
Agent X
3b13b06b00 Fix Nametags color inconsistency 2024-05-15 18:35:13 -04:00
Agent X
591261fd41 Rename tmp to .tmp and hide on Windows (Will test after making this commit) 2024-05-15 18:00:16 -04:00
Agent X
12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Isaac0-dev
37528b7ee8
fix flashbang while pause entering a level (#45) 2024-05-14 23:02:27 +10:00
Isaac0-dev
2f5b0c4880
reset mario state on player disconnect (#44)
fixes some mod related bugs
2024-05-14 10:12:20 +10:00
Isaac0-dev
eaa1a59996
fixed some mario cutscene action related bugs (#43)
- fixed a bug where remote players would show mario's head repeatedly twitching up and down while reading automatic dialog
- fixed a bug where remote mario's would sometimes not update while unlocking a star door, resulting in the previous animation playing during that action
- fixed a bug where players exiting a warp door could get stuck for a few extra frames due to other players opening that same door.

- added dialogId to MarioState, which is synced for remote players the dialog id that player has active. this can be used by Lua mods - don't access the local player's dialog id because that isn't updated as that is unnecessary
2024-05-14 09:45:33 +10:00
Isaac0-dev
bab8be49af
fixed a crash & memory leak from smlua_text_utils (#40)
* fixed a crash & memory leak from smlua_text_utils

* prevent autogen from exposing smlua_text_utils_shutdown

* forgot to push this
2024-05-13 19:38:53 -04:00
Isaac0-dev
45d42dbf73
fix crash when importing textures that exceed expected size (#42) 2024-05-14 09:38:21 +10:00
Isaac0-dev
626970c022
fixed scuttlebugs incorrect behavior (#41)
scuttlebugs used to always target the closest mario in range, due to angleToPlayer being updated every frame, overwriting the angle if its set to the angle to the scuttlebug's home
2024-05-13 19:37:40 -04:00
Isaac0-dev
082b6dd6da
interpolate scrolling textures (#30)
* interpolate scrolling textures

* cleaner way to skip interpolation

* fixed interpolation only lasting for one frame

* just reorder these

just because
2024-05-13 19:37:29 -04:00
PeachyPeach
a6c1b2a3d1
Fix surface_load memory leaks and improve performance (#38) 2024-05-14 09:08:51 +10:00
PeachyPeach
14cbb673fc
Proper custom object fields (#39) 2024-05-14 08:52:56 +10:00
Agent X
8209554f69 Disable freecam options if freecam is off 2024-05-12 09:51:17 -04:00
Agent X
3d2436c808 Rename is_playerlist_open to djui_is_playerlist_open 2024-05-12 09:18:40 -04:00
Agent X
3c86c0c83b Add is_playerlist_open() 2024-05-12 09:16:55 -04:00
Isaac0-dev
4fc0cc92e6
fix headless servers with mods that access marioObj on load (#37) 2024-05-12 22:58:43 +10:00
Agent X
cb6f5f2b30 Revert "Add gServerSettings.enableChat"
This reverts commit c21c255241.
2024-05-12 08:15:57 -04:00
Agent X
f3b583ac47 Make rainbow text colors brighter 2024-05-11 22:08:35 -04:00
Agent X
cdd23f5952 Add save file names 2024-05-11 22:05:35 -04:00
Agent X
dd6ce3d7f9 Actually fix Waluigi anims 2024-05-11 19:17:50 -04:00
Agent X
ec3fb07e76 Add @Hex4dec HOOK_ON_ATTACK_OBJECT 2024-05-11 18:44:18 -04:00
Agent X
307d5e993a Fix changing language breaking staff roll background 2024-05-11 18:26:17 -04:00
Agent X
96018588cd Fix convert_constants.py on Python 3.12 2024-05-11 17:55:38 -04:00
Agent X
e6880a5fee Add new networked water level functions 2024-05-11 17:55:18 -04:00
Agent X
c21c255241 Add gServerSettings.enableChat 2024-05-11 16:48:59 -04:00
Agent X
ee1034a79b Disable Waluigi anims for now 2024-05-11 16:43:07 -04:00
Agent X
c91b390d80 Remove some legacy sm64ex code 2024-05-11 16:30:25 -04:00
Isaac0-dev
1e4e1f8e75
fix bugs caused by interpolating the frame an object spawns (#36) 2024-05-11 08:28:20 +10:00
Isaac0-dev
8845b3ef0c
fixed a bug where sync objects could be duplicated (#35)
this would happen if the sync object was spawned before the other players in the level's area sync was valid
2024-05-10 19:32:50 +10:00
Isaac0-dev
533404ca10
fixed camera palette editor cutscene breaking while transitioning to different cutscenes (#34) 2024-05-10 09:08:37 +10:00
Isaac0-dev
108f35c369
credit dj clearly in info panel 2024-05-10 00:04:08 +10:00
Isaac0-dev
85c3bde7e3
improve frame delaying and vsync (#31)
use uncapped framerate and vsync for the best experience
2024-05-09 23:56:54 +10:00
Isaac0-dev
59dfcb6483
made rng positions more random (#33)
coins will still consistently spawn in the same formation
2024-05-09 23:24:03 +10:00
Isaac0-dev
a5c4e29d2f
allowed add_scroll_target to use behavior parameters for offset and size (#20) 2024-05-08 22:12:55 +10:00
Isaac0-dev
c512d403a1
allow right alt in fullscreen combo (#29) 2024-05-08 09:52:33 +10:00
Yuyake
74b0a6175c
Update characters.c
Added the color palette for Luigi that was originally gonna be set but never was.
2024-05-06 14:08:28 -06:00
Isaac0-dev
c288fdf0d2
a bit of cleanup (#26)
disabled the loading screen properly with gCLIOpts.hideLoadingScreen
2024-05-06 22:16:48 +10:00
Isaac0-dev
76b66e9b7d
give Lua mods some more control over dialog boxes (#19)
exposed set_menu_mode, create_dialog_box, create_dialog_box_with_response, create_dialog_box_with_var, create_dialog_inverted_box, reset_dialog_render_state
added and exposed get_dialog_response
HOOK_ON_DIALOG can now take an extra return value as a string, which will be used instead of what ever was going to be in the textbox.
2024-05-06 17:51:28 +10:00
Isaac0-dev
933f0812a7
more bounds checks in network_receive_save_remove_flag (#25) 2024-05-06 17:49:47 +10:00
Isaac0-dev
0174cfa0fa
move domain resolution to socket.c (#23) 2024-05-03 21:27:44 +10:00
Isaac0-dev
3826d379e9
network_receive_save_set_flag sanity checks (#24) 2024-05-03 20:58:40 +10:00
Isaac0-dev
90b071acc0
exposed a bunch of interaction functions to Lua (#22)
Renamed the function interact_unknown_08 to interact_spiny_walking
and added the constant INTERACT_SPINY_WALKING, which has the same value of INTERACT_UNKNOWN_08
INTERACT_UNKNOWN_08 is kept for compatibility with smlua, and behavior dynos bins
2024-05-03 18:38:21 +10:00
Agent X
df7da84cc6 Move constant to the correct file 2024-04-28 12:23:33 -04:00
Agent X
17348a8fc4 Make level IDs s16s 2024-04-28 10:00:13 -04:00
Agent X
9cbf364113 Fix colored mod names leaking into script error message 2024-04-28 09:37:21 -04:00
Blockyyy
a7b2741aa7
added HOOK_ON_SEQ_LOAD (#18) 2024-04-24 22:39:34 +10:00
iZePlayzYT
12e8312eda
Streamlined Development and Enhanced Customization: Updates to .gitignore, and Keyboard Controls in Chat (#17)
* Ignore Visual Studio Stuff

* Added a few scripts for development

* Improved the development scripts

* Added option to choose between 2 different keyboard control variants in the chat

* Improved and added new batch scripts for development purposes

* Hotfix

* Converted the .BAT-Scripts to .SH-Scripts and moved them to the "development" folder and fixed a bug in the already existing "compile.sh" file

* Fixed some stuff

* Removed 7 .sh-scripts
2024-04-22 19:32:28 -04:00
Agent X
7561b375fa Simplify info panel 2024-04-19 15:32:42 -04:00
Agent X
19b354fb2f Change around printing a little 2024-04-19 13:32:39 -04:00
Agent X
998a057051 Remove some TARGET_N64 remnants 2024-04-19 12:44:14 -04:00
Agent X
91320b9cf9 Revert "Decrease the sleep times in some spots, We do not need them to be so long. (#373)"
This reverts commit 9b1123dde9.
2024-04-19 12:37:37 -04:00
Agent X
1d72087479 Readd fixed MSAA 2024-04-19 12:28:45 -04:00
Agent X
a6b938df75 Shorten include paths by removing unnecessary "src/" 2024-04-17 17:28:38 -04:00
eros71
d0eee30c06
Reorganize Info panel and Misc. (#14)
Makes the info credits paginated so we can add more text over time with no issues and also moves the Open Appdata/User Folder button to the Misc. menu to avoid cluttering.

Also fixed the size of the changelog panel as the Back button was also being obscured.

Rewritten it from the old repo, so all new changes should stay there.

There IS an issue where if you go to the changelog, and then back to info and try to go to another page the game crashes, and I think it's DJUI and not panel related, but I'm still looking into what it could be.
2024-04-17 12:09:45 -04:00
Agent X
afb2a09db5 Make HOOK_ON_EXIT also call on lobby exit 2024-04-09 18:11:52 -04:00
Agent X
b8c42f308f Disallow function that shouldn't be in Lua 2024-04-09 17:40:52 -04:00
Agent X
136edd1097 Fix incorrect SDL window pos on high DPI 2024-04-03 21:33:46 -04:00