2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-22 01:45:19 +01:00
Commit Graph

3912 Commits

Author SHA1 Message Date
3fb92e22fd Documentation: extensions: add documentation piece for lightmapped water 2024-08-26 21:28:06 +03:00
7364765d62 ref: gl: implement reading engine's world flag and extra info for lightmapped water
* Rename gl_litwater to gl_litwater_force because it doesn't affect maps that declare
  litwater support
2024-08-26 21:27:13 +03:00
b64329d1ee engine: add _litwater worldspawn key to allow mod developers to declare lightmapped water support 2024-08-26 17:10:06 +03:00
ff1d3c4257 ref: gl: add cvars to scale and set minimum light for lightmapped water 2024-08-25 23:15:39 +03:00
d418fb5f28 ref: gl: don't draw water backfaces when drawing lightmapped water 2024-08-25 22:30:12 +03:00
62d7959843 ref: gl: move EmitWaterPolys to gl_rsurf and make it static. Slight refactoring, don't set SURF_DRAWTURB_QUADS if context isn't OpenGL 2024-08-25 19:19:03 +03:00
980f356fe9 ref: gl: discard surfaces that don't have lightmaps in one place, remove unneeded checks 2024-08-25 18:56:46 +03:00
83194ca0f5 ref: gl: support lightmapped water on transparent brushes 2024-08-22 23:13:34 +03:00
d23968b12e ref: gl: add lightmapped water rendering, including wavy water 2024-08-22 23:13:08 +03:00
5034b860c8 ref: gl: split lightmap chain handling from R_RenderBrushPoly 2024-08-22 23:08:52 +03:00
5a708f90c6 ref: gl: build lightmap texcoords for subdivided SURF_DRAWTURB surface 2024-08-22 23:00:38 +03:00
4118ac2561 ref: gl: add cvar gl_litwater to enable lightmapped water 2024-08-22 21:42:04 +03:00
5777431577 engine: common: insert spaces between arguments in echo command 2024-08-22 16:45:42 +03:00
cd86f80203 engine: common: make MSG_WriteOneBit inlined, as it's usually called with literal argument 2024-08-22 12:51:47 +03:00
8c885d3f37 mainui: update 2024-08-22 12:50:01 +03:00
dddb46a6d0 mainui: update 2024-08-21 18:14:21 +03:00
6b0f378c5b engine: client: ensure requested (but failed) renderer won't be loaded twice 2024-08-21 12:18:06 +03:00
9dd7f37d42 Revert "engine: client: add missing ref_null to R_CollectRendererNames"
This reverts commit 69ec810ed0.
2024-08-21 12:18:06 +03:00
9f10fb6472 engine: client: ensure RefDll cvars have FCVAR_REFDLL flag, clean up them automatically. Don't unload failed renderer, it will be done in R_UnloadProgs 2024-08-21 12:18:06 +03:00
64dbccb9bd engine: platform: sdl: do not call SDL_VideoQuit in R_Free_Video, as one failed renderer will shut down whole SDL video subsystem 2024-08-21 12:18:06 +03:00
9a432a5a13 common: rewrite cvardef.h from scratch based on Quake definitions
* unify cvar.h and cvardef.h, enable private definitions only for refdll and engine

* add FCVAR_REFDLL for easier RefDll cvars cleanup
2024-08-21 12:18:06 +03:00
842e494fa6 common: add macro for simultaneously checking data type size for ILP32 and LP64 2024-08-21 12:00:35 +03:00
7fc9ee154a engine: client: fail with Sys_Error when no renderer is loaded, as we can't recover from it 2024-08-19 13:25:07 +03:00
5f84010c2a engine: server: enable allocating 64-bit string pool closer to server library only for Linux amd64, as mmap() isn't reliable anywhere else 2024-08-19 13:22:04 +03:00
3dcd6cb80b wscript: set crosscompiling msvc toolchain on 64-bit systems 2024-08-18 14:13:51 +03:00
79e94bf766 Revert "scripts: gha: use 64-bit compiler for 32-bit target for faster compilation on Win32"
This reverts commit 3de370f3d5.
2024-08-18 14:13:01 +03:00
3de370f3d5 scripts: gha: use 64-bit compiler for 32-bit target for faster compilation on Win32 2024-08-18 14:04:54 +03:00
c84d2f4624 gha: first attempt at signing binaries 2024-08-18 13:52:02 +03:00
380a9f7a6f
scripts: add self-signed certificate for win32
* There is no infrastructure to use signtool during win32 builds yet.
2024-08-18 12:24:17 +03:00
a6c7b67d0d filesystem: include errno.h for Win32 2024-08-17 17:32:50 +03:00
c13c1f2577 public: wscript: always define alloca header as malloc.h on Win32 2024-08-17 13:17:48 +03:00
151405618f engine: client: input: slight refactoring of mouse grabbing, add verbose output for debugging mouse issues 2024-08-16 12:59:54 +03:00
70e11cc309 engine: platform: sdl: borderless fullscreen windows don't need to restore desktop resolution
* This fixes the case when we switch from windowed to borderless, minimize the window
  and restore makes it lose it's fullscreen state
2024-08-16 12:25:08 +03:00
7619824d80 engine: platform: sdl: return correct value from SW_CreateBuffer on success 2024-08-16 11:36:36 +03:00
f3d181b5ee engine: platform: psvita: explicitly export __aeabi_ul2f 2024-08-16 02:22:25 +03:00
55055a70f0 engine: client: allocate mods list for UI on demand 2024-08-15 12:27:43 +03:00
22d3ba674e engine: client: ensure demoheader will be written when we're recording demo and changed level 2024-08-14 19:10:00 +03:00
ac487a2133 mainui: update 2024-08-14 10:29:42 +03:00
4da3a14adc mainui: update 2024-08-13 19:25:32 +03:00
69ec810ed0 engine: client: add missing ref_null to R_CollectRendererNames 2024-08-13 19:16:59 +03:00
2df01316ce engine: client: add two new APIs for mainui to get extended new gameinfo structure 2024-08-13 18:28:07 +03:00
3a67aefee2 filesystem: check rodir too when checking falldir existence too, just in case 2024-08-13 17:25:25 +03:00
d114dffcb4 filesystem: add new gameinfo.txt key: demomap 2024-08-13 17:22:06 +03:00
7bb5d9a67a gha: give github 20s to process remaining artifacts upload before downloading them. Upgrade Flatpak Docker image 2024-08-12 11:43:01 +03:00
a6b1e57ae1 gha: simplify uploading releases by using gh cli tool 2024-08-12 11:26:36 +03:00
c70c13eb5c gha: don't upload flatpak, action does it for us. Print found artifacts, as it seems actions/download-artifact sometimes skips some 2024-08-12 10:44:25 +03:00
d905ea354e scripts: gha: do not waste time building bshift, just copy binary from mobile_hacks 2024-08-12 10:27:26 +03:00
99cec81894 gha: update flatpak actions 2024-08-12 10:07:41 +03:00
5d5bccf1bb gha: should've been doing this in a branch meh 2024-08-12 09:53:45 +03:00
6fcf0a77af scripts: gha: fix typo 2024-08-12 09:43:02 +03:00