Christoph Oelckers
b3a2523099
Backend update from GZDoom.
2024-10-09 15:28:22 +02:00
Christoph Oelckers
27dc590931
avoid floats in integer math.
2024-10-09 14:07:53 +02:00
Christoph Oelckers
1dedb4319a
Duke: add range checks for accessing the moves array
...
CON can easily produce bad indices due to sloppy design.
In ZScript always throw an exception if such an index is out of bounds.
2024-10-09 14:07:02 +02:00
Christoph Oelckers
48d4545067
account for 'amess96.voc' being renamed in the World Tour re-recordings.
2024-10-09 12:10:56 +02:00
Christoph Oelckers
053a6875bf
SW: fixed use of sound attribute array.
...
This was caused by incompletely reverting a code change.
2024-10-09 12:00:01 +02:00
Christoph Oelckers
f9e4ce89fa
Blood: fixed messed up math in podAttack.
2024-10-09 09:56:38 +02:00
Christoph Oelckers
f5d08416c6
Duke: fixed animated static monitors.
2024-10-09 07:34:44 +02:00
Christoph Oelckers
97a71bad5d
Duke: lower the coordinate precision for calculating the sector's center for ST09 to original Build.
...
This is needed so that some maps with not quite correct setups still work. Found in Roch3.
2024-10-08 13:30:13 +02:00
Rachael Alexanderson
f3cad8426c
- duplicate effects of gzdoom commit d9f03863bf
2024-05-07 08:38:27 -04:00
Rachael Alexanderson
54b274ab07
- hide additional parameters entry for now
2024-04-21 09:14:26 -04:00
Rachael Alexanderson
df3b193250
- create stubs required for https://github.com/ZDoom/gzdoom/pull/2514
2024-04-20 19:14:04 -04:00
Rachael Alexanderson
accab2aa6a
1.11pre
2024-04-20 04:51:35 -04:00
Rachael Alexanderson
3fe0c2e698
- add in a common code stub
2024-04-20 00:13:39 -04:00
Rachael Alexanderson
30e9cb7e75
- backend update from GZDoom
2024-04-20 00:07:17 -04:00
Rachael Alexanderson
d2b209261d
- backend sync from gzdoom, again
2024-04-18 02:25:13 -04:00
Rachael Alexanderson
6dcb8c0f6e
- temporarily address issue with GCC - ultimately this issue will need to be fixed: https://github.com/ZDoom/Raze/actions/runs/8727418834/job/23944876872
2024-04-17 19:20:40 -04:00
Rachael Alexanderson
5a5d426b85
- compile fixes from last backend sync
2024-04-17 15:11:50 -04:00
Rachael Alexanderson
090973f8d7
- backend sync from gzdoom
2024-04-17 15:11:50 -04:00
Dmitri Smirnov
68ccf7a1c4
Add flatpak-relevant files
2024-04-17 12:53:29 -04:00
Rachael Alexanderson
2d5f908bcd
- transplant libwebp import from gzdoom
2024-04-11 15:00:41 -04:00
Christoph Oelckers
326c49ebed
fix compile error caused by incompletely reverting an unfinished GZDoom feature
2024-02-28 07:08:06 +01:00
Christoph Oelckers
af0ee3451d
Duke: disable loading of eduke.com and check raze.con instead, now also for RR.
2024-02-28 07:07:38 +01:00
Christoph Oelckers
b383a99065
Backend update from GZDoom.
...
Mostly missing headers
2024-02-24 10:38:23 +01:00
Christoph Oelckers
c769de1828
reverted all the state work on Shadow Warrior.
2024-02-24 10:33:03 +01:00
Christoph Oelckers
3e30e5f4ef
SW: fix player's run animation not playing.
2024-02-05 00:20:04 +01:00
Christoph Oelckers
c9a610fea6
Blood: fixed bad random shifts for directional vectors.
2024-02-05 00:02:20 +01:00
Christoph Oelckers
292c20842d
fix uniform buffer size check
2024-02-04 23:06:17 +01:00
Christoph Oelckers
93bc496494
SW: added CVAR 'sw_nocenterview' to block view centering after landing from a tall jump.
...
No menu entry yet.
2024-02-04 15:15:26 +01:00
Christoph Oelckers
39b78dede1
added -noautoload command line option.
2024-02-04 14:57:25 +01:00
Christoph Oelckers
4b6646da03
restored GZDoom's console alias code.
...
This got changed in Raze's early development when it was still using the EDuke32 console and later not changed back.
2024-02-04 14:54:19 +01:00
Christoph Oelckers
b27dbc18d8
Backend update from GZDoom.
2024-02-04 14:12:22 +01:00
Christoph Oelckers
fe7738e9cc
limit the size of uniform buffers to 65536 bytes globally.
2024-02-04 14:11:58 +01:00
Christoph Oelckers
3dbc67150d
Blood: fixed vector math in spider attacks.
2024-02-04 13:26:46 +01:00
Christoph Oelckers
0ad7e198d8
fixed some bad copy/pasted dudeSlope calculations.
2024-02-04 12:22:33 +01:00
Christoph Oelckers
57f4dc7338
fixed bad randoms in aicaleb.cpp.
...
Value range for velocity vectors was Q14.16 in Blood's fixed point format so the numbers here must be scaled accordingly.
2024-02-04 12:22:33 +01:00
Rachael Alexanderson
8b6010fc3a
- repeat commit 47a2a534ec
from gzdoom
2024-01-31 19:21:29 -05:00
Christoph Oelckers
cab73b8abc
ported directory loading fix from GZDoom
2024-01-18 08:46:06 +01:00
Christoph Oelckers
436f24add5
disable the buffering file reader.
...
This was definitely crashing on Death Wish's E1 movie and probably caused other problems as well.
2024-01-12 00:30:56 +01:00
Christoph Oelckers
3299e0b8c0
silence Unix only message for missing files that are allowed to be missing.
2024-01-12 00:28:00 +01:00
Christoph Oelckers
21db5d33c2
updated the game picker code.
2024-01-12 00:22:08 +01:00
Christoph Oelckers
48977265ae
minor backend update from GZDoom.
2024-01-07 10:05:41 +01:00
Christoph Oelckers
9e7785e44c
free the WidgetResources file on shutdown to reduce the number of reported memory leaks.
2024-01-06 14:42:36 +01:00
Christoph Oelckers
218a617e6b
removed legacy Windows OpenGL init code.
2024-01-06 14:40:15 +01:00
Christoph Oelckers
a496332136
use proper printf format specifiers for size_t and ptrdiff_t.
2024-01-06 14:37:57 +01:00
Christoph Oelckers
406cb04952
address a few more issues found by static analysis
...
* mark move constructors and operators noexcept.
* eliminate large stack allocations in several places.
* some incorrect checks for Windows handles.
2024-01-06 12:25:16 +01:00
Christoph Oelckers
34ecb158b6
fixed some warnings pointed out by Intellisense
2024-01-06 09:31:07 +01:00
Mitchell Richters
fa997c27f1
- Tidy up massively inconsistent autoload and autoexec setup in config file.
2024-01-06 10:36:20 +11:00
Mitchell Richters
4e0ceb9ea9
- Fix some bad printf lines as reported by GCC.
2024-01-06 09:37:07 +11:00
Mitchell Richters
ce03797949
- Silence GCC warning in RTS_IsInitialized()
.
...
/home/mrichters/Repos/Raze/source/core/rts.cpp: In function ‘bool RTS_IsInitialized()’:
/home/mrichters/Repos/Raze/source/core/rts.cpp:123:51: warning: ‘.rts’ directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=]
123 | snprintf(rts, 16, "rts%02d.rts", i);
| ^~~~
/home/mrichters/Repos/Raze/source/core/rts.cpp:123:33: note: ‘snprintf’ output between 10 and 18 bytes into a destination of size 16
123 | snprintf(rts, 16, "rts%02d.rts", i);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-01-06 09:32:36 +11:00
Mitchell Richters
91a05d01d2
- Silence noisy line in resourcefile.h against GCC builds.
...
In file included from /home/mrichters/Repos/Raze/source/common/filesystem/include/fs_filesystem.h:12,
from /home/mrichters/Repos/Raze/source/common/engine/filesystem.h:2,
from /home/mrichters/Repos/Raze/source/common/utility/zstring.h:43,
from /home/mrichters/Repos/Raze/source/common/platform/posix/i_system.h:14,
from /home/mrichters/Repos/Raze/source/common/platform/posix/sdl/hardware.cpp:38:
/home/mrichters/Repos/Raze/source/common/filesystem/include/resourcefile.h: In member function ‘int FileSys::FResourceFile::GetEntryNamespace(uint32_t)’:
/home/mrichters/Repos/Raze/source/common/filesystem/include/resourcefile.h:180:43: warning: enumerated and non-enumerated type in conditional expression [-Wextra]
180 | return (entry < NumLumps) ? Entries[entry].Namespace : ns_hidden;
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-01-06 09:32:36 +11:00