Christoph Oelckers
48977265ae
minor backend update from GZDoom.
2024-01-07 10:05:41 +01:00
Christoph Oelckers
57198e0232
reduce excessive stack use in libschrift.
2024-01-06 14:43:37 +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
763259d654
silence warnings in nanosvg.h
2024-01-06 10:07:15 +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
ceb8b21599
- Add Duke 3D WT skybox DEF file from e32wt with blessing from author.
2024-01-06 10:11:07 +11:00
Mitchell Richters
683c27a1f5
- Shave a few px off the top of banner to centre the Raze logo better.
2024-01-06 09:52:53 +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
Mitchell Richters
416941f159
- Add new background image with Raze logo over an in-game screenshot.
2024-01-06 09:04:23 +11:00
Mitchell Richters
6aa706ce79
- ZWidget: Remove canvas->fillRect()
call in ImageBox::OnPaint()
.
...
* This was causing transparent images to sit on a pure black canvas rather than the colour of the dialogue box.
* This change has been submitted upstream also.
2024-01-06 09:04:23 +11:00
Christoph Oelckers
a5760dc52f
add missing headers to pathfill.h
2024-01-05 17:31:35 +01:00
Christoph Oelckers
463190f528
add missing files.
2024-01-05 17:23:09 +01:00
Christoph Oelckers
673a913f92
Backend update from GZDoom.
...
Mainly remembering the game list's initial setting.
2024-01-05 17:08:47 +01:00
Mitchell Richters
35c22c56c7
- Exhumed: Add CVAR to control vert panning intensity.
2024-01-05 22:06:06 +11:00
Mitchell Richters
0edc69c269
- Exhumed: Tidy up doPlayerVertPanning()
setup.
2024-01-05 22:06:06 +11:00
Mitchell Richters
1da71c3ca8
- Rename DCorePlayer::StrafeVel
to DCorePlayer::RollVel
as it better matches its usage.
2024-01-05 20:59:28 +11:00
Mitchell Richters
7c1aa53c45
- Blood: Clean up unnecessary vel negation in MoveDude()
.
2024-01-05 20:59:28 +11:00
Mitchell Richters
d25f6597b8
- Move DCorePlayer::resetCameraAngles()
call from each game into GameInput::getInput()
.
2024-01-05 20:59:28 +11:00
Mitchell Richters
e58d5f7637
- Move GameInput::ResetInputSync()
call from each game into GameInput::getInput()
.
2024-01-05 20:59:27 +11:00
Mitchell Richters
baa28dc6a8
- Exhumed: Adjust c66b9795b9
to always return the last sequence instead of a nullptr.
...
* Returning a nullptr and having the caller return from that potentially results in no animation being drawn at all.
* Change here is akin to fix applied in 1cb15ed878
.
2024-01-05 20:59:26 +11:00
Mitchell Richters
f800d6937c
Revert "- Exhumed: Fix OOB frame with the rat."
...
This reverts commit fe356f3183
.
* The applied fix in 1cb15ed878
covers this and probably does it in a better manner (i.e., play the last frame again vs. resetting the frame sequence).
2024-01-05 20:55:51 +11:00
Mitchell Richters
6faaa3844f
- Add new background image to replace placeholder.
2024-01-05 18:11:33 +11:00
Christoph Oelckers
0ee064ba3a
removed GZDoom specific content from the launcher.
2024-01-04 22:31:27 +01:00
Christoph Oelckers
5a232f8fa6
eliminated the small white part of the initial window content after the IWAD picker.
2024-01-04 22:23:05 +01:00
Christoph Oelckers
3b834b18af
fixed Linux include
2024-01-04 21:09:04 +01:00
Christoph Oelckers
6948ed41a1
added ZWidget based game picker
2024-01-04 20:54:04 +01:00
Christoph Oelckers
b72fcd5185
converted files to UTF-8
2024-01-04 18:29:28 +01:00
Christoph Oelckers
52b3d386cf
backend update from GZDoom
2024-01-04 18:24:00 +01:00
Christoph Oelckers
fb6beb905a
Blood: fixed cutscene sound not playing when starting a map from the console.
2024-01-04 18:08:23 +01:00
Christoph Oelckers
e2048bd8bd
fixed loading of embedded files from directories.
2024-01-04 17:56:15 +01:00
Christoph Oelckers
4f8207a73f
added the last batch of new characters for SW's big font.
2024-01-04 17:39:36 +01:00
Christoph Oelckers
663bc0f18b
fixed enemy spawning when killing the female NPCs.
2024-01-04 17:12:26 +01:00
Christoph Oelckers
ac8e80e52f
account for resorted directories when accessing the local file path array in file_directory.cpp
2023-12-31 23:42:57 +01:00
Rachael Alexanderson
f9b2532c24
- tweak build script a bit
2023-12-30 07:47:25 -05:00
Christoph Oelckers
1dad871c61
build script added.
2023-12-30 09:39:31 +01:00
Christoph Oelckers
9315c8b307
fixed autoaiming.
...
The WW2GI pistol check was completely wrong. :(
2023-12-30 09:07:32 +01:00
Christoph Oelckers
d352f564db
minor backend update.
2023-12-28 21:12:24 +01:00
Christoph Oelckers
542997a967
perform music volume lookup by lump number instead of name.
...
This way any setting will work for both short and long file names.
2023-12-27 20:10:54 +01:00
Christoph Oelckers
6c79e35c25
Backend update from GZDoom.
2023-12-26 22:28:44 +01:00
Christoph Oelckers
5b4aa573b1
fixed: The generic sound loader for SNDINFO must use S_LookupSound to match the feature set of the game specific code.
...
SW uses this and also needs to be able to handle the extended lookup.
2023-12-26 18:40:08 +01:00
Christoph Oelckers
485ad27a5a
added missing null check in clipmove.
...
This only very rarely triggered for Blood's projectiles, no other things use this code path.
2023-12-21 00:53:11 +01:00
Christoph Oelckers
af4eaf69e3
silenced some warnings.
2023-12-21 00:50:53 +01:00
Christoph Oelckers
27da9b6b79
fixed crash on trying to read from a mounted directory's content.
2023-12-19 19:01:30 +01:00
Christoph Oelckers
3b44c50dfd
Blood: fixed packSlots being cleared on loading a savegame.
...
Since the player refactor the order of operations had changed and this got called after reading the player, not before.
2023-12-19 18:53:43 +01:00