Commit graph

4568 commits

Author SHA1 Message Date
Denis Pauk
5d21429c36 client: code style cleanup 2024-11-24 23:27:45 +02:00
Denis Pauk
27b41be951 game: add 'trigger_flashlight' support
Based on:
 * https://github.com/id-Software/quake2-rerelease-dll.git
2024-11-24 23:26:56 +02:00
Denis Pauk
42d5958d98 Merge remote-tracking branch 'yquake2/master' 2024-11-23 23:03:06 +02:00
Yamagi
6ff7413b65
Merge pull request #1163 from ps5-payload-dev/master
Simplify compiling for targets that lack GL drivers
2024-11-23 14:52:46 +01:00
John Törnblom
e21e057b04 backends: ensure _wgetcwd() is declared when compiling for windows 2024-11-23 13:39:40 +01:00
John Törnblom
24888cc3c1 backends: add portable variant of getcwd 2024-11-23 13:12:36 +01:00
John Törnblom
e87bcfb906 backends: ensure unistd.h is included when compiling for apple OSes 2024-11-23 13:11:19 +01:00
Yamagi
8b9f506a50
Merge pull request #1162 from devnexen/cmdparser_optim
cmdparser/server command little optimisations.
2024-11-23 08:49:48 +01:00
Denis Pauk
12fa246a6d game: fix scale for non dynamic definitions 2024-11-21 00:15:47 +02:00
Denis Pauk
e0ea452e9a renders: Add initial scale logic in renders
Based on rerelease code.

Checked with monster_boss2 on mgu1m3 map.
2024-11-19 23:48:39 +02:00
Denis Pauk
ddda42244d gl4: Disable too bright FRAMEBUFFER_SRGB 2024-11-18 00:53:10 +02:00
Denis Pauk
f856be3512 game: Add scale entity field (without real usage) 2024-11-18 00:48:31 +02:00
Denis Pauk
3f4efa05a1 models: ignore MDA tag before load 2024-11-17 18:32:27 +02:00
Denis Pauk
4981c8b972 maps: use shared function to replace backslashes 2024-11-17 16:54:37 +02:00
Denis Pauk
53e93824ca protocol: CUSTOM_PLAYER_MODEL(MAX_MODELS - 1) as player model 2024-11-17 14:58:30 +02:00
John Törnblom
9700eb6baf cmake: only gl1 renderer needs to be specifically linked 2024-11-17 01:34:07 +01:00
John Törnblom
38843f0f33 backends: when failing to determine executable path, print full path to cwd instead of just ./ 2024-11-16 15:53:43 +01:00
John Törnblom
c0eda78e43 sdl2: avoid spamming warnings when setting relative mouse mode fails 2024-11-16 15:52:24 +01:00
John Törnblom
0ea0dbf4ac ref_soft: check if renderer and texture are created correctly during context initialization 2024-11-16 15:51:58 +01:00
John Törnblom
ccc9027b1a ref_soft: if SDL renderer does not support SDL_RENDERER_ACCELERATED, fallback to SDL_RENDERER_SOFTWARE 2024-11-16 15:51:44 +01:00
John Törnblom
0babeb62c1 cmake: optionally disable the building of rendering libraries
default options are kept as before, i.e., all but GLES1 are enabled by default
2024-11-16 15:51:19 +01:00
David Carlier
d73f94d034
cmdparser/server command little optimisations. 2024-11-11 19:43:50 +00:00
Denis Pauk
a09cbe20bd maps: fix daikatana context flag convert 2024-11-10 22:30:37 +02:00
Denis Pauk
c3638d6c9a renders: skip SURF_NODRAW surfaces
Cheked with remaster psx/base0 map
2024-11-10 22:28:21 +02:00
Denis Pauk
6fd9e0ecc4 game: code style 2024-11-10 21:48:15 +02:00
Denis Pauk
03cb2be1e6 game: add 'g_language' localization cvar 2024-11-10 21:47:56 +02:00
Denis Pauk
1f0b9904ea Merge remote-tracking branch 'yquake2/master' 2024-11-10 21:43:50 +02:00
Yamagi
b64ae0ed6e
Merge pull request #1161 from devnexen/filesystem_littleoptim
FS_Dir_f little optimisation.
2024-11-10 14:50:25 +01:00
Yamagi
b31d187166
Merge pull request #1158 from BjossiAlfreds/sdl3-clipboard-fix
Small fix for SDL3 API change for SetClipboardText
2024-11-10 14:47:08 +01:00
Denis Pauk
af51dfbed4 Add mention about Q2Game.kpf for localization
Fixes: #32
2024-11-05 00:08:36 +02:00
Denis Pauk
67b2bc80ac game: add choose_cdtrack 2024-11-04 23:31:14 +02:00
Denis Pauk
be83c229e0 game: fix position of dropped objects 2024-11-03 00:48:32 +02:00
David Carlier
1b7ceada59
FS_Dir_f little optimisation. 2024-11-02 14:05:47 +00:00
Denis Pauk
dce9415411 game: Add key_yellow_key item definition
Based on:
 * https://github.com/id-Software/quake2-rerelease-dll/blob/main/rerelease/g_items.cpp
2024-11-01 23:36:23 +02:00
Denis Pauk
1f147f2fa8 game: sort spawn functions 2024-11-01 23:36:23 +02:00
Denis Pauk
f5eb462fc1 filesystem: fix usage of 'void *' in pointer arithmetic
Fixes: #30
2024-11-01 08:49:08 +02:00
Denis Pauk
12f4384a5f Add sample video of 8.42RR10 release 2024-10-27 21:57:31 +02:00
Denis Pauk
61bba6c6fd Merge remote-tracking branch 'yquake2/master' 2024-10-27 21:40:35 +02:00
Daniel Gibson
19a119417c Fix last commit (had SDL2 and SDL3 code switched in one case)
fix #1159
2024-10-27 16:39:45 +01:00
Denis Pauk
ba89fa6ca6 Version bump 8.42RR10 2024-10-27 02:00:57 +03:00
Denis Pauk
fc2d44f43c game: Add Heretic 2 entities description 2024-10-27 01:51:02 +03:00
Denis Pauk
bc7567fd30 game: Add Dawn of Darkness entities description 2024-10-26 23:37:54 +03:00
Denis Pauk
2ff7e8e6d0 game: implement env_fire with TE_FLAME 2024-10-26 23:37:54 +03:00
Denis Pauk
d5dad22f8d game: do not replace backslash in noise field
Add new field type F_LRAWSTRING for level strings with path.
2024-10-26 23:37:54 +03:00
Denis Pauk
b5fe2df7f8 game: show classname of dynamic spawn entities without description 2024-10-26 23:37:54 +03:00
Denis Pauk
d226454821 game: minimal implementation of SP_target_camera
Based on:
 * https://github.com/id-Software/quake2-rerelease-dll/blob/main/rerelease/g_target.cpp
2024-10-26 23:37:54 +03:00
Denis Pauk
f116fb44eb game: show description of dynamic spawn entities 2024-10-26 23:37:54 +03:00
Denis Pauk
db110ddc7e client: Restore CL_FlameEffect
Based on:
* https://github.com/id-Software/Quake-2/blob/master/client/cl_newfx.c
2024-10-26 23:37:54 +03:00
Denis Pauk
2c82f906e1 game: Partial implement misc_model, misc_flare
Based on:
* https://github.com/id-Software/quake2-rerelease-dll/blob/main/rerelease/g_misc.cpp
2024-10-26 23:37:54 +03:00
Denis Pauk
da8ee87f37 game: code style remove space before tab 2024-10-26 23:37:54 +03:00