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
7 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
Alibek Omarov
4a0add4063
Move Win32 console into separate file(second commit), hide Win32 console code under _WIN32 macro. Add some fork-specific macros. Add sys_con.c for generic log file implementation.
7 years ago
Alibek Omarov
45c0eaa26c
Move Win32 console and library loader to platform/win32 folder.
7 years ago