Commit graph

27782 commits

Author SHA1 Message Date
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
AJ Martinez
3610fb88e8 Fix Rideroids grabbing you out of lightsnake 2024-05-16 21:06:53 -07:00
AJ Martinez
a457b8f277 Don't flash item box/roulette in reducevfx 2024-05-16 20:13:34 -07:00
AJ Martinez
b630b2a312 Don't cancel whip charge while brakedrifting 2024-05-16 19:14:55 -07:00
AJ Martinez
3dd8595ba0 Gamestochat is a NetVar too 2024-05-16 18:04:09 -07:00
AJ Martinez
32cc9fdc4e gamestochat is not a Player var! 2024-05-16 18:01:18 -07:00
AJ Martinez
f7a9cb740a No trick input filter 2024-05-16 17:57:19 -07:00
AJ Martinez
864ece1bf2 Allow certain passwords to be toggled with cheats off 2024-05-16 17:44:40 -07: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