Sal
b4c3cd5e1b
Merge branch 'stupid-sound-volume' into 'next'
...
Apply volume to sounds that have an origin
See merge request KartKrew/Kart-Public!223
2020-09-11 12:17:19 -04:00
Sal
460c627274
Merge branch 'name-change-spam' into 'next'
...
Don't let players change their name more than five times per minute
See merge request KartKrew/Kart-Public!221
2020-09-11 12:17:00 -04:00
Sally Coolatta
9ccaaafabd
6 -> 2, void the now unused parameter
2020-09-11 12:14:08 -04:00
James R
11ddcfa9a1
int -> INT32
2020-09-11 09:00:18 -07:00
Sal
dc91934d0a
Merge branch 'save-renderer' into 'next'
...
Save renderer to file
See merge request KartKrew/Kart-Public!220
2020-09-11 11:59:51 -04:00
James R
5077b1ffef
When changing masterserver_update_rate, only update if elapsed time within the new rate
2020-09-11 06:50:31 -07:00
James R
93d3808307
Register/unregister server by changing cv_advertise
2020-09-11 06:49:41 -07:00
James R
901ea3c18b
Basically, update master server code to v2
...
Removes rooms, replaced with cv_advertise and "Advertise" on the host menu.
According to the new API, SRB2APPLICATION is sent instead of MODID. A contact
field was added, but there is no means of accessing it or setting it.
As a slight change, the server list will be populated even on an outdated
version of the game. (The new API was designed with this in mind.) The update
alert is still presented first of course.
2020-09-11 06:11:41 -07:00
James R
22177753d2
Apply volume to sounds with origin too
...
Previously sounds with an origin would always start at max volume. This is
because the distance calculation adjusts the volume, and that volume needs to
be updated every tic as distance changes. Storing the original volume works.
2020-09-08 22:40:42 -07:00
Sally Coolatta
2f2e2200f4
Redo Battle item balance
...
- Far more inclined to give you Orbinaut, Jawz, Invincibility, and Grow. Far less inclined to give you Bananas or Sneakers.
- Item odds no longer scale with bumper count differences.
2020-09-02 02:53:06 -04:00
James R
17f75903b0
Don't let players change their name more than five times per minute
2020-08-31 20:08:22 -07:00
James R
48b018b2b4
Oops :v
2020-08-31 19:34:43 -07:00
James R
83c2a7d178
Save chosen renderer to file, use on startup if no -software or -opengl parameter
2020-08-31 19:29:09 -07:00
James R
3e6b45abe9
Just SetCurrentDirectory to the exe's folder on windoze
2020-08-31 01:23:56 -07:00
Sally Coolatta
328d6d9a36
Increase cipher length
2020-08-31 00:25:28 -04:00
Sally Coolatta
1c47841487
Remove default dirs on Windows
...
Cause more issues than fixes. Still around for Linux.
2020-08-31 00:06:47 -04:00
Sally Coolatta
da0d0e41df
Expand IP_SIZE
2020-08-30 23:41:27 -04:00
Sally Coolatta
651d25a516
Move to D_RegisterServerCommands
2020-08-30 23:35:41 -04:00
Sally Coolatta
85884ad4e2
Bruh, lowercase
2020-08-30 23:31:54 -04:00
Sally Coolatta
6ca451da45
Wrong file
2020-08-30 23:26:00 -04:00
Sally Coolatta
7dea9d28b9
Dedicated servers can change discordinvites without needing RPC support
2020-08-30 23:20:06 -04:00
James R
6d2c7f4ae7
NO_DISCORDRPC to disable rich presence on Windows
2020-08-30 19:11:30 -07:00
James R
7ab1c4a2df
Update versions to 1.3
2020-08-30 19:06:31 -07:00
James R
0371a113ef
Update patch.kart asset hash
2020-08-30 19:02:31 -07:00
James R
5e9c197f8a
Merge remote-tracking branch 'origin/master' into next
2020-08-30 19:01:04 -07:00
Sal
8acc2b6f3c
Merge branch 'world-tour' into 'next'
...
Flush random map pool after all but 3 are played
See merge request KartKrew/Kart-Public!216
2020-08-30 21:49:20 -04:00
Sal
b0f89a5dba
Merge branch 'easy-colors' into 'master'
...
Caret color codes in server name
See merge request KartKrew/Kart-Public!218
2020-08-30 21:49:03 -04:00
Sal
1aca163d12
Merge branch 'discord-rpc-support' into 'next'
...
Discord Rich Presence
See merge request KartKrew/Kart-Public!207
2020-08-30 21:48:44 -04:00
Sally Coolatta
29f156aac2
Use ENTER and ESC
...
A and B are v2 terminology
2020-08-30 21:42:04 -04:00
James R
bca656e4ac
Merge branch 'master' into next
2020-08-29 18:22:19 -07:00
James R
daf6e66268
Fix stupid NONET
...
(cherry picked from commit 679bfa21edec6b652def93082da5586e6c755678)
2020-08-29 18:19:39 -07:00
James R
95a026c98d
C90?
...
(cherry picked from commit 1f38db46298181d117432e12e88b326a92b4b785)
2020-08-29 18:19:15 -07:00
James R
3f842937a8
Merge remote-tracking branch 'origin/master' into next
2020-08-29 11:26:52 -07:00
Sally Coolatta
82bfdf9ccc
Add join/leave notification sounds
2020-08-27 20:10:25 -04:00
Sally Coolatta
17318ceec7
This should be set for server too!!
2020-08-27 19:36:37 -04:00
Sally Coolatta
51dce9707f
Attach initial join discord info to servercfg, so that we don't have a pause from needing to also send XD_DISCORD
...
XD_DISCORD is now reserved for when the options are changed mid-game
2020-08-27 19:14:45 -04:00
Sally Coolatta
c165b0761c
Misc changes to how the program runs
...
- Call DRPC_Init at the end of D_SRB2Main instead of in the middle
- Call Discord_RunCallbacks in D_SRB2Loop instead of G_Ticker
- Fix errorcount nums in I_Error, an old leftover from when Discord_Shutdown was not handled by I_AddExitFunction
2020-08-27 18:50:36 -04:00
James R
54c3aed86c
Convert caret color codes to SRB2 color codes
2020-08-27 15:44:06 -07:00
James R
f802e9fbcb
Convert from caret colors when sending SERVERINFO
2020-08-27 15:43:20 -07:00
Steel Titanium
35122d3a22
Expose demo.playback to Lua
2020-08-27 14:58:46 -04:00
TehRealSalt
86754cf820
Flush random map pool after all but 3 are played
2020-08-27 14:32:44 -04:00
James R
4c816f4059
Say DEFAULTDIR not .srb2kart
2020-08-26 23:37:52 -07:00
James R
6e3facf8f4
Check DEFAULTDIR for srb2.srb after cwd
2020-08-26 20:20:40 -07:00
Sally Coolatta
cb5ab33a93
Merge branch 'next' into discord-rpc-support
2020-08-26 12:56:58 -04:00
Sally Coolatta
ee1ea21336
Merge branch 'master' into next
2020-08-26 12:56:38 -04:00
Sal
f87b883ba5
Merge branch 'various-compiling-fixes-2' into 'master'
...
Fix some compile flags
See merge request KartKrew/Kart-Public!213
2020-08-26 09:58:35 -04:00
ThatAwesomeGuy173
27b72ccbf5
Replace 'ignoring skin' debug print with a proper console warning
2020-08-25 23:13:58 -06:00
Sal
34b6998b2e
Merge branch 'various-compiling-fixes' into 'next'
...
Various compiling fixes
See merge request KartKrew/Kart-Public!212
2020-08-25 18:36:51 -04:00
James R
04d774c765
Fix NOHW compiling
2020-08-24 18:06:00 -07:00
James R
3437b0690a
Kill NOHS
2020-08-24 17:58:39 -07:00
James R
16fc87edcf
Fix NOMIXER compiling
2020-08-24 17:55:42 -07:00
James R
fbde926497
Fix NOPNG compiling
2020-08-24 17:52:55 -07:00
James R
0d57ba1d02
Fix NOGME compiling
2020-08-24 17:51:01 -07:00
Sal
bea6b6a9d2
Merge branch 'fix-asktime-really' into 'next'
...
Avoid underflows on connection screen timer (fixes hosting servers)
See merge request KartKrew/Kart-Public!211
2020-08-24 16:09:33 -04:00
Steel Titanium
c6164a1947
Initialize this variable
2020-08-24 01:25:34 -04:00
Steel Titanium
41c742a699
Hopefully the last time...
2020-08-24 01:18:38 -04:00
Steel Titanium
87d2ad0c23
Remind me why NONET exists?
2020-08-24 01:13:59 -04:00
Steel Titanium
04b7051141
This is just stupid
2020-08-24 01:06:10 -04:00
Steel Titanium
84bab3fc9f
Turns out compiling with the internal version of curl was broken on CMake the entire time 🙃
2020-08-24 01:00:28 -04:00
Steel Titanium
d4006d00c3
Screw you C90
2020-08-24 00:58:14 -04:00
Steel Titanium
509c57a8d6
Haha NONET...
2020-08-24 00:56:53 -04:00
Steel Titanium
e58c9ac410
It's discord-rpc, not libgme
2020-08-23 17:45:31 -04:00
Steel Titanium
d9cbb69327
Better CMake support
...
No idea if it compiles on Mac, it does on Linux though, at least for me.
2020-08-23 16:15:33 -04:00
Sally Coolatta
585cb1cfe3
Finish DEVELOP mode functionality
2020-08-23 07:15:33 -04:00
Sally Coolatta
720eced665
Attempt to improve discord-rpc checking in CMake
...
Haven't ever gotten CMake to compile SRB2, so I'm unable to really check if this works
2020-08-23 06:45:35 -04:00
Sally Coolatta
175fa43c90
Update win 32 bit libraries, implement win 64 bit libraries
2020-08-23 05:47:55 -04:00
Sally Coolatta
e2f3e76db8
Merge branch 'next' into discord-rpc-support
2020-08-23 05:32:32 -04:00
Sal
88e7b6198d
Merge branch 'lineriding-b-gone' into 'next'
...
Kill offroad line riding
See merge request KartKrew/Kart-Public!199
2020-08-23 05:09:55 -04:00
Sally Coolatta
7d380c326b
Merge branch 'master' into next
2020-08-23 04:44:27 -04:00
Sally Coolatta
3ce6b8a54f
Fix version string
2020-08-23 04:44:05 -04:00
Sal
d0629a9c13
Merge branch 'fix-ogl-timedemo' into 'master'
...
Fix timedemo in OpenGL mode
See merge request KartKrew/Kart-Public!209
2020-08-23 04:38:57 -04:00
Sal
3f16ef2eaa
Merge branch 'misc-optimizations' into 'master'
...
Remove ESLOPE POLYOBJECTS POLYOBJECTS_PLANES #ifdefs (backport srb2 2.2)
See merge request KartKrew/Kart-Public!204
2020-08-23 04:38:05 -04:00
James R
5daaef7e87
Avoid underflow hacks completely with asktime
2020-08-22 18:38:20 -07:00
James R
89ba08a376
Make join requests options on pause menu selectable even if you're already in the menu
2020-08-22 17:16:49 -07:00
James R
805fb01df9
Skip XD_DISCORD payload in non Discord builds
2020-08-22 16:26:15 -07:00
Hannu Hanhi
4210352be9
Fix timedemo in OpenGL mode
2020-08-23 00:10:50 +03:00
Hannu Hanhi
5c13727aac
Fix replay recording memory leak
2020-08-22 22:04:45 +03:00
Sally Coolatta
084756ec72
Fix XOR not working
2020-08-22 09:46:25 -04:00
Sally Coolatta
5de27be169
Merge remote-tracking branch 'public/next' into discord-rpc-support
2020-08-22 07:28:21 -04:00
Sally Coolatta
e5238d095f
Remove timer variable
...
Doesn't feel necessary to me anymore, especially with how the menu works
2020-08-22 07:25:47 -04:00
Sally Coolatta
f61e3a77bd
Ask to join is a menu option, rather than trying to replace your menu temporarily.
2020-08-22 07:16:52 -04:00
lachwright
32f2ed4a53
Correct misplaced MT_ARIDTOAD listing
2020-08-22 17:35:31 +08:00
Sally Coolatta
6f9025a14d
Merge branch 'discord-rpc-support' of https://git.magicalgirl.moe/KartKrew/Kart into discord-rpc-support
2020-08-22 05:03:43 -04:00
Sally Coolatta
3d5d5ad8b5
Always have XD_DISCORD defined, so that people compiling without Discord support can connect to servers that do.
2020-08-22 05:03:08 -04:00
lachwright
e01c7aef32
Compile m_menu.c without HAVE_DISCORDRPC
2020-08-22 16:58:59 +08:00
Sally Coolatta
3c128660b4
Add envelope icon, add sounds
2020-08-22 04:54:08 -04:00
Sally Coolatta
98f586a2f9
Menu is pretty now
2020-08-22 03:52:07 -04:00
Sally Coolatta
571c670670
Add some options, maxplayer/allownewplayer dont need to be netvars anymore
2020-08-22 01:53:27 -04:00
Sally Coolatta
8ff62cdc7f
Base xor off of inital seed
2020-08-22 00:11:33 -04:00
Sally Coolatta
e0d0a3a74e
Ignore any duplicate requests
...
You will still get a message for them, so if they're being annoying you will want to block them anyway, but at least it won't clog up the game.
2020-08-22 00:01:56 -04:00
Sally Coolatta
4d8c65bb73
Don't reset menu in drawing function
2020-08-21 04:17:36 -04:00
Sally Coolatta
983a978c12
Merge branch 'discord-rpc-support' of https://git.magicalgirl.moe/KartKrew/Kart into discord-rpc-support
2020-08-21 04:14:36 -04:00
Sally Coolatta
339be6f90e
Invite menu started
...
Functions! Is not pretty yet!
2020-08-21 04:14:33 -04:00
James R
0b07d0ed6f
curl_global_cleanup
2020-08-20 22:36:41 -07:00
Sally Coolatta
7b1e14d017
Don't show map image for title screen demos
2020-08-21 01:18:40 -04:00
Sally Coolatta
6a86d86828
XOR IP addresses before sending them to Discord
...
Not complex because we aren't sending anything that isn't easily accessible via the Master Server anyway, just means we aren't sending plain-text IPs to Discord. Might be improved by basing the XOR key on other values (base RNG, maybe version) so that it's not like *right* there
2020-08-21 01:16:11 -04:00
Sal
0ca9f8f07d
Merge branch 'conenction-screen-improvements' into 'next'
...
Connection screen improvements
See merge request KartKrew/Kart-Public!187
2020-08-21 00:11:37 -04:00
Ashnal
9e1d7146ad
Fixed retry timeout to no ttrigger when starting a local server
2020-08-20 23:38:04 -04:00
Ashnal
247239c2bc
Add return false to the connect timeout
2020-08-20 23:09:12 -04:00
James R
5b0cb1afcb
Merge remote-tracking branch 'origin/master' into next
2020-08-20 19:55:03 -07:00