Commit graph

7022 commits

Author SHA1 Message Date
lachablock
98142864d7 comment formatting 2021-07-24 19:16:28 +10:00
lachablock
62529f748a Add Opulence objects 2021-07-24 19:08:04 +10:00
Sal
a0f0b473ab Merge branch 'more-fixes-jug' into 'next'
Various gameplay & stability fixes

See merge request KartKrew/Kart-Public!256
2021-07-06 13:42:41 -04:00
JugadorXEI
4fdbfb1dc2 Abstain from handling connections instead if the level is loading 2021-05-30 23:36:07 +02:00
JugadorXEI
63f87b4cec Use toaster's approach to fix 0th position 2021-05-30 18:45:38 +02:00
JugadorXEI
4d8d5d7fa9 More robust check against yellow springs on grown players. 2021-05-30 18:28:27 +02:00
JugadorXEI
2c1d5a72b6 We use FRACBITS out there 2021-05-28 16:43:09 +02:00
JugadorXEI
733cf20a10 Set GS_LEVEL after level load, set GS_WAITINGFORPLAYERS during level transition if GS_LEVEL is current GS 2021-05-28 16:32:21 +02:00
JugadorXEI
dfc942a628 Removed superfluous logic that was causing midair drift charge to disappear 2021-05-20 20:21:08 +02:00
JugadorXEI
df769a13e4 Fix grown players no spark/wrongdrift interaction with yellow spring panels 2021-05-20 19:39:32 +02:00
JugadorXEI
bf911d02cb Thunder Shield now has COOLDOWNONSTART 2021-05-20 19:24:56 +02:00
JugadorXEI
e123f4bd53 Fix 0th position bug 2021-05-19 23:19:43 +02:00
JugadorXEI
5882338192 Fix rare sink crash, fix jawz particles hang, fix magnet landing 2021-05-06 03:10:01 +02:00
Sal
ff26ff9b61 Merge branch 'small-fixes-jug' into 'master'
Discord Invite Fixes + DUMPCONSISTENCY flag for makefile

See merge request KartKrew/Kart-Public!255
2021-04-20 15:12:48 -04:00
JugadorXEI
ea56bd472c Simply return address, don't allow self_ip to be possibly written as something else 2021-04-13 06:56:14 +02:00
JugadorXEI
d7e8642236 Discord Invite Fixes + DUMPCONSISTENCY flag for makefile 2021-04-13 00:33:06 +02:00
Sal
6e33b5281d Merge branch 'discord-invite-fix' into 'master'
DRPC: Wait for join secret to be ready

See merge request KartKrew/Kart-Public!248
2021-04-07 17:47:59 -04:00
Sal
977917e61d Merge branch 'no-gamma-shortcut-v1' into 'master'
Replace gamma shortcut with a fullscreen toggle

See merge request KartKrew/Kart-Public!254
2021-04-07 17:42:53 -04:00
Sal
4c1ae5d649 Merge branch 'mines-no-fullbright' into 'next'
Mines lost their fullbright between inception and v1 release

See merge request KartKrew/Kart-Public!253
2021-04-07 17:38:52 -04:00
Sally Coolatta
a70faeccff Merge branch 'master' into next 2021-04-07 17:14:30 -04:00
Sal
24c234f968 Merge branch 'ensure-map-title-level-header' into 'next'
Allocate non-existent level header for G_BuildMapTitle

See merge request KartKrew/Kart-Public!252
2021-04-07 15:47:17 -04:00
Sally Coolatta
35b83ead37 Mines lost their fullbright between inception and v1 release
I got so mad about this I brought the fix to v1 also
2021-04-07 03:16:27 -04:00
Sal
967cff1281 Merge branch 'ogl-respawn-fix' into 'master'
Fix unnecessary texture reloads on respawn in opengl

See merge request KartKrew/Kart-Public!251
2021-03-21 04:02:37 -04:00
Sal
8e4171e2f9 Merge branch 'fix-ra-crash' into 'master'
Fix RA crash

See merge request KartKrew/Kart-Public!250
2021-03-21 04:02:28 -04:00
toasterbabe
3be489f6dd Fix crash on loading level without a header.
(cherry picked from commit 7556b407b247a9bfb9420781b8fa1ac4facce07d)
2021-03-20 20:58:03 -07:00
Sally Coolatta
6573904ec5 Fuck the gamma shortcut, replace it with a fullscreen toggle 2021-03-12 11:55:54 -05:00
Hannu Hanhi
dbf744845d Fix unnecessary texture reloads on respawn in opengl by removing unneeded V_SetPalette calls 2021-03-12 18:52:58 +02:00
Ashnal
f01697bfdb Prevent the connection from being canceled when in Record Attack
Fixes a crash that can happen when starting RA attempts if you press
keys/buttons that would cancel a netgame connection
2021-03-08 00:48:15 -05:00
Sally Coolatta
ffec5f632b Merge branch 'master' into next 2021-02-27 00:38:43 -05:00
Sally Coolatta
3f150fbe05 If the join secret isn't ready right away, wait for the next update instead of trying to loop for it again immediately
I believe this may be the cause of the invite crash some people have noticed in master, but I'm not sure, needs tested.
2021-02-27 00:37:15 -05:00
Sal
0241b73dbe Merge branch 'large-address-aware' into 'master'
Add large address aware flag

