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
JugadorXEI
eea337029a
Merge remote-tracking branch 'upstream/next' into next
...
Keeping this up to date.
2021-04-08 00:16:30 +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
Louis-Antoine
ab7ccbc5d5
Expose "server" and "dedicated" to Lua scripts
...
Careful! Both are local variables and are always false for clients,
and therefore should obviously not be used in anything gamelogic-related.
2020-11-05 20:19:58 -08:00
James R
9f54ad4ea3
Improve COM_AddCommand boolean deprecated warning
2020-11-05 20:16:28 -08:00
James R
933ee4e961
COM_LOCAL makes your commands NetXCmd free, FUCK NetXCmd
2020-11-05 20:16:28 -08:00
James R
bb97e0805e
Fuck magic numbers; COM_ flags for Lua commands!
2020-11-05 20:16:26 -08:00
James R
7890c9b83a
Let access spectator mobj
2020-11-05 20:05:04 -08:00
James R
9e586c348c
Allow accessing a player even if there is no mobj
...
The worst part is you could've just saved the player userdata and accessed it
later anyway while player.mo is nil.
2020-11-05 20:04:14 -08:00
James R
29d8e44055
Always allow access to the serverplayer
2020-11-05 20:00:21 -08:00
Sally Coolatta
1d8608c00d
Merge branch 'master' into next
2020-11-05 16:15:42 -05:00
Sal
226518dc8f
Merge branch 'spb-polyobject-fix' into 'next'
...
Fix polyobject and SPB 'lastlook' interaction crash
See merge request KartKrew/Kart-Public!239
2020-11-05 16:14:25 -05:00
Sal
a5ff1bd99d
Merge branch 'download-wrong-checksum' into 'master'
...
Download files if they are found with wrong checksum
See merge request KartKrew/Kart-Public!238
2020-11-03 13:05:26 -05:00
Sal
583eede2b8
Merge branch 'mute-music' into 'master'
...
Mute music instead of pausing if lose focus
See merge request KartKrew/Kart-Public!235
2020-11-03 13:05:06 -05:00
Sal
a8b37c6ec3
Merge branch 'http-downloads-auth' into 'master'
...
Command for http downloads with basic auth
See merge request KartKrew/Kart-Public!233
2020-11-03 13:04:43 -05:00