Commit graph

27720 commits

Author SHA1 Message Date
Eidolon
5864cf40c0 Merge public master into internal master 2024-05-19 17:29:17 -05:00
Eidolon
e5e3438ed0 Merge branch 'fixInstaWhipRechargeLag' into 'master'
Don't change Instawhip Recharge's scale every tic (also minor stuff)

See merge request KartKrew/RingRacers!14
2024-05-19 22:26:52 +00:00
Eidolon
c36c876725 Update shaders.pk3 hash with indexing fixes 2024-05-19 17:26:23 -05:00
JugadorXEI
cfc8aaa068 Fix misaligned instawhip objects when under gravflip 2024-05-19 23:48:45 +02:00
JugadorXEI
a9408fd62d Set instawhip recharge's height offset from the start 2024-05-19 23:46:35 +02:00
Eidolon
033681630c Merge branch 'punchstopbrake' into 'master'
Allow using Spindash for trick input

See merge request KartKrew/RingRacers!15
2024-05-19 21:31:09 +00:00
JugadorXEI
636d7bb3ca Set instawhip recharge's scale only if it differs from the player's 2024-05-19 22:24:28 +02:00
katsy
d516926bd6 Allow tricking with the Spindash button 2024-05-19 15:08:08 -05:00
Eidolon
5887f4418b Merge branch 'kix' into 'master'
Block disabling Kickstart Accel during Tricks and when pressing Spindash (resolves #96)

Closes #96

See merge request KartKrew/RingRacers!20
2024-05-19 19:30:32 +00:00
Eidolon
6bcb848848 Merge branch 'snorlax' into 'master'
Remove leftover Record Attack lockout warnings (resolves #51)

Closes #51

See merge request KartKrew/RingRacers!16
2024-05-19 19:22:14 +00:00
Eidolon
f25367b9d3 Merge branch 'acs-printkill' into 'master'
Add ACS branch limit and implement printKill

See merge request KartKrew/RingRacers!22
2024-05-19 19:10:55 +00:00
Eidolon
c779e3e5fe Merge branch 'pwrlv-fix' into 'master'
Use integer arithmetic for pwrlv avg calculation

See merge request KartKrew/RingRacers!19
2024-05-19 19:02:32 +00:00
Callmore
5fbe9f9827 Use integer arithmetic for pwrlv avg calculation
This fixes an oversight with pwrlv average calculation that causes
the total to overflow with enough players or high enough pwrlv.
Hopefully this might fix that bug where pwrlv is shown as negative
on the server select menu.

Maintainer note: This is still imprecise but it fixes the overflow
without potentially disrupting game code.
2024-05-19 19:02:32 +00:00
toaster
d9ed882584 sdl/i_system.cpp: Remove FUNCNORETURN on signal_handler()
Fixes ERRORMODE compliation after !2372
2024-05-19 17:58:39 +01:00
Eidolon
2c119911a3 Substitute some unsafe chars for revision name
This ensures that the build system won't output something like
ringracers_rr/master.exe, among other potential issues.
2024-05-18 21:24:43 -05:00
Eidolon
234c7eca84 Make pipelines auto-interruptible by default
Fixes: KartKrew/Kart#1405
2024-05-18 21:19:17 -05:00
Eidolon
aa81b9a44f Put ccache dirs in build dir to avoid dirty worktree
Placing these directories at the root will make the git revision
detection consider the working directory to be dirty.
2024-05-18 21:19:17 -05:00
Eidolon
39823c4508 Always make debuglink .debug in CI 2024-05-18 21:19:17 -05:00
Eidolon
a4b254cb27 Use gitlab cache for vcpkg
Instead of using the install baked in the image, let's clone vcpkg
and set up a separate binary cache that can survive being cleaned.
This allows us to reuse built artifacts from the vcpkg manifest
baseline very quickly.
2024-05-18 21:19:17 -05:00
Eidolon
13b3619834 Configure CCACHE launcher for Debian amd64 CI
Let's not rely on the CMakeLists.txt to automatically detect and
use ccache. It's better to just explicitly specify it.
2024-05-18 21:19:17 -05:00
Eidolon
551f031f7c Set CI shallow clone depth to 20 2024-05-18 21:19:17 -05:00
Eidolon
6eb4a11ad7 Use default GIT_STRATEGY in CI
The "clone" strategy clones the entire repository, which takes
a significant amount of time. It's not needed, because the default
"fetch" strategy will reuse the executor's local clone and clean it
before the job scripts run.
2024-05-18 21:19:17 -05:00
Eidolon
b32bfd06f0 Expire artifacts after 1 days by default
There's no need to let these artifacts pile up since the only ones that
will be relevant to non-programmers are the latest from any given ref.
2024-05-18 21:19:17 -05:00
Eidolon
27ee559eaf Raise ccache limit to 300M
Ring Racers' object file output is considerably larger than SRB2.
50M is insufficient to hold even a single build.
2024-05-18 21:19:17 -05:00
Eidolon
0238113062 Separate gitlab CI into multiple yaml documents
The singular .gitlab-ci.yml is pretty beefy. Splitting it into
smaller files by job and job template will make maintaining the
individual jobs easier.
2024-05-18 21:19:17 -05:00
Eidolon
09c942f7cd Use rapidjson master in discord-rpc
The last stable version of rapidjson was in 2016, and it is
unlikely that neither rapidjson nor discord-rpc will receive a
stable release ever again. However, rapidjson has a lot of fixes
merged in their tree, so in order to fix gcc 14 compilation issues,
let's pull in that tree.
2024-05-18 21:19:17 -05:00
Eidolon
dbda46b578 Update vcpkg baseline, remove libvpx overlay
The upstream changes for libvpx on Windows were merged and so this
overlay is no longer needed.

Updating the baseline requires everyone to update their vcpkg repo
locally (git pull). It also upgrades all dependencies used.
2024-05-18 21:19:17 -05:00
AJ Martinez
52a32e0296 Merge branch 'fixItemUnderflow' into 'master'
Fix item amount underflow on item deflect

See merge request KartKrew/RingRacers!23
2024-05-19 00:50:28 +00:00
JugadorXEI
25d1f2f3fa Fix item amount underflow on item deflect 2024-05-19 00:50:28 +00:00
Eidolon
c44790749d Merge branch 'i-error-got-damn-it' into 'master'
Stop writing gamedata/config/profiles in I_Error

See merge request KartKrew/Kart!2379
2024-05-18 01:37:55 +00:00
Oni
aa616e20e7 Merge branch 'less-signal-handling-stuff' into 'master'
Do less in NEWSIGNALHANDLER handler

See merge request KartKrew/Kart!2372
2024-05-17 23:13:38 +00:00
Oni
6892614e7d Merge branch 'replay-ufo-smash' into 'master'
Fix Sealed Star GP replays after retrying

Closes #1388

See merge request KartKrew/Kart!2369
2024-05-17 23:07:07 +00:00
Oni
f39988b24a Merge branch 'planetary-mindelay' into 'master'
Titanic mindelay unfuck

Closes #1404

See merge request KartKrew/Kart!2384
2024-05-17 23:06:46 +00:00
Oni
86df8b7c54 Merge branch 'slower-cpu-shields' into 'master'
Add bot lshield/bshield prediction error

See merge request KartKrew/Kart!2386
2024-05-17 23:06:24 +00:00
Eidolon
6389f38a46 Make pipelines auto-interruptible by default
Fixes: KartKrew/Kart#1405
2024-05-17 16:16:01 -05:00
Eidolon
a10d18afdc Merge branch 'ci-improve' into 'master'
Gitlab CI improvements

See merge request KartKrew/Kart!2385
2024-05-16 23:41:31 +00:00
Eidolon
ae4e95777a Put the apt-cache in build/
Like with ccache, we want to make sure the git checkout is considered
clean during build.
2024-05-16 17:52:26 -05:00
Eidolon
8814bb5386 Put ccache dirs in build dir to avoid dirty worktree
Placing these directories at the root will make the git revision
detection consider the working directory to be dirty.
2024-05-16 17:32:33 -05:00
AJ Martinez
ac119e42ff Add bot lshield/bshield prediction error 2024-05-16 15:26:24 -07:00
Eidolon
e42b5c2cbf Always make debuglink .debug in CI 2024-05-16 15:42:04 -05:00
Eidolon
6b071e9512 Use gitlab cache for vcpkg
Instead of using the install baked in the image, let's clone vcpkg
and set up a separate binary cache that can survive being cleaned.
This allows us to reuse built artifacts from the vcpkg manifest
baseline very quickly.
2024-05-16 15:42:04 -05:00
Eidolon
939b42c8e3 Configure CCACHE launcher for Debian amd64 CI
Let's not rely on the CMakeLists.txt to automatically detect and
use ccache. It's better to just explicitly specify it.
2024-05-16 15:42:04 -05:00
Eidolon
bab86f0842 Set CI shallow clone depth to 20 2024-05-16 15:42:04 -05:00
Eidolon
abf1e02b14 Use default GIT_STRATEGY in CI
The "clone" strategy clones the entire repository, which takes
a significant amount of time. It's not needed, because the default
"fetch" strategy will reuse the executor's local clone and clean it
before the job scripts run.
2024-05-16 15:42:04 -05:00
Eidolon
344bc3094d Expire artifacts after 1 days by default
There's no need to let these artifacts pile up since the only ones that
will be relevant to non-programmers are the latest from any given ref.
2024-05-16 15:42:04 -05:00
Eidolon
afb965b114 Raise ccache limit to 300M
Ring Racers' object file output is considerably larger than SRB2.
50M is insufficient to hold even a single build.
2024-05-16 15:42:04 -05:00
Eidolon
80d1cc8262 Separate gitlab CI into multiple yaml documents
The singular .gitlab-ci.yml is pretty beefy. Splitting it into
smaller files by job and job template will make maintaining the
individual jobs easier.
2024-05-16 15:42:04 -05:00
toaster
f7fcffb9b3 Merge branch 'post-think-fix' into 'master'
PostThinkFrame during run only

See merge request KartKrew/Kart!2383
2024-05-16 12:03:31 +00:00
AJ Martinez
0647791c32 Mindelay fixes
- Don't apply mindelay to clients that are already slower than their mindelay, WTF
- Don't double apply mindelay to hosts to compensate for the above, WTF
2024-05-15 22:31:26 -07:00
Sally Coolatta
80ac9210c5 PostThinkFrame during run only
It's scary that it wasn't doing this before!
2024-05-15 18:46:59 -04:00