|
6d98d2c7c3
|
engine: check XASH3D_GAME if -game argument wasn't found, do not override default base directory
Clarify that `--gamedir` configure option and `XASH_GAMEDIR` macro specify base directory
|
2024-07-21 01:04:50 +03:00 |
|
|
64726f13e1
|
engine: client: more accurate R_BeamKill reimplementation
Reverse engineered from HL25 hw.so
|
2024-07-19 07:13:14 +03:00 |
|
|
85dfaaa2c2
|
engine: imagelib: add LUMP_TEXGAMMA palette kind to only pass HL textures through texgamma, not Quake
|
2024-07-19 06:34:51 +03:00 |
|
|
56464d3291
|
engine: when colorizing standard output, use bold text, as it makes it more visible (especially with black text)
|
2024-07-17 22:53:35 +03:00 |
|
|
aed96ee753
|
engine: common: reduce large static arrays amount for logging by adding generic function accepting va_list
|
2024-07-17 22:27:20 +03:00 |
|
|
a937320c65
|
engine: wscript: add ffmpeg hidden option, just to make it easier for me to switch between branches
|
2024-07-17 22:27:20 +03:00 |
|
|
a81a0cb059
|
engine: client: make menu engfuncs const
|
2024-07-16 15:23:03 +03:00 |
|
|
5af9511505
|
engine: server: make physic engfuncs const
|
2024-07-16 15:23:03 +03:00 |
|
|
14ae9b312d
|
engine: client: make client engfuncs const
|
2024-07-16 15:23:03 +03:00 |
|
|
2d3e5c2e0b
|
engine: client: make renderer engfuncs const
|
2024-07-16 15:23:03 +03:00 |
|
|
17950fec3e
|
filesystem: make engfuncs const
|
2024-07-16 15:23:03 +03:00 |
|
|
09a7585643
|
engine: soundlib: super micro-optimization, reallocate buffer in Image_Copy rather than allocating and copying
|
2024-07-16 05:11:06 +03:00 |
|
|
a09084ceba
|
engine: imagelib: super micro-optimization, reallocate buffer in Image_Copy rather than allocating and copying
|
2024-07-16 05:10:29 +03:00 |
|
|
147e5dceff
|
engine: request SDL to ungrab mouse before signaling debugger to stop
|
2024-07-16 05:09:02 +03:00 |
|
|
3510afd30b
|
engine: zone: allow moving allocation from one pool to another during realloc
|
2024-07-16 05:06:44 +03:00 |
|
|
d3586c2143
|
engine: soundlib: add support for converting stereo to mono and back, attempt to simplify conversion boilerplate
|
2024-07-16 05:05:50 +03:00 |
|
|
56ba2325c1
|
engine: client: skip drawing 2D during changelevel before the client was active
* Prevents screen garbage on GPUs with tile-based renderers like Adreno and ImgTec
|
2024-07-11 09:01:19 +03:00 |
|
|
b77a4ed3a1
|
engine: client: ignore changelevel for old protocol
* Prevents engine from drawing too early during reconnect to a
legacy coop server
|
2024-07-11 08:59:42 +03:00 |
|
|
9b86c3127a
|
engine: properly disconnect from online game when loading local game (save, newgame or a level)
|
2024-07-10 12:32:33 +03:00 |
|
|
0da7ffe45f
|
engine: client: reset video after last screen update in begin loading plaque. Because update screen supposedly should draw the whole screen now, gl_clear hack shouldn't be required anymore
|
2024-07-10 11:59:54 +03:00 |
|
|
c16abc0b85
|
engine: server: first check for dedicated server in SV_IsSimulating, as CL_Active()/CL_IsInConsole() don't make sense if we're running dedicated server already
|
2024-07-10 10:35:47 +03:00 |
|
|
708c691cdb
|
engine: fix XASH_DEDICATED check
|
2024-07-10 10:34:57 +03:00 |
|
|
31c20ac4d8
|
engine: client: don't call Host_IsDedicated when getting split size for client
|
2024-07-10 10:34:30 +03:00 |
|
|
1458014a29
|
engine: remove unused CL_IsInMenu, don't check for Host_IsDedicated in SCR_BeginLoadingPlaque, it's useless
|
2024-07-10 10:24:22 +03:00 |
|
|
1c84a5c8ad
|
engine: platform: sdl: disable restoring desktop resolution for mobile platforms, as it leads to unwanted window minimize (which correctly implemented by SDL by the way)
|
2024-07-09 19:52:11 +03:00 |
|
|
6728b843f7
|
engine: platform: android: use RTLD_NOW in dlopen()
We basically use RTLD_NOW everywhere in the engine these days,
only platform code is behind that
|
2024-07-09 16:50:37 +03:00 |
|
|
6ff3231dab
|
engine: change current working directory before initializing filesystem_stdio
|
2024-07-09 08:45:27 +03:00 |
|
|
a1191eb4ab
|
engine: platform: win32: request error string in wide chars and then transform it to UTF-8 using our utflib
|
2024-07-09 08:24:58 +03:00 |
|
|
166bed732e
|
engine: crashhandler: few improvements for win32 crashhandler
* Larger message buffer
* Print version at first line
* Tell SDL2 to ungrab mouse
|
2024-07-08 05:56:20 +03:00 |
|
|
159467ad44
|
engine: add IPv6 master server
|
2024-07-07 21:18:02 +03:00 |
|
|
e0dc1eec93
|
engine: client: more reliable way to find the payload the netinfo response
|
2024-07-07 06:49:54 +03:00 |
|
|
ab130ee92c
|
engine: client: fix infostring truncation in NetAPI requests
|
2024-07-07 06:17:38 +03:00 |
|
|
dabbe09918
|
engine: add NetAPI flag to send NetAPI requests to old protocol servers
|
2024-07-07 06:17:15 +03:00 |
|
|
296a7ac11d
|
engine: client: fix NetAPI request sending
|
2024-07-07 06:16:46 +03:00 |
|
|
6bbf08893e
|
engine: add NetAPI to extended menu API
|
2024-07-07 03:39:09 +03:00 |
|
|
f8b958738a
|
engine: client: rework NetAPI response parsing
|
2024-07-07 03:30:34 +03:00 |
|
|
1b4427f13f
|
engine: server: rework NetAPI responses
players list and rules are now actually useful
|
2024-07-07 03:29:27 +03:00 |
|
|
e55577fd26
|
engine: get rid of some size constants passed to Info_SetValueForKey, use sizeof instead
|
2024-07-07 03:02:02 +03:00 |
|
|
c42960ec2a
|
engine: server: mark some cvars and movevars as server cvars, so they get reported in rules query
Bring back sv_contact cvar, as it makes sense to get this from rules query
|
2024-07-07 03:01:59 +03:00 |
|
|
c033d4b65c
|
engine: server: optimize source query
|
2024-07-07 02:34:43 +03:00 |
|
|
dc6f03b4e4
|
engine: server: add function SV_HavePassword that correctly checks whether this server have set up password
|
2024-07-07 02:10:48 +03:00 |
|
|
b6967a432a
|
engine: add NetAPI flag NET_ERROR_FORBIDDEN
|
2024-07-07 02:05:25 +03:00 |
|
|
7d0467863c
|
engine: server: add cvar to not expose current player list, or if server has a password
|
2024-07-07 01:59:56 +03:00 |
|
|
a0b72d3995
|
engine: server: light sv_query.c refactoring, use Netchan_OutOfBand instead of manually creating out of band packet
|
2024-07-07 01:55:03 +03:00 |
|
|
5fe4b867f3
|
engine: server: do not expose some cvars in rules, some of them just don't make sense
|
2024-07-07 01:51:50 +03:00 |
|
|
40af058406
|
engine: client: console: add conback.dds by request, don't fail on texture that cannot be loaded
|
2024-07-06 22:30:05 +03:00 |
|
|
b4376a6a8c
|
engine: client: make a common function for sending out userinfo changes
|
2024-07-06 06:09:19 +03:00 |
|
|
457422c679
|
engine: server: fix possible byte overflow when sending sound with attenuation == 4.0f
|
2024-07-06 05:50:53 +03:00 |
|
|
080eba948f
|
engine: server: fix sound not being overriden when an entity sound came from has an aiment set
This check was added 10+ years ago in 8f6f3fc (viewable in Xash3DArchive) and
probably doesn't make any sense anymore.
|
2024-07-06 05:32:20 +03:00 |
|
|
fcb463d400
|
engine: client: flush demoheader before copying it
|
2024-07-04 07:23:48 +03:00 |
|