Alibek Omarov
e51f93a5b4
engine: remove unused hltv.h
2026-02-26 10:29:09 +05:00
Alibek Omarov
50147a3d48
common: replace HLSDK pmtrace.h and pm_movevars.h by it's QW counterparts
2026-02-26 10:29:09 +05:00
Alibek Omarov
26acc25018
common: use Quake derived definitions for usercmd_t and dlight_t
2026-02-26 10:29:09 +05:00
Alibek Omarov
d8e1597726
common: xash3d_types: add Quake's link_t definition and offsetof macro
2026-02-26 10:29:09 +05:00
Alibek Omarov
9cf9eb91bb
common: remove unused mathlib.h
2026-02-25 00:08:17 +05:00
Alibek Omarov
587eabd829
common: bspfile: add basic BSPX definitions
2026-02-13 11:08:35 +05:00
Alibek Omarov
e767770647
common: set default window mode to windowed on windows
...
Window, window, window, window!
2026-01-30 00:16:19 +05:00
Alibek Omarov
572fd063fc
common: port: do not redefine NOMINMAX and alloca if already defined
2026-01-24 07:17:53 +05:00
Alibek Omarov
20a20c72d4
common: do not override neither _cdecl or _stdcall
2026-01-24 07:09:36 +05:00
lewa_j
8a75104cbc
commoon: engine: Fix not including all dependencies for headers. (Just some used in ref)
2026-01-12 13:52:04 +05:00
Alibek Omarov
30ad3556dd
engine: small refactorings in sdl2 support, enable messagebox and timer in sdl3 backend back
2025-12-16 05:18:28 +05:00
Alibek Omarov
44fb4fb594
engine: common: imagelib: remove dependency on OpenGL declarations in texture formats
2025-12-13 23:59:40 +05:00
Alibek Omarov
16c849d085
engine: common: imagelib: refactoring
2025-12-13 23:11:48 +05:00
Alibek Omarov
e2835a7614
engine: common: imagelib: fix incorrect check for big endian pixel formats
2025-12-13 22:30:03 +05:00
Alibek Omarov
7e730cf171
common: by default, use borderless fullscreen mode
2025-12-07 15:23:35 +03:00
Alibek Omarov
e05d6ec27c
common: net_api: add a note about reserved bit for deprecated extension
2025-12-01 13:03:53 +05:00
Alibek Omarov
cfa8e639f1
engine: drop legacy protocol support
2025-12-01 13:03:53 +05:00
Alibek Omarov
86dfbc3e34
common: make bspfile.h use stdint types, reformat the file
2025-11-22 13:40:11 +05:00
Alibek Omarov
93dfcc344b
engine: implement loading luma in half-life
2025-11-18 15:35:20 +05:00
Alibek Omarov
65514b73fd
common: render_api: explicitly include stdint.h as we use intptr_t in the API
2025-11-11 06:22:43 +05:00
ksagameng2
a9bf700da4
Restore iOS build support ( #2352 )
...
* initial commit
* initial commit
* add port files
* ios: Changes to allow creating app bundle without xcode projects
* ios: Added mic perms request
* ios: Very basic app bundle creation script
* ios: Fix -log parameter
* ios: Sdk no longer hardcoded and option to compile for simulator
* general: Update gitignore
* ios: Enable game mode for the app
* ios: Compile instructions and updated ipa creation script
* ios: Code cleanup
* ios: Remove dylibs
* general: Remove extra submodules
* ios: Remove dylibs again
* ios: Implement suggested changes
* ios: Fix building as dylib instead of binary
* ios: Scripts for building mods
* ios: Move 'ios' contents to engine/platform/ios/bundle and modify scripts
* ios: Update createipa.sh to use waf install
* ios: Clean script and updated README
* general: Fix spelling mistake and outdated instructions
* ios: Clean up in xcompile.py
* ios: Fix createipa.sh generating an invalid ipa
* ios: Temporary fix for launch dialog textfield colors in dark mode
2025-11-01 18:32:00 +05:00
Alibek Omarov
6c3ae914fa
common: add PSP platform definitions
2025-10-11 05:45:03 +05:00
Alibek Omarov
1c8e51c9f9
common: port: always include unistd.h for POSIX systems
2025-10-08 05:28:16 +05:00
Alibek Omarov
3d132e0e83
common: port: move filesystem related macros to filesystem module, try to include less globally for faster builds
2025-10-08 05:03:29 +05:00
Alibek Omarov
d16ef9bf2a
common: xash3d_types: refactoring
2025-10-08 05:02:08 +05:00
Alibek Omarov
748c35d5ef
Remove _inline macro, as it's nonstandard way to define inline functions.
2025-10-08 03:53:37 +05:00
Alibek Omarov
a1d3b7d65f
Remove STDINT_H macro, use stdint.h directly. Compilers and platforms that do not have this header shall provide them on their own.
2025-10-08 03:53:37 +05:00
Alibek Omarov
bf7f952d0e
defaults: disable INTERNAL_GAMELIBS for Android
2025-08-03 19:01:56 +05:00
Sergey Degtyar
7dc88f9417
filesystem: common: move wad structures to wadfile.h
2025-07-16 23:54:56 +05:00
Alibek Omarov
907e02da8d
Merge ffmpeg support
2025-06-15 13:15:17 +05:00
Alibek Omarov
582fe9a2fc
common: defaults: Emscripten doesn't use INTERNAL_GAMELIBS anymore
2025-06-15 13:01:13 +05:00
Alibek Omarov
3f5ca210a0
common: port: set .wasm as libraries extension on Emscripten
2025-06-15 12:51:57 +05:00
Vladimir
43364ec2e9
defaults: enable touch for psvita & nswitch ( #2143 )
2025-04-27 14:39:58 +03:00
Alibek Omarov
5aca143eba
engine: disable Android-specific library loader under Termux
2025-04-24 21:46:43 +03:00
Alibek Omarov
da6402ccc2
common: xash3d_types: disable PFN_RETURNS_NONNULL attribute for MCST lcc
2025-03-31 19:14:22 +03:00
Alibek Omarov
a5f0ca38f1
engine: remove inclusion of SDL headers globally, helps to cleanup code before SDL3 migration
2025-02-28 13:14:47 +03:00
Alibek Omarov
b605cf603e
common: xash3d_types: make it more compatible for inclusion in SDK
2025-02-15 08:01:44 +03:00
Alibek Omarov
c201b895eb
common: netadr: force cast uint16_t type to netadrtype_t
...
So it compiles in C++
2025-02-09 23:13:29 +03:00
Alibek Omarov
add02dc6f9
engine: fix potential UB in netadr_t
2025-02-06 20:54:18 +03:00
Alibek Omarov
de196b1c58
common: xash3d_types: avoid defining true and false in C23
2025-01-31 10:36:27 +03:00
Alibek Omarov
952ccb1247
engine: avi: very dumb pause
2025-01-23 18:55:48 +03:00
Alibek Omarov
6f0fb594e7
Merge branch 'master'
2025-01-23 18:42:00 +03:00
Alibek Omarov
375998dffb
Cleanup xash3d_types.h from engine-specific macros and types
2025-01-22 15:10:18 +03:00
Alibek Omarov
e70ba7ad64
engine: now, remove SUPPORT_BSP2_FORMAT macro, only prevent ref_soft from loading such maps
2025-01-09 08:02:39 +03:00
Alibek Omarov
47aff9e30b
engine: hack mnode_t struct so we can have 24-bit face and children indices to support BSP2 format in runtime
2025-01-09 08:02:39 +03:00
Alibek Omarov
ced8744ac9
engine: split edge struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
2025-01-08 14:46:07 +03:00
Alibek Omarov
734c07ddab
engine: split clipnodes struct into two with 16-bit indicies and 32-bit indicies to support BSP2 format in runtime
2025-01-08 14:46:07 +03:00
Alibek Omarov
70897af362
public: add dll helpers to simplify basic interaction with exported functions lists
2024-12-23 04:43:15 +03:00
Alibek Omarov
2d1a885954
common: render_api: use movie_state_s in AVI functions for easier type checking
2024-12-13 03:04:32 +03:00
Alibek Omarov
4275829bd5
engine: client: partially rework how AVI playback works in Xash. Add ffmpeg-based player.
...
This intentionally will not build without --enable-ffmpeg for now.
We add new functions to the RenderAPI called AVI_Think and AVI_SetParm. Game
developer is supposed to call AVI_Think each frame and set video playback
parameters through AVI_SetParm function.
What's tested:
* Intro cinematics.
* Looping videos.
* Playing back an hour long video.
* API extension (PrimeXT's avi branch at https://github.com/a1batross/PrimeXT ).
What's broken:
* There is no way to seek a video file, only rewind to the start.
2024-12-13 03:04:32 +03:00