Alibek Omarov
a9bddaac64
engine: platform: win32: do not call filesystem functions if filesystem_stdio was failed to load
9 months ago
Alibek Omarov
75e5da071c
engine: platform: win32: fix calculating RVAs for LLP64
1 year ago
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
1 year ago
Alibek Omarov
c16a10e6f3
engine: platform: refactor Platform_Init/Shutdown/GetNativeObject functions. They are now defined in the header, and call platform-specific functios that defined in platform code
1 year ago
Alibek Omarov
a292d2fd53
platform: win32: replace Q_sprintf calls by Q_snprintf
2 years ago
SNMetamorph
b2ea8c9d18
engine: platform: win32: enabled attaching to existing console instead of creating new
2 years ago
Andrey Akhmichin
249ce6bca1
engine: platform: win32: replace va function calls.
2 years ago
Andrey Akhmichin
e273e09fc9
engine: platform: win32: simplify strings operations.
2 years ago
Alibek Omarov
30d9b6d844
engine: platform: win32: fix compile
2 years ago
SNMetamorph
a8674c18df
engine: platform: win32: fixed build for Windows
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago
Velaron
437630d26d
platform: win32: remove forgotten code
2 years ago
Bohdan Shulyar
341c9dae39
paltform: win32: fix typo >_<
2 years ago
Velaron
4c7bf1ff44
platform: win32: improve error reporting when loading DLLs and move custom DLL loader to a separate file
2 years ago
Alibek Omarov
bd1bfea695
engine: second iteration of IPv6 support
...
Made code smaller
Fixed problem where v6 and v4 socket can't use same port
Added support for v4-to-v6 mapped addresses, although it's kept unused
Probably final version
2 years ago
SNMetamorph
66dc20dc2d
engine: platform: con_win: fixed console window visibility without developer mode ( fix #818 )
3 years ago
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
3 years ago
SNMetamorph
95ee88720c
engine: platform: win32: major refactoring of console code
3 years ago
Alibek Omarov
7cb06956c2
engine: platform: win32: fix compile
3 years ago
Alibek Omarov
4f89288ccf
common: cleanup port.h
3 years ago
Alibek Omarov
a0af256641
engine: library: fix saves on 64-bit Windows, compile custom loader only on x86
3 years ago
Alibek Omarov
17d3eaa590
engine: win32: remove normal win32 library loader, from now on every win32 port must port custom loader
3 years ago
SNMetamorph
56d5f08128
platform: win32: fixed crashes in COM_CheckLibraryDirectDependency
4 years ago
Ivan Avdeev
1b426b67e7
partially fix amd64 build on windows
...
Quality of this commit is questionable. I have no idea whether what I did
here makes sense or not.
But it compiles and runs (provided with hlsdk-xash3d amd64 build, which
is another story).
This omits necessary waf changes that are necessary to make a valid
64-bit build. Apparently it's not enough to just pass `-8` on Windows,
you also need to hack wscript to add `x64` target to MSVC. I'll do that
later when I figure out how.
This change is a precursor for RTX Vulkan effort --
VK_KHR_ray_tracing_pipeline and friends are only available on 64-bit
nvidia drivers (no idea about AMD, pls send GPUs onegai).
4 years ago
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
4 years ago
Velaron
03668116d7
platform: win32: COM_CheckLibraryDirectDependency fixes
4 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
mittorn
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
Alibek Omarov
5040cb83d0
engine: win32: lib: oops, fix wrong sizeof
5 years ago
Alibek Omarov
2b385ff1f4
engine: win32: lib: try to fix crash when checking dependencies
5 years ago
Alibek Omarov
56938344b8
engine: win32: include shellapi.h
5 years ago
Alibek Omarov
00b9ac676e
engine: win32: fix inconsistent dll linkage
5 years ago
Alibek Omarov
8bb6aa2c51
engine: don't include windows headers, as they globally included by port.h already
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
a8f7b4fc5c
win32: lib: remove unused variable, fix error message may be not printed
5 years ago
Alibek Omarov
b5d9bf5dc8
engine: add a function to determine if library has direct dependency on chosen DLL(Win32 only)
5 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
1a700fd06b
platform: move MSGBOX implementation to platform backends
6 years ago
Alibek Omarov
e3e2f3afe5
platform: move Sys_ShellExecute implementation to platform backends
6 years ago
mittorn
d5911b33b1
msvc8 support
6 years ago
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
6 years ago
Alibek Omarov
de838ec5e8
rename backend files for great justice and consistency
6 years ago
a1batross
68ed732928
win_con: fix version in title, change title for dedicated server
6 years ago
Alibek Omarov
a5258bea65
library: move win32 definitions to win_lib.c
6 years ago
Alibek Omarov
216b4f4147
vid_sdl: fix incorrect video modes list length
6 years ago
Alibek Omarov
473810fc0c
MSVC & Win32 related fixes
6 years ago
lewa_j
43b746d2f8
Fix MinGW build
7 years ago
Alibek Omarov
415e517107
Library loader refactoring. Not tested for platforms other than Linux
7 years ago
Alibek Omarov
7c9b724531
Implement dynamic library loading and symbol resolving
7 years ago