Commit graph

4537 commits

Author SHA1 Message Date
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
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
Denis Pauk
17603050b6 game: Add fields used in misc_flare
Based on [ED_LoadColor](https://github.com/id-Software/quake2-rerelease-dll).
2024-10-26 23:37:54 +03:00
Denis Pauk
4f1e668eb7 game: support of item_invisibility 2024-10-26 23:37:54 +03:00
Jaime Moreira
d9de3ea0df vk: Support for the SDL 3.1.3 Preview release
https://github.com/yquake2/ref_vk/pull/51
https://github.com/yquake2/yquake2/issues/1156
2024-10-26 23:37:53 +03:00
Denis Pauk
e905ae1e09 Merge remote-tracking branch 'yquake2/master' 2024-10-26 23:37:15 +03:00
Daniel Gibson
07ee830712 SDL3 return value fixes in gl1_sdl.c and gl3_sdl.c
and removed unused code from glimp_sdl3.c
2024-10-26 17:57:58 +02:00
Yamagi
b74d1a5247 Fix window flag handling with SDL3.
These are two problems breaking the window flags for renderers which
don't use OpenGL or enforce their own flags:

* In SDL 3 the window flags were increased from 32 bit to 64 bit. SDL
  3.1.3 introduced a new type SDL_WindowFlags for them. Use it to
  represent the window flags. This is currently a noop, becaue SDL 3
  doesn't have any flags above 32 bit yet. This might require another
  breakage of the renderer API in the future, because currently
  renderers pass a 32 bit flags thing to the client.
* `SDL_SetNumberProperty()` got a new type
  `SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER` to represent the flags. It must
  be used, otherwise strange things happen.

Closes #1156.
2024-10-26 17:28:31 +02:00
Yamagi
c719a18d54
Merge pull request #1157 from BjossiAlfreds/menu-input-ext
Clipboard and in-line editing for menu input fields
2024-10-26 16:11:10 +02:00
Yamagi
b134bb1770
Merge pull request #1154 from 0lvin/sdl2_soft_fix
soft: fix texture lock
2024-10-26 16:03:16 +02:00
BjossiAlfreds
993365cc6d END key jumps between start and end of current input string 2024-10-18 11:34:22 +00:00
BjossiAlfreds
c49a703467 Reset field cursor position when it leaves focus 2024-10-18 10:56:48 +00:00
BjossiAlfreds
b26be3ff5d CTRL+l,c,x,v shortcuts for menu input fields 2024-10-16 14:02:48 +00:00
BjossiAlfreds
8d5d86cbaf Q_strisnum shared helper function 2024-10-16 13:54:38 +00:00
BjossiAlfreds
aae0524687 Left/right arrow nav in menu fields 2024-10-16 02:00:53 +00:00
Denis Pauk
15a5f65fdf game: rename Quake Fish to rotfish 2024-10-09 23:59:45 +03:00
Denis Pauk
14db96211b soft: fix texture lock
Regression is introduced in 39d2c7dbb4
as sdl3 has changed logic of SDL_LockTexture function call.
2024-10-07 23:07:12 +03:00
Denis Pauk
091b3898c9 game: update entity.dat with models required for ssdocks heretic 2 map 2024-10-07 00:01:20 +03:00
Denis Pauk
8c233f78c3 Merge remote-tracking branch 'yquake2/master' 2024-10-06 22:35:23 +03:00
Yamagi
6408cc7099 Fix SDL3 build after merging sdl3-current into master.
One function call wasn't renamed, the missing function prevented the
build. Patch submitted by @protocultor in a comment to #1153.
2024-10-06 21:35:01 +02:00
erysdren
e8eb810c01 SDL3: Fix inconsistent name for deleting GL context 2024-10-06 10:20:00 +02:00
erysdren
39d2c7dbb4 Bump to SDL3 gitrev 8db3b47 2024-10-06 10:19:59 +02:00
erysdren
219b1b93fb Bump to SDL3 gitrev f6fc5e2 2024-10-06 10:19:59 +02:00
erysdren
2c212ae0b2 SDL3: Moved SDL_StartTextInput() to glimp_sdl3.c 2024-10-06 10:19:59 +02:00
erysdren
5ace09caac Partial fixes for SDL3 2024-10-06 10:19:55 +02:00
Yamagi
667ddafd83
Merge pull request #1152 from protocultor/gles1_addendum
Improvements for GL1/GLES1
2024-10-06 10:16:24 +02:00
Denis Pauk
ea6b135631 game: update entity.dat from fgd files
Based on:
 * https://github.com/TrenchBroom/TrenchBroom/blob/master/app/resources/games/Heretic2/heretic2.fgd
 * https://github.com/TrenchBroom/TrenchBroom/blob/master/app/resources/games/Kingpin/kingpin.fgd
 * https://github.com/TrenchBroom/TrenchBroom/blob/master/app/resources/games/Quake2/Quake2.fgd
2024-10-06 01:23:15 +03:00
Denis Pauk
4196a6104a game: use semicolon as model path separation
Use semicolon in model path for separation models for entity class
with several models, e.g.: head, body, legs.
2024-10-01 12:10:00 +03:00
Denis Pauk
711d07561c game: Add remaster repository entities 2024-09-30 00:24:54 +03:00
Denis Pauk
fa1132e247 game: initial known entities definitions
Add initial version without description and model path for now,
based on QUAKED comment get by grep code.
need to parse fgd files for add real definition and models or
check in code what model used.
2024-09-29 19:03:46 +03:00
Denis Pauk
473a4f3adc game: use dynamic definitions as defaults 2024-09-29 11:35:16 +03:00
Denis Pauk
d443fdc092 game: Add support of target_gravity, target_soundfx 2024-09-29 11:27:34 +03:00