See merge request KartKrew/Kart-Public!246
2021-01-26 18:13:37 -05:00
himie
1f5e9fd802 Add large address aware flag
This allows the final exe to use more than 2gb of RAM in a 64-bit system
which should get rid of most out of memory errors on 32-bit builds
2021-01-25 17:00:09 -06:00
Sal
235c6cbf49 Merge branch 'fix-pause-refocus-mute' into 'master'
Fix pausing then refocusing the window causing the music to stay muted

See merge request KartKrew/Kart-Public!244
2020-11-27 16:45:02 -05:00
Sal
3a95266e3d Merge branch 'microwavable-thinkframe' into 'next'
Add a Lua global to tell if you are in the preticker

See merge request KartKrew/Kart-Public!245
2020-11-27 16:44:47 -05:00
James R
1a3e883b4e Lua: "defrosting" global to tell how many tics are processing in the preticker 2020-11-24 19:32:01 -08:00
James R
6533a728db Always unmute music on refocus
If the game is paused, music will be resumed when unpause anyway.
2020-11-13 17:30:23 -08:00
Sal
5ec44ba3fa Merge branch 'consoleplayer-dedicated' into 'next'
Fix not being able to access consoleplayer as a dedicated server + other more consistent checks

See merge request KartKrew/Kart-Public!240
2020-11-10 14:50:22 -05:00
Sal
4c5d69b714 Merge branch 'no-aprox-dist' into 'next'
Use R_PointToDist2 over FixedHypot, and FixedHypot over P_AproxDistance

See merge request KartKrew/Kart-Public!243
2020-11-10 14:50:08 -05:00
Sally Coolatta
c23364db12 Actually, lets just fix FixedHypot instead.
Now FixedHypot uses the code from R_PointToDist2, and R_PointToDist2 just calls FixedHypot.

Ultimately, this branch was intended to get rid of a redundant way to retrieve distance and replace it with the one that was actually good at its job. So consolidating FixedHypot and R_PointToDist2 together is just an extension of that.
2020-11-08 00:45:16 -05:00
Sally Coolatta
104208fc84 Use R_PointToDist2 instead
Apparently overflows less often
2020-11-07 23:56:46 -05:00
Sally Coolatta
3ad5c0af48 Merge branch 'master' into next 2020-11-07 22:21:53 -05:00
Sally Coolatta
d6c497065e Use FixedHypot over P_AproxDistance
Not convinced that the small speed benefit from P_AproxDistance is worth the "aproximate"[sic] results it gives. Let's instead try a define to replace it with FixedHypot. In Lua, the function gives a deprecated warning.

Inspired by the hyperwall fix for vanilla, except for everything. From little testing, actively improves waypoint checks, bumping, speed checks, wall collisions, Jawz targetting, Lightning Shield attacks, so on.

The only way I see this as a potential downgrade is A_Look (and related functions) getting slower, which are barely used in Kart.
2020-11-07 19:47:50 -05:00
Sal
4c2b6de02c Merge branch 'lua-ports' into 'next'
Some Lua ports from 2.2

See merge request KartKrew/Kart-Public!241
2020-11-07 18:30:59 -05:00
Sal
6ed14a8dba Merge branch 'srb2-findplane-backport' into 'master'
R_FindPlane optimization

See merge request KartKrew/Kart-Public!242
2020-11-07 18:30:46 -05:00
Hannu Hanhi
8ee560f216 R_FindPlane optimization from SRB2 2020-11-07 20:32:44 +02:00
James R
130a1ccc98 :V 2020-11-05 22:18:41 -08:00
Zachary McAlpin
a9e851bcf5 Execute LUAh_PlayerThink(player) at the end if the player has a valid mobj_t object 2020-11-05 21:26:24 -08:00
Zachary McAlpin
5921d17cc0 Added PlayerThink hook 2020-11-05 21:23:22 -08:00
James R
a5db4ca572 PreThinkFrame and PostThinkFrame hooks
Changes from 58dd578b094639405d452593562e0f8cb2b482ce,
a36920808b74e068d582dda5a3b75bdf64246463,
41c902b819ac8fdef173c4ba76a8c50ad8107190,
60928db0e0b08fee7ceddd5515adf2246bb655c3.
2020-11-05 21:04:25 -08:00
James R
3e31bc9e45 Add CV_Set, CV_SetValue, CV_StealthSet, CV_StealthSetValue and CV_AddValue to Lua
CV_SetValue merged with CV_Set (same with CV_StealthSetValue and CV_StealthSet).
2020-11-05 20:23:43 -08:00