Commit graph

1604 commits

Author SHA1 Message Date
smallmodel
cd48272fbb
Implemented server-side footstep simulation 2023-09-02 23:53:46 +02:00
smallmodel
a5a146bb02
Added and using Entity::PlayNonPvsSound 2023-09-02 23:51:37 +02:00
smallmodel
c901bcf321
Call Sys_PrintBackTrace() directly from Sys_SigHandler() 2023-09-01 22:53:08 +02:00
smallmodel
8f3142e532
Display the header/footer before printing the backtrace 2023-09-01 22:52:52 +02:00
smallmodel
88438d6db4
Removed signal handlers from g_main.cpp as it's handled by the main app directly 2023-09-01 22:49:58 +02:00
smallmodel
7348734070
Fixed m_bFootOnGround values being set incorrectly 2023-09-01 22:49:53 +02:00
smallmodel
a99a4a3a2b
Clear the top value of a return command, if the listener is NULL 2023-08-30 23:34:29 +02:00
smallmodel
7bc8c3ab5b
Fixed crate overlapping warning (when crates are actually not overlapping) 2023-08-30 23:33:42 +02:00
smallmodel
2a58fbdd22
Formatted document 2023-08-30 23:33:00 +02:00
smallmodel
d102f5a88a
set EV_LINKDOORS to -6.0f instead of -5.0f 2023-08-30 23:32:36 +02:00
smallmodel
8227f7125b
Added SetDoorType and ShowInfo 2023-08-30 23:29:23 +02:00
smallmodel
673535dc08
Clear aliases in CL_Vid_Restart_f 2023-08-30 21:54:15 +02:00
smallmodel
9750489d07
Don't play sound if current_entity is NULL 2023-08-30 21:54:01 +02:00
smallmodel
53c6224ed0
Set ENGINE_VERSION to 3.0 2023-08-30 21:53:40 +02:00
smallmodel
f84794acbe
Added sv_pure support from ioq3 and mohaas/mohaab 2023-08-30 20:35:47 +02:00
smallmodel
9e535e509a
Fixed snapshot ignoring "snaps" value from client 2023-08-30 19:59:45 +02:00
smallmodel
489210424f
Fixed SVC_Status infinite loop with names longer than 16 2023-08-30 19:36:38 +02:00
smallmodel
394abbdb6f
Fixed IPv6 not working with connect command 2023-08-30 19:36:17 +02:00
smallmodel
5fdeb92429
Readded openmohaa to version string 2023-08-30 01:08:09 +02:00
smallmodel
11cc39e41b
Fixed pain animation playing indefinitely 2023-08-30 01:07:52 +02:00
smallmodel
b3d5851fdc
Fixed optimization not working when a player is visible near a wall 2023-08-30 01:07:32 +02:00
smallmodel
5c25839bab
Added a feature that plays sound to clients not seeing entities (like not seeing other players) 2023-08-29 22:05:48 +02:00
smallmodel
fbd314b447
Fixed pitch being used instead of volume 2023-08-29 22:04:18 +02:00
smallmodel
86888a32d4
Added SV_ClientSound 2023-08-29 21:55:24 +02:00
smallmodel
37c2d22b10
Added Frame_Commands_Client 2023-08-29 20:25:11 +02:00
smallmodel
19758ef75d
Fixed entity optimization
Added a feature to always optimize players who don't see another player
2023-08-29 20:01:51 +02:00
smallmodel
519ccc90f7
Added sv_netoptimize_vistime 2023-08-29 20:00:27 +02:00
smallmodel
b592d15d1f
Added netoptimize enum types 2023-08-29 20:00:13 +02:00
smallmodel
78d70a892c
Fixed leanAngle being never 0 2023-08-29 20:00:03 +02:00
smallmodel
dbcf4c1800
Use GT_SINGLE_PLAYER instead of comparing non-zero 2023-08-29 18:48:36 +02:00
smallmodel
cbd4630b3c
SV_MasterHeartbeat: Use MAX_HEARTBEAT_TIME instead of the constant 2023-08-29 18:48:09 +02:00
smallmodel
92fdfe3f35
Moved MIN_HEARTBEAT_TIME and MAX_HEARTBEAT_TIME to sv_gqueryreporting.h 2023-08-29 18:45:46 +02:00
smallmodel
8b563e5232
Fixed heartbeat being always sent every frame 2023-08-29 08:17:23 +02:00
smallmodel
aeb4875fa5
Commented out call to WSACleanup() (as it is already handled by the engine) 2023-08-29 01:08:33 +02:00
smallmodel
5ebb9c61f9
Removed call to NET_Init (already called from main()) 2023-08-29 01:08:09 +02:00
smallmodel
c0e5b8fe15
Entities visibility enhancement
Implemented SV_WorldTrace(), SV_ClientIsVisibleTrace(), EntityDistCheck() and SV_ClientIsVisible()
Entities also will be hidden when:
- Their parent are not sent to clients
- They don't have a model
- They are behind t he farplane
- Clients can't see eachother with sv_netoptimize
2023-08-29 00:44:33 +02:00
smallmodel
f852efea7d
Added cvars 2023-08-29 00:04:07 +02:00
smallmodel
664ae905bb
Fixed lastRadarTime and lastVisCheckTime fields 2023-08-29 00:03:44 +02:00
smallmodel
243b0fd109
Added sv_netprofile, sv_netprofileoverlay, sv_netoptimize and g_netoptimize 2023-08-29 00:03:28 +02:00
smallmodel
43b0944403
Added centroid in entityShared_t and removed currentOrigin 2023-08-29 00:03:07 +02:00
smallmodel
ecc3c9f7b4
Renamed SVF_HIDEOWNER to SVF_SENT 2023-08-28 23:00:58 +02:00
smallmodel
296249b203
Fixed wrong SVF flags 2023-08-28 22:13:16 +02:00
smallmodel
8c1145bb9f
Clear all unsupported farplane fields in protocol below version 15 2023-08-28 20:59:02 +02:00
smallmodel
7ad18a68f8
Rendering fog fixes
Fixed wrong fog flag being used (must be GLS_FOG) in RB_SetupFog().
R_SetupFrustum():
- Use skybox farplane and farplane bias
- RB_SetupFog() is now the only function who handle fog activation

RE_RenderScene():
- Set renderTerrain, skybox_farplane and farplane_bias parameters
- Set color overrides
- Use farclip when necessary

RB_StageIteratorLightmappedMultitextureUnfogged(): Fixed issue with fog being reset
2023-08-28 20:50:32 +02:00
smallmodel
99ba396c24
Make sure to not error out if the map checksum isn't used. Also fixed cg.farclipOverride, must be -1 if the server is a mohaa server 2023-08-28 20:46:48 +02:00
smallmodel
f88e9960f2
Use the map's checksum only if the server has sv_mapChecksum exported 2023-08-28 20:45:10 +02:00
smallmodel
b53466ea0d
Fixed cheats variable being improperly configured 2023-08-28 20:44:33 +02:00
smallmodel
2afda6a470
Check the map checksum in CG_GameStateReceived 2023-08-28 20:29:18 +02:00
smallmodel
acc8081ef2
Added checksum return parameter in CL_CM_LoadMap for cgame 2023-08-28 20:28:59 +02:00
smallmodel
7433677ead
CG_Init(): clear fog overrides 2023-08-28 20:22:43 +02:00