Commit graph

27689 commits

Author SHA1 Message Date
Eidolon
a160487556 Merge branch 'recording-pack-alignment' into 'master'
Fix pack alignment handling in screen capture

Closes RingRacers#41

See merge request KartKrew/Kart!2322
2024-04-30 20:42:38 +00:00
Eidolon
489dba16c3 Temporarily remove uses of RHI renderbuffers
OpenGL does not have renderbuffers until OpenGL 3.0 (contrast to
GLES which has them starting with 2.0). In order to allow people
with older GPUs to play the game for now (until ANGLE+GLES), I am
removing the use of renderbuffers in the game code. They aren't
needed because nothing actually needs a depth or stencil test yet.
Once HWR2 gets rolling, I'll add these back.

Fixes KartKrew/RingRacers#1
2024-04-30 14:56:13 -05:00
Eidolon
26fe683625 Fix pack alignment handling in screen capture
Some incorrect arithmetic (applying padding to each pixel instead
of each _row_ of pixels) caused the pixel data to be interpreted
incorrectly. This was both in the GL2 RHI driver for read_pixels
and in the ScreenCapture module.

Fixes KartKrew/RingRacers#41
2024-04-30 14:35:51 -05:00
Eidolon
0025e0fcfa Add random number to temp file names
Mitigates against multiple instances trying to write to the same
tmp file at the same time.
2024-04-30 14:25:58 -05:00
Eidolon
bc524cd0e9 Show exception message in profile saving 2024-04-30 14:25:58 -05:00
Eidolon
ed2036432b Use raw file IO instead of buffered when saving 2024-04-30 14:25:58 -05:00
Eidolon
723546a56b Add exception messages to data load I_Errors 2024-04-30 14:25:58 -05:00
Sally Coolatta
632872dca4 Fix Lv.MAX bots not being allowed to rank down 2024-04-30 14:24:12 -04:00
Sally Coolatta
ec22186506 Merge branch 'bot-small-tweakings' of https://git.do.srb2.org/KartKrew/Kart into bot-small-tweakings 2024-04-30 14:23:08 -04:00
Sally Coolatta
0438dfa770 Revert "Cap bot level increases"
This reverts commit 3d74f386dc.
2024-04-30 14:22:56 -04:00
Oni
d90a566ad7 Merge branch 'fix-long-autoroulette' into 'master'
Fix autoroulette confirm timer being blockable

Closes #1320

See merge request KartKrew/Kart!2316
2024-04-30 12:01:46 +00:00
Oni
f7804811ab Merge branch 'drift-regression' into 'master'
Fix drift end kick-out regression from SRB2Kart

See merge request KartKrew/Kart!2312
2024-04-30 12:00:42 +00:00
AJ Martinez
2ec6a688ab Base invinc timer 6 -> 7 2024-04-30 01:15:24 -07:00
AJ Martinez
7250bcc341 Bump dampening values up for midspeed driving 2024-04-29 23:27:44 -07:00
AJ Martinez
d1001ccc60 Weak bots don't whip 2024-04-29 20:21:37 -07:00
AJ Martinez
9dee22a7f6 Remove powerup timer debug print 2024-04-29 19:35:49 -07:00
AJ Martinez
fdf1be6a50 Grow/invinc tweakpass 2024-04-29 19:31:36 -07:00
Eidolon
1c36004e25 Merge branch 'rapidjson-fix' into 'master'
Don't use <iterator> in rapidjson for discord-rpc

Closes RingRacers#9 and #1302

See merge request KartKrew/Kart!2317
2024-04-29 20:12:01 +00:00
Eidolon
88bf5d2ae8 Set default netdemo_record value based on DEVELOP 2024-04-29 14:14:01 -05:00
Eidolon
ca8d0fc9dc Make netdemo_record not differ btwn DEVELOP and Release 2024-04-29 14:13:42 -05:00
Sally Coolatta
6d63167a0d G_CompatLevel
Checks for gameplay differences per DEMOVERSION. Allows us to make necessary handling changes without hurting the staff ghosts.
2024-04-29 11:02:03 -04:00
JugadorXEI
73b4533a53 Implement debugitemamount 2024-04-29 16:58:42 +02:00
Sally Coolatta
fb954490c1 Fix comment typo 2024-04-29 03:25:11 -04:00
Sally Coolatta
3d74f386dc Cap bot level increases 2024-04-29 03:15:15 -04:00
Oni
fd83529745 Merge branch 'less-stiff-turns' into 'drift-regression'
Reduce turn stiffening at high speed

