Sal
2f7ed87530
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
James R
c2e242d27c
Fix floating point math
2020-11-07 13:48:37 -08:00
Hannu Hanhi
c902f9addb
R_FindPlane optimization from SRB2
2020-11-07 20:32:44 +02:00
LJ Sonic
ebfa4aafbc
Merge branch 'resend-gamestate' into 'next'
...
Resend gamestate when resynching
See merge request STJr/SRB2!829
2020-11-07 13:14:32 -05:00
James R
91a89d5d5e
Let's try an experiment: move the epoch forward as I_GetTime is called
...
This will make it even longer until time wraps around. Have you ever run a
srb2 server for 4 years straight?
2020-11-07 01:57:09 -08:00
GoldenTails
efa5b5d4ba
Remove 3 wasteful bytes of guaranteed blank memory from some place where it's not gonna matter that much
2020-11-07 03:49:21 -06:00
GoldenTails
f8c2209f62
fix dumb memcpy
2020-11-07 03:43:55 -06:00
James R
27fbf77922
Huge perfstats refactor
...
I needed to update it to make it functional with the precise timer. But I also
got sick of looking at the mess of sprintf followed by draw call.
2020-11-07 01:32:59 -08:00
James R
636307e9de
Use precise time for gif timing
2020-11-07 01:32:25 -08:00
James R
f07c6067e4
Use high precision timer, replace I_GetTimeMicros with I_GetPreciseTime and I_PreciseToMicros
2020-11-07 01:31:24 -08:00
GoldenTails
fb74fd8841
By default use the old gif_dynamicdelay v1 behavior, but keep v2 as an option.
2020-11-07 03:02:21 -06:00
James R
15b2d52c69
Remove win32 specific timer
2020-11-06 14:14:12 -08:00
James R
e87c3bd69e
Merge branch 'gif-dynamic-delay-v2' into 'next'
...
Give the GIF recorder some memory so frame delays are a little more accurate
See merge request STJr/SRB2!1198
2020-11-06 17:10:45 -05:00
James R
e2df4cf027
:V
2020-11-05 22:18:41 -08:00
Zachary McAlpin
2764c283d2
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
7efb33a38e
Added PlayerThink hook
2020-11-05 21:23:22 -08:00
James R
cacca05ed3
PreThinkFrame and PostThinkFrame hooks
...
Changes from e4d1b9491c ,
4456ff50ab ,
20494c4c42 ,
ee0e68d8dc .
2020-11-05 21:04:25 -08:00
James R
758a43385d
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
3d62b6f2ad
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
2ba99dac90
Improve COM_AddCommand boolean deprecated warning
2020-11-05 20:16:28 -08:00
James R
7e9922febf
COM_LOCAL makes your commands NetXCmd free, FUCK NetXCmd
2020-11-05 20:16:28 -08:00
James R
d996a6a3b9
Fuck magic numbers; COM_ flags for Lua commands!
2020-11-05 20:16:26 -08:00
James R
1cedb32e51
Let access spectator mobj
2020-11-05 20:05:04 -08:00
James R
3386ff6b90
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
745b293c47
Always allow access to the serverplayer
2020-11-05 20:00:21 -08:00
James R
cb7b7763cd
Do not factor height into sprite thickseg sorting
2020-11-05 18:45:52 -08:00
James R
fb181a5b38
Remove unused stuff
2020-11-05 18:45:51 -08:00
James R
9bb22d5fce
Check that top of sprite is above plane or bottom is below
...
This fixes slightly raised fofs drawing on top of sprites that should be in
front of them. Previously would check that the bottom of the object was above
the plane. Now also uses sprite offsets like the fof seg sorting does.
2020-11-05 18:45:43 -08:00
GoldenTails
6126e8badf
Make mapmusflags and mapmusname writable.
2020-11-05 18:12:35 -06:00
GoldenTails
fbd20c9591
Make skincolor_* CTF color variables writable.
2020-11-05 17:38:32 -06:00
GoldenTails
cf3d6eb0af
Make stoppedclock writable.
2020-11-05 15:22:45 -06:00
Sally Coolatta
c9755131bf
Merge branch 'master' into next
2020-11-05 16:15:42 -05:00
Sal
c33c24ae9a
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
GoldenTails
3125128be7
Make displayplayer writable.
2020-11-05 13:43:33 -06:00
GoldenTails
4a0fd2309e
Make gravity writable.
2020-11-05 12:39:03 -06:00
GoldenTails
69f24e34ad
Make token writable.
2020-11-05 12:38:47 -06:00
GoldenTails
7bf8a4d056
Make emeralds writable.
2020-11-05 12:37:49 -06:00
James R
131d592bbf
Do not factor height into sprite thickseg sorting
2020-11-05 04:55:01 -08:00
James R
648f1f0958
Revert "Do not sort sprite in front of plane if plane should render in front of sprite's plane"
...
This reverts commit 0d6f329b1d .
2020-11-05 00:20:14 -08:00
Jaime Passos
8599447c70
Remove RF_VOXELSPRITE
2020-11-05 00:44:10 -03:00
Jaime Passos
da0f2286e3
P_DeleteFloorSpriteSlope -> P_RemoveFloorSpriteSlope
2020-11-05 00:42:14 -03:00
Jaime Passos
cac8e06e7d
Remove NOWATER define
2020-11-05 00:00:08 -03:00
Jaime Passos
917f8bbb66
Plane optimization and cleanup
2020-11-04 23:46:34 -03:00
Jaime Passos
928ea1abc9
R_DrawSplatSprite -> R_DrawFloorSprite
2020-11-04 21:43:16 -03:00
GoldenTails
3af2031eae
Fix hyperwalls
2020-11-03 20:11:39 -06:00
Sal
d79c719ad9
Merge branch 'plane-sorting-fix' into 'master'
...
Fix sprite against FOF plane sorting
See merge request KartKrew/Kart!328
2020-11-03 13:06:49 -05:00
Sal
1aaddb9ea7
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
9e70ee086e
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
307a8aa778
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
Sal
7aeec3a95b
Merge branch 'instant-askjoin' into 'master'
...
Fix servers having a long delay before starting
See merge request KartKrew/Kart-Public!236
2020-11-03 13:04:10 -05:00