Commit Graph

51 Commits (4e01841693f2df0c61b7060c5bdf46ec063e1082)

Author SHA1 Message Date
EmeraldLockdown af8dc6995d
Allow user to change music in menu (#212)
* Allow user to change music in menu

* Remove annoying newline

* Fully reset menu

* No need for sSoundBox

* Add music to castle grounds

* Add translations

* oops

* Why did that not save!!

* Update lang/Polish.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

* Update lang/Czech.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

* Update lang/Russian.ini

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>

---------

Co-authored-by: Radek Krzyśków <46760021+Flower35@users.noreply.github.com>
2024-09-01 13:15:04 -04:00
roddy db3a7e3483
Update sockets and structs for full IPv6 support (#198)
* Initial IPv6 support

The address struct was changed to use sockaddr_in6 instead of sockaddr_in. Resolving domains also uses getaddrinfo() instead of the deprecated gethostbyname(), and if the returned address is IPv4, transform it to an IPv6-mapped address to make it work with the AF_INET6 socket.

* Direct Connection input box behaviour change

This makes the Direct Connection input box accept all types of addresses. IPv4, IPv6 and hostnames are now supported. Direct IPv6 addresses must be enclosed in square brackets [IPv6]:port to be able to separate IP from port, otherwise it will be treated as an IPv4 address or hostname.

* sanity checks

This fixes a weird error while reconnecting when using direct IPv6 addresses. getaddrinfo() doesn't like square brackets on the host IP, so remove those when found.
This commit also fixes a problem where gGetHostName wasn't being properly set when connecting through a hostname.

* cleanup and bugfix

Small code cleanup removing some debugging comments. This also fixes a bug where initializing the game without the --join argument (which initializes network as NT_NONE) was still calling a piece of code where it was resolving a domain and copying an empty gGetHostName to configJoinIp, which made coop_join_ip be cleared on the config file.

* fix rare cases of binding errors

Due to some options in the sockaddr_in6 struct that doesn't need to be set, rare cases can happen that there will be some random data that will interfere with such values. This made binding randomly or persistently fail. This commit makes that before binding, make sure to fill the entire struct with 0 before setting it up.

* Translations for WARN_SOCKET

This provides translations for the new text when hosting a server. I cannot guarantee the accuracy of the translations, except English, Portuguese and German, where it was written by native speakers.

* Update socket_windows.c

yeah right. resolving conflicts and stuff.
2024-09-01 12:48:24 -04:00
Agent X 099b97b934 Add mute window when unfocused option
Co-Authored-By: Tulpen <63363329+tulpenkiste@users.noreply.github.com>
2024-06-30 11:42:37 -04:00
Agent X 0cf0695fc7 4000 THOUSAND COMMITS! YIPPEEE! Remove unused lang keys 2024-06-27 18:43:41 -04:00
Agent X 8525a9a2ee DynOS fixes 2024-06-26 18:51:11 -04:00
Agent X 4e6e8b888a Fix missing rules string 2024-06-25 13:33:04 -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
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
Agent X d1bbc05ece Add Odyssey theme to DJUI 2024-06-05 19:33:00 -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 ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04: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 12aff40090 Make user folder sm64coopdx instead of sm64ex-coop, add auto folder copy 2024-05-15 18:00:16 -04:00
Agent X 3a7adb8b40 Change "Global PLayer Models" to "Local Player Model Only" 2024-05-12 09:56:27 -04:00
Agent X cdd23f5952 Add save file names 2024-05-11 22:05:35 -04: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 3c6c11b08a Restore camera pan level slider 2024-03-29 19:49:33 -04:00
Isaac0-dev 64cc05e219
pause anywhere server setting (#11) 2024-03-28 18:52:27 -04:00
Agent X 7ebe54681e Add DJUI Font option 2024-03-18 21:16:58 -04:00
Agent X c4ef095a37 Remove NEW! tag from DX server settings 2024-03-17 18:23:55 -04:00
Agent X 11f10a62b1 Add missing lang file keys 2024-03-08 19:02:22 -05:00
Agent X b97b7d47e6 Make changelog accessible through Info 2024-03-02 16:45:35 -05:00
Agent X 5fc381d616 Add DynOS global player models option 2024-03-02 16:36:28 -05:00
Agent X 2740a6f761 Add option to disable gamepads and remove leftover code 2024-01-07 20:55:39 -05:00
Agent X 75f8ac3901 Consistent capitalization 2023-12-27 17:21:13 -05:00
Agent X 6a433c2ee7 Increment version number and add changelog 2023-12-23 13:06:13 -05:00
Agent X 2d36bfdc99 Add "Open User Folder" button (AppData on Windows) 2023-12-17 09:04:01 -05:00
Agent X 0a210993ae Re-add 64 Memories palette 2023-12-15 20:25:23 -05:00
Agent X 2343cf04f3 Adjust palettes and add palette constants to Lua 2023-12-12 18:14:37 -05:00
Agent X 460772b31f Enforce player limit on Direct Connection 2023-12-11 16:10:09 -05:00
Agent X 99e53b9f80 Add Free Camera C-Up option and sacrifice Pan Level 2023-12-05 16:57:10 -05:00
Agent X 632d8de0b2 Translate "R Button - Options" 2023-11-26 22:30:24 -05:00
Agent X a67395a860 Auto DJUI scale and other improvements 2023-11-26 00:29:59 -05:00
Agent X 7610fb2d02
Merge pull request #7 from eros71-dev/main
(WIP) De-hardcode DJUI Scaling, Moved menu-related options
2023-11-24 16:18:49 -05:00
Isaac0-dev 13c0e693f8 simple fps display in top left corner (#527)
* simple fps display in top left corner

* added other languages

thank you to everyone in #translation-station, and to Google translate (some languages may need revisiting later)

* render from left not center, grey fps text
2023-11-23 10:04:15 -05:00
Agent X e6366b7865 Add Staff Roll menu background option 2023-11-23 10:02:21 -05:00
eros71-dev e3d57c01cc (WIP) DJUI Scaling setting, moved menu-related options to "menu options" instead of "misc" 2023-11-23 05:25:33 +01:00
Agent X e3c0fe29da Update DJUI Themes, fix warnings and update inis 2023-11-22 18:45:21 -05:00
Agent X ff53377644 Add 10 or more mod warning 2023-11-21 19:49:35 -05:00
Agent X dd3b39739e Continue making DJUI text use DCDCDC instead of C8C8C8 for consistency 2023-11-14 21:49:41 -05:00
Agent X 8110c83891 File Select Theme 2023-11-13 12:16:49 -05:00
Agent X b6d1a8a706 Bouncy Level Bounds server option 2023-11-13 08:27:20 -05:00
Agent X 140d50ebb2 Misc fixes and cleanup 2023-11-10 19:12:21 -05:00
Isaac0-dev b12b479d70 loading screen (#495)
* loading screen

* fix compile error

* Fix animation comparisons after character anim commit

* Cleaned up character sound/anim lookup code

* hopefully fix problems with queued mods

* use dj's changes

* fix compile errors due to upstream merge
2023-11-06 14:59:17 -05:00
Agent X 49bca1cc01 sm64coopdx
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com>
Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com>
Co-Authored-By: Gregory Heskett <gheskett@gmail.com>
Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com>
Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
2023-10-30 01:03:36 -04:00
EmeraldLockdown 9b502346a7
Console Overhaul (#490)
Completely redid the console ui to look more like the rest of coop
    Added log_to_console and djui_console_toggle to lua
    Made the keybind to activate it the tilda key (~) instead of ctrl+f1
2023-10-28 00:18:23 -07:00
xLuigiGamerx 46b3167cce
Playerlist Improvements and Username Character Limit Increase (#476)
* xLuigiGamerxsDevFork

* xLuigiGamerxsDevFork

* Fixed Accidentally used older character.c file

* Modified the playerlist so that it can support more than 16 players if it is to be added and increased the username character limit from 20 to 60 so people with longer names can use hex codes

* Changed the Makefile back

* Just Fixing up the makefile which for some reason changed

* Fr this time I hopefully fixed the Makefile

* Bruh why did this even change it's fucking annoying

* Modified the playerlist so that it can support more than 16 players if it is to be added and increased the username character limit from 20 to 60 so people with longer names can use hex codes (Removed Whitespace lol)

* Modified the playerlist so that it can support more than 16 players if it is to be added and increased the username character limit from 20 to 60 so people with longer names can use hex codes (Removed Whitespace V2 lol)

* Used MAX_PLAYER_STRING instead of a number

* Apparently math.h wasn't needed

* Me when I use google translate only for it to fuck up french:

* Used MAX_PLAYER_STRING and removed ceils and removed multiplicaion by sPlayerListSize

* Added comment for p variable

* Removed 16

* Update djui_panel_playerlist.c

---------

Co-authored-by: xLuigiGamerx <mohammmedsadawi666@gmail.com>
Co-authored-by: PeachyPeach <72323920+PeachyPeachSM64@users.noreply.github.com>
2023-10-20 18:16:49 +02:00
MysterD 2a5a4607a8 Update lang files 2023-06-14 23:25:04 -07:00
MysterD 61b72ae1ee Allow object sounds to fade out to 0 2023-06-12 02:20:58 -07:00
MysterD 01d91ff07d Added profiling to more places to make lag easier to track down 2023-04-30 17:39:45 -07:00