See merge request KartKrew/Kart!2313
2024-04-29 06:02:17 +00:00
Sally Coolatta
eb94b9e6b0 Fix bot modifier not nerfing rings 2024-04-29 01:48:47 -04:00
Sally Coolatta
e287474ef1 Slowest bot rubberbanding at the end of maps 2024-04-29 01:35:29 -04:00
AJ Martinez
a989fcca50 Two-stage turn stiffness dependent on player weight 2024-04-28 16:12:09 -07:00
Oni
f0ea13109a Merge branch 'ballhog-dies-on-walls' into 'master'
Ballhog is destroyed on contact with walls

See merge request KartKrew/Kart!2318
2024-04-28 22:48:25 +00:00
James R
5f2a38475b Ballhog is destroyed on contact with walls 2024-04-28 15:43:00 -07:00
AJ Martinez
8e6ae6179d Slower level ups for Easy GP bots 2024-04-28 00:12:24 -07:00
AJ Martinez
b97c6e34c2 Fix K_PlayerTripwireSpeedThreshold breakage 2024-04-27 23:46:30 -07:00
Eidolon
a138917789 Don't use <iterator> in rapidjson for discord-rpc
Fixes KartKrew/Kart#1302
Fixes KartKrew/RingRacers#9
2024-04-27 23:07:59 -05:00
AJ Martinez
b3b0c5c9dc Fix autoroulette confirm timer being blockable 2024-04-27 20:13:57 -07:00
Eidolon
f60f5a8648 Check before using -mno-ms-bitfields 2024-04-27 21:40:41 -05:00
Eidolon
67ee82e1a7 Check if -mno-ms-bitfields is avail before using 2024-04-27 21:35:48 -05:00
Sally Coolatta
b70e72fc75 Higher bot level decrease on retry 2024-04-27 20:59:30 -04:00
Sally Coolatta
8eee6bd87c Tripwire requires more speed if rubberbanding 2024-04-27 20:55:01 -04:00
James R
3e5f6466a0 Base gentlemen delay on lowest average
Was previously based on the delay at the moment of
calculation, which may fluctuate. I changed it to use the
average because the number was flickering in the HUD.
2024-04-27 15:44:47 -07:00
James R
8103bd21c1 HUD: fix delay indicator online
- As a bonus, the mindelay setting of other players is now
  visible to everyone
2024-04-27 15:44:43 -07:00
Eidolon
33a9274f22 Merge branch 'fix-musl-compile' into 'master'
fix musl compile

See merge request KartKrew/RingRacers!3
2024-04-27 20:04:56 +00:00
Eidolon
fcabfba79b Merge branch 'fix-freebsd-build' into 'master'
Add support for FreeBSD

See merge request KartKrew/RingRacers!2
2024-04-27 20:02:50 +00:00
Sally Coolatta
92b8fe633a Reduce turn stiffening at high speed
This mechanic has been identical to SRB2Kart, but we go so much faster now that we wanna nerf it a lot.
2024-04-27 15:54:29 -04:00
Sally Coolatta
09e14ae8ae Increase turn solver snap
This value works better with the SRB2Kart drift regression fix
2024-04-27 15:49:52 -04:00
AAGaming
e523fe0323
don't use execinfo for backtraces on musl 2024-04-27 14:11:41 -04:00
Hanicef
99550f97bd Fix FreeBSD build 2024-04-27 16:42:08 +02:00
James R
64a4bcad34 HUD: fix alignment of delay indicator digits
- Tab
  - Fix alignment on right side of tab rankings
  - Fix alignment in milliseconds mode
- Fix packet loss indicator overlapping ms graphic
2024-04-27 04:18:37 -07:00
James R
1bf2b9a7db HUD: fix packet loss indicator offset for Brazil 2024-04-27 04:11:59 -07:00
James R
e0c33596e8 Sync mindelay setting to server
- Adds playerdelaytable, no UX changes
2024-04-27 04:09:21 -07:00
Sally Coolatta
4c9b9f0e64 Fix drift end kick-out regression from SRB2Kart 2024-04-26 22:31:12 -04:00