Commit graph

27896 commits

Author SHA1 Message Date
AJ Martinez
f60551bb18 2.3 trick compatlevel 2024-05-19 17:52:07 -07:00
AJ Martinez
3baf39a1fd Merge remote-tracking branch 'origin/master' into no-trick-input-filter 2024-05-19 17:10:14 -07:00
Eidolon
5089020eaf Merge branch 'backup-instead-of-tmp' into 'master'
Move old data/profiles to .bak before writing

See merge request KartKrew/Kart!2394
2024-05-19 23:31:26 +00:00
Eidolon
476a117c10 Merge branch 'position-color-reduce-vfx' into 'master'
Disable position num color animation on Reduce VFX

See merge request KartKrew/Kart!2398
2024-05-19 23:27:37 +00:00
Eidolon
377b60802f Merge branch 'position-reduce-vfx' into 'master'
Disable position bulb animations for Reduce VFX

See merge request KartKrew/Kart!2397
2024-05-19 23:27:09 +00:00
Eidolon
7c7f574f74 Merge public master into internal master 2024-05-19 18:24:38 -05:00
Eidolon
60549f03b1 Merge branch 'gravitycheat' into 'master'
Fix gravity CVAR crashing when changed from the menu (resolves #106)

Closes #106

See merge request KartKrew/RingRacers!21
2024-05-19 23:06:37 +00:00
katsy
017a067630 Fix gravity CVAR crashing when changed from the menu (resolves #106) 2024-05-19 23:06:37 +00:00
Eidolon
ef2f7d4e25 Fix shaders pk3 hash again 2024-05-19 17:42:28 -05:00
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
Eidolon
53832edafc Move old data/profiles to .bak before writing
The hypothesis for this patch is that the operating system has not actually
finished writing the file to disk when moving the tmp file into place. The
move operation is atomic, but the write is not, even when flushed or using
unbuffered IO. So we reorder these operations, make the old save .bak
atomically and write the new save in place.

I doubt saving this backup will actually be useful given the frequency of
saves in the game, but at the very least it leaves _some_ backup in place in
the event of failure.
2024-05-19 12:03:12 -05:00
Eidolon
92721a138a Disable position num color animation on Reduce VFX
Like with position bulbs, the position number takes a large portion of
the screen and flashes rapidly. This slows that rate to 25% of what it
is when Reduce VFX is off.
2024-05-19 11:59:14 -05: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
583b7937a3 Disable position bulb animations for Reduce VFX
In green resolutions, especially past 12 players, these bulbs take up a
large part of the screen and flash in a particularly intense way for
people with heightened photosensitivity. This disables the animations
while still presenting them effectively.
2024-05-19 02:11:51 -05:00
AJ Martinez
56a9a2044d Show Manual URL in messages, just in case 2024-05-18 21:29:18 -07:00
AJ Martinez
2679e0eae0 Add Online Manual and I_OpenURL stuff 2024-05-18 21:09:00 -07:00
AJ Martinez
0568c46005 Add automatic generic bump unstuck 2024-05-18 20:16:07 -07: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