Commit Graph

124 Commits (main)

Author SHA1 Message Date
Agent X 02be2d6f98 Merge branch 'main' into dev 2024-09-01 13:45:37 -04:00
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
frog8412 186e25d72f
Fixed "RULES" text in Rules menu for Russian language (#262)
These kind of texts don't have cyrillic letters, so they display weirdly
2024-09-01 12:45:22 -04:00
Mechstreme 71f1d2f64a
Update & fix issues with #184 and #205 (#215)
* Update improved Portuguese translation

* Update hud.lua (optimizations, updated comments, +2 examples)
2024-07-16 11:58:02 -04:00
Mechstreme aeecd190c0
Improve Portuguese translation (#184) 2024-07-08 13:03:48 -04:00
fab b06b697bb7
Update Spanish.ini (#180)
fixed grammar
2024-07-07 20:07:37 -04:00
Radek Krzyśków b487527339
Minor UI/language improvements (#88)
* Revised Polish translation (given the UI constraints)

* Added explicit DJUI Menu Panel alignment parameter

Previous version was prone to name clashing and could break the UI with some translations and some mod names.
2024-07-01 10:44:35 -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
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 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 b7ab4bad4b Update loading screen font scale and Russian translation for rules 2024-06-21 17:37:01 -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
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
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
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 6305c20410 Add 'script warnings' for using deprecated functions, add new Discord ID function 2024-06-05 18:58:38 -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 85f58322ab Consistency change 2024-05-26 09:37:51 -04:00
Agent X ceb7aa4649 Palette system overhaul and preset rewrite 2024-05-21 17:09:59 -04:00
Agent X f5db61f864 Whoops 2024-05-16 17:28:00 -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
Agent X ee1034a79b Disable Waluigi anims for now 2024-05-11 16:43:07 -04:00
Skeltan aa11ddd45d
Updated French Translation (#21) 2024-04-27 10:40:02 +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 d145de7527 Add back iZeSaveStates
¯\_(ツ)_/¯
2024-04-17 10:35:11 -04:00
Agent X 2f69079e8e Make linear/tripoint filters switchable without restart 2024-04-03 20:25:51 -04:00
Agent X 3c6c11b08a Restore camera pan level slider 2024-03-29 19:49:33 -04:00
Agent X cb38dc2efa Improve some English lines 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 91eb1966a0 [WIP] Update checker 2024-03-07 17:33:43 -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 c7e996f53e Update languages 2023-12-24 08:47:16 -05:00
Agent X 6a433c2ee7 Increment version number and add changelog 2023-12-23 13:06:13 -05:00
Agent X 5fb6757382 Restore 64 Memories name 2023-12-21 18:39:12 -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