Commit graph

4152 commits

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
Jordan Russell
de47af0461
Mumble Positional Audio Integration (#247)
* added shared memory for mumble integration
update mumble struct with player and camera data

* osx compile fixes

* renamed methods

* fixed inversed unit vectors

* made mumble camera position mario

* cleaned up spacing

* added separate context for main menu

* added checks to avoid improperly changing contexts
2024-09-01 12:45:43 -04:00
Agent X
8fc8354124 Update built-in mods 2024-09-01 12:44:29 -04:00
Agent X
e73a95368c Make ending level be named "Ending" instead of "Peach's Castle" 2024-08-31 22:27:23 -04:00
Agent X
6e38084cf9 Make C buttons work for moving the first person player camera 2024-08-31 22:27:06 -04:00
Agent X
256539a925 Fix Mod Menu panel height bug 2024-08-31 22:26:33 -04:00
Agent X
a6d56efa33 WAAAOOOW when deleting save file 2024-07-22 12:44:25 -04:00
Agent X
7a9d32551c Sanity check FPS Display to prevent crash 2024-07-22 12:43:59 -04:00
Cooliokid956
c509dab0cf
Add rotation interpolation (#208)
* Interpolate rotation

* Autogen'd

* Resolution 1

* Resolution 2

* Resolution 3

* Resolution 4

* Fixed jitter at low angular velocities

More in the comment below
2024-07-21 18:58:38 -04:00
Blockyyy
1ac9ce8e4c
sequence_player_set_tempo, sequence_player_set_transposition (#224)
* Made Sequence function

* snake case
2024-07-21 18:56:18 -04:00
Mechstreme
73e9dd2c40
Fix bettercam zoom & pan level affecting main menu (#221) 2024-07-21 18:56:09 -04:00
Agent X
b78c438871 Merge branch 'main' into dev 2024-07-21 18:55:29 -04:00
JairoThePlumber
e4bdb1fb17
Fix Cheats Menu Mod Again (#238)
The Same Bug from Last Time is there but effects the first box instead, so I went to check and fixed what went wrong with the mod
2024-07-21 18:54:45 -04:00
Agent X
c9f07a8efc Whoops 2024-07-19 20:10:38 -04:00
Agent X
948f2bfe23 Small improvement to is_game_paused() 2024-07-19 12:09:05 -04:00
Agent X
627ea49c14 Sanity check MSAA 2024-07-18 14:42:53 -04:00
Agent X
5ba48c0329 Fix typos 2024-07-17 16:22:43 -04:00
Agent X
f0da60fa16 Update Character Select to v1.9.1 2024-07-17 16:05:09 -04:00
Agent X
c153162fa9 Disable demos for now, this whole main menu needs a rewrite 2024-07-17 16:05:09 -04:00
EmeraldLockdown
ba8d4b9c42
Enchantments for cross compiling intel on arm, and intel enchantments (#220) 2024-07-17 15:43:49 -04:00
Agent X
78d287406d DJUI interactable crash fix 2024-07-17 12:25:16 -04:00
Agent X
b015468728 Remove redundant checkbox 2024-07-17 12:10:12 -04:00
Agent X
9868f77c0d Revert broken IPv6 code on Windows 2024-07-17 12:09:36 -04:00
Agent X
4fdda85cbd Small formatting change in [CS] VL-Tone & Cjes Luigi 2024-07-17 10:44:39 -04:00
Agent X
a1d4e7f025 Fix compilation error 2024-07-17 10:44:39 -04:00
Hatch
32ec0199d8
Fix Cheat Mod Menu (#219)
Each cheat did not work as labelled. The checkbox for the second cheat listed activated the first cheat listed, and the third checkbox did the second cheat, and so on.

The "- 1" in Line 353 did not need to be there.
2024-07-17 10:38:49 -04:00
Agent X
73428e4d88 Hopefully fix crouching on the main menu once and for all 2024-07-17 08:41:18 -04:00
Agent X
594ff262bc a bunch of fixes (#216)
Nice job targeting the main branch Isaac

Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com>
2024-07-17 08:37:42 -04:00
Agent X
2b6a173f8b Added gFirstPersonCamera.forceYaw 2024-07-17 08:25:23 -04:00
Agent X
73ffdf6e98 Disable lobby entry buttons with mismatching versions 2024-07-16 16:00:29 -04:00
Agent X
fdaf425e84 This should fix a DJUI base crash 2024-07-16 13:27:44 -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
Prince Frizzy
1223c1b09c
Stop sounds before freeing them (miniaudio) 2024-07-15 14:51:56 -04:00
Prince Frizzy
ed0b8b177f
Fix Scrolling Textures Crash 2024-07-15 13:39:13 -04:00
Agent X
7ab8b7aaa0 Day Night Cycle DX v2.2.1 2024-07-15 12:57:02 -04:00
Agent X
9aac8abea6 Add debug panel to misc panel 2024-07-15 10:55:02 -04:00
Agent X
3d24cd7f6d Day Night Cycle DX v2.2 2024-07-15 10:48:01 -04:00
Agent X
e32c537525 Update built-in CS mods 2024-07-15 10:06:58 -04:00
Agent X
5e4ae9499b Change Nametags back to CAP color 2024-07-14 14:19:51 -04:00
EmeraldLockdown
035e04ee31
Set min macos ver based on if on intel or arm. Allow var to be edited (#209) 2024-07-14 12:57:48 -04:00
Agent X
84833065f1 Some changes 2024-07-14 11:37:48 -04:00
Mechstreme
80deea3b62
Update 4 example mods (#205)
* Update 4 example mods

* localize functions in water-level.lua
2024-07-13 14:46:41 -04:00
Agent X
7a2550dac3 Small fix 2024-07-12 20:27:00 -04:00
Agent X
60b9e43604 Fix first person a little and add pitch forcing 2024-07-11 23:10:51 -04:00
Agent X
fe0c766e76 Fix outdated hook name in hooks.md 2024-07-11 00:42:22 -04:00
Agent X
0fe122d1b2 Fix another instance of macOS gcc complaining about nothing 2024-07-10 12:21:54 -04:00
Agent X
91b61d2f8a Hide old lobbies not on sm64coopdx 2024-07-10 12:16:04 -04:00
Agent X
8690c0e4ee Increment version 2024-07-10 12:06:11 -04:00
Agent X
d9f3a7946c Make new IPv6 support only work on Windows to prevent direct connection breaking 2024-07-10 11:58:49 -04:00