1
0
Fork 0
Commit Graph

2137 Commits

Author SHA1 Message Date
Eugene 97fbef0dc8 Updated changelog 2021-10-14 19:52:49 +03:00
Eugene C da9de34a42
Merge pull request #123 from BidyBiddle/botlib-typos
Fixed typo in BOTLIB files
2021-10-14 19:40:19 +03:00
Eugene 3c96b78b8d Fixed a few compiler warnings 2021-10-14 19:39:02 +03:00
BidyBiddle e1f2fc07f6 Fixed typo in BOTLIB files 2021-10-14 13:10:08 +02:00
ec- 36931ace13 QVM: always force either data range checks or mask operations 2021-10-14 13:45:45 +03:00
ec- f880707a97 vm_x86: removed unsafe optimizations 2021-10-12 19:06:56 +03:00
ec- 33d35a75da Filesystem: close all handles when switching to other game directory
*nix: output only printable chars in console
MSVC: better compatibility with Clang compiler
2021-10-12 16:02:24 +03:00
ec- a359eacd31 QVM: added more sign-extension optimizations to bytecode compilers 2021-10-11 20:29:54 +03:00
ec- cf6057f907 QVM: fixed a few typos, code cleanup
vm_x86: a few more const-store optimizations
2021-10-08 12:11:22 +03:00
Eugene C 7ec6b15ad9
Merge pull request #120 from gazsiazasz/master
Added CMake build system
2021-09-28 11:21:14 +03:00
Gajdos Gábor 8d96a689b2 Added CMake support for building and some love for macOS 2021-09-26 22:54:48 +02:00
ec- 365929adb2 Reworked sound system shutdown - placed single shutdown point in CL_ShutdownRef(), code cleanup 2021-09-20 21:19:49 +03:00
ec- 425dd7139f Sound: fixed potential division-by-zero in S_GetSoundTime() in case of failed DirectSound initialization 2021-09-19 19:18:59 +03:00
ec- 079583b715 SDL: removed archive flag for \in_nograb 2021-09-03 12:15:38 +03:00
ec- 21f33ea625 Vulkan: correctly decoupled validation code 2021-08-14 14:16:29 +03:00
ec- b8ec17b883 Updated changelog 2021-07-20 20:52:39 +03:00
ec- bac9c13dc1 Makefile: use --gc-sections linker option for mingw/*nix builds, reduces binary size a bit
snd_codec: formatting and tiny cleanup
2021-07-20 14:22:43 +03:00
ec- 572a0bc72b win32: use builtin setjmp/longgmp functions with mingw/llvm compilers to avoid problems with hardened longjmp in recent win10 versions 2021-07-18 16:07:00 +03:00
ec- d37e1506c0 win32: removed RIDEV_CAPTUREMOUSE flag used to fix high-dpi mice movements in win10 insider builds - because it causes issues with releasing mouse capture in regular ones :-/ 2021-07-17 11:51:37 +03:00
ec- 7a9e875077 win32: disabled unneeded WM_COPY code 2021-07-14 19:59:54 +03:00
ec- 7c358408bf win32: allow copying selected text (via CTRL+C or CTRL+INSERT) from dedicated console 2021-07-14 16:24:01 +03:00
ec- 22958edc41 vm_x86: corrected data mask operation in 32-bit mode 2021-07-14 12:11:42 +03:00
ec- 9ce8780d25 Fixed compilation 2021-07-13 23:25:01 +03:00
ec- a7c666c96e Corrected Makefile 2021-07-13 23:21:10 +03:00
ec- 4ab8c6bb5c vm_x86_ng: added support for legacy x87 instructions to new bytecode compiler, so entirely replaced legacy vm_x86 with vm_x86_ng 2021-07-13 23:18:11 +03:00
ec- f77f6f8095 QVM: allow mapping constants and multiple memory ranges to the same register 2021-07-09 21:09:17 +03:00
Eugene C c100e8489d
Merge pull request #117 from Q3HQ/PR
renderer2 update
2021-07-08 18:41:57 +03:00
q3superman 6c26eff4af Add r_parallaxMapOffset
Set the parallax height offset.
	0    - Values map to -255 - 0. (default)
	0.5  - Values map to -127 - 127.
	1.0  - Values map to 0 - 255.
2021-07-08 16:03:55 +02:00
q3superman 27aefe170b Add epsilon to avoid division by zero in CalcSpecular() 2021-07-08 16:03:36 +02:00
q3superman 4547c7e298 Use r_texturemode GL_LINEAR_MIPMAP_LINEAR by default
This improves visual quality without a noticeable performance loss,
especially on maps that use textures with high-frequency details
such as q3dm1.
2021-07-08 16:02:47 +02:00
ec- 01c78567e3 vm_armv7l: implemented new load/store optimizations, deleted redundant const- and macro-optimizations, corrected zero-extension optimization in all bytecode compilers 2021-07-06 14:10:08 +03:00
ec- bda00ec4a8 vm_aarch64: implemented new load/store optimizations, deleted redundant const- and macro-optimizations
vm_x86_ng: aoid unneeded zero-extension operations, code cleanup
2021-07-03 20:41:46 +03:00
ec- 78d05e0940 vm_x86_ng: fixed incorrect index used in find_free_rx() 2021-07-01 23:26:36 +03:00
ec- 21f0a787af vm_x86_ng: wipe variable range after corresponding const-store 2021-07-01 22:25:42 +03:00
ec- 0c579df9f5 vm_x86_ng: use different address and target registers during load, that seems improves performance a bit 2021-07-01 14:21:18 +03:00
ec- 4cc7bd98ac qvm: corrected detection of safe load/store addresses
vm_x86_ng: added AND+TEST+JCC constant optimization, code cleanup
2021-06-30 15:54:53 +03:00
ec- c360da540c vm_x86_ng: clear all meta variables after OP_BLOCK_COPY to avoid potential overlapping 2021-06-29 14:55:31 +03:00
ec- 067d3cf99d vm_x86_ng: do not clone forced registers 2021-06-28 20:49:51 +03:00
ec- 9bccbce085 vm_x86_ng: more correct test for overlapped/aliased variables 2021-06-28 19:01:30 +03:00
ec- a4cb567e79 vm_x86_ng: fixed aliasing of integer/scalar variables 2021-06-28 16:39:03 +03:00
ec- 0823114818 vm_x86_ng: fixed all previously disabled load optimizations, fixed data range checks without DEBUG_VM in 32-bit mode, corrected value for opStackTop register
vm_x86: corrected value for opStackTop register
2021-06-28 15:09:46 +03:00
ec- ee45395491 vm_86_ng: wipe all meta-variables after writing to dynamic location instead of known (fixed) address 2021-06-27 17:50:04 +03:00
ec- eaae617d4e vm_x86_ng: disabled some load optimizations, sign-extend cached 8/16-bit values, code cleanup 2021-06-27 12:33:02 +03:00
ec- 595ed01a5f vm_x86_ng: disabled 8/16 bit register caching at store operation (for now) as it needs to be zero-extended at next load 2021-06-26 16:34:56 +03:00
ec- aeb9ddcf62 vm_x86_ng: reverted some unsafe load optimizations 2021-06-24 23:50:11 +03:00
ec- 3422f0ccce vm_x86_ng: fixed incorrect opStack pointer passed for syscalls 2021-06-24 17:56:02 +03:00
ec- 9601705641 vm_x86_ng: optimized opStack manipulations, added ability to dump generated code to file 2021-06-24 16:04:50 +03:00
ec- b8b89093f6 QVM: relaxed conditional/unconditional jumps opStack requirements, better local variable reference detection
vm_x86_ng: significally reworked load/store optimizations
2021-06-24 00:29:26 +03:00
ec- 5ec2650e8c QVM: fixed potential metadata corruption in vm_x86_ng, code cleanup 2021-06-22 19:30:43 +03:00
ec- eb4d6b2408 vm_x86_ng: fixed data corruption with enabled rx const cache, enabled rx const cache by default from now
vm_x86_ng: implemented effective and fast jump size reduction optimization, code cleanup
2021-06-21 17:37:03 +03:00