Latest Raze Changes

Latest 50 commits, skipping 2250

Unofficial development builds at DRD Team

Newer commits | Older commits

21-Aug-2023 (Monday) at 13:32:15 PDT by Christoph Oelckers
Commit 3e3526f1ec
Parents: acd5911cd4

  • use a local hash function in the file system.

21-Aug-2023 (Monday) at 13:20:30 PDT by Christoph Oelckers
Commit acd5911cd4
Parents: 4906d287cb

  • StringPool class added

This is a specialized stripped doen FMemArena.

21-Aug-2023 (Monday) at 12:26:44 PDT by Christoph Oelckers
Commit 4906d287cb
Parents: a0d679b84b

  • use std::vector to pass the file list to InitMultipleFiles

19-Aug-2023 (Saturday) at 13:59:11 PDT by Christoph Oelckers
Commit a0d679b84b
Parents: ca1d7fd539

  • FileData cleanup and uncoupling from FString.

Work is still needed to allow this to use the lump cache directly because some decisions in the past made this data padded by a zero byte.

19-Aug-2023 (Saturday) at 13:08:59 PDT by Christoph Oelckers
Commit ca1d7fd539
Parents: 8a5d3c096b

  • store longName in a std::string and use std::vector for FileInfo

TArray cannot handle std::string so this must both be changed together.

19-Aug-2023 (Saturday) at 12:42:58 PDT by Christoph Oelckers
Commit 8a5d3c096b
Parents: 25b7b18c3d

  • return a std::string from GetFileFullPath

19-Aug-2023 (Saturday) at 12:10:07 PDT by Christoph Oelckers
Commit 25b7b18c3d
Parents: c5b5b2b873

  • got rid of the two copying variants of fileSystem.GetFileShortName.

19-Aug-2023 (Saturday) at 11:54:51 PDT by Christoph Oelckers
Commit c5b5b2b873
Parents: eccbafc1bc

  • cleanup.

19-Aug-2023 (Saturday) at 09:46:21 PDT by Christoph Oelckers
Commit eccbafc1bc
Parents: 5398045f7d

  • let FileData.GetString only return a const char pointer.

Not exposing the implementation will allow a lot more optimization in the backend and we also want to get rid of FString here.

19-Aug-2023 (Saturday) at 07:49:07 PDT by Christoph Oelckers
Commit 5398045f7d
Parents: 21d6eb99eb

  • got rid of FileSystem::GetFileData.

Using FMemFile is better in all these places.

19-Aug-2023 (Saturday) at 07:16:56 PDT by Christoph Oelckers
Commit 21d6eb99eb
Parents: 12c7413149

use std::vector as return value for the FileReader's buffer readers.

19-Aug-2023 (Saturday) at 06:52:10 PDT by Christoph Oelckers
Commit 12c7413149
Parents: 7f024debfd

  • handle ZLibError

19-Aug-2023 (Saturday) at 06:46:10 PDT by Christoph Oelckers
Commit 7f024debfd
Parents: 9f45cc0469

  • clean up includes in 3 files.

19-Aug-2023 (Saturday) at 04:54:04 PDT by Christoph Oelckers
Commit 9f45cc0469
Parents: def6bffdfc

  • use snprintf for FileWriter::Printf.

pulling in stb_sprintf here may be tricky if the consuming application uses different options, so better not use it here.

19-Aug-2023 (Saturday) at 06:32:53 PDT by Christoph Oelckers
Commit def6bffdfc
Parents: 2671394961

  • use std::vector for the MemoryArrayReader

19-Aug-2023 (Saturday) at 06:30:40 PDT by Christoph Oelckers
Commit 2671394961
Parents: 825f92b274

  • only use standard types in WriteZip's API.

19-Aug-2023 (Saturday) at 06:26:28 PDT by Christoph Oelckers
Commit 825f92b274
Parents: 959d0e93f7

  • use std::string in FZipFile::Open

19-Aug-2023 (Saturday) at 06:18:45 PDT by Christoph Oelckers
Commit 959d0e93f7
Parents: f0bbc32bae

  • fixed and cleaned up file_whres.cpp

19-Aug-2023 (Saturday) at 06:18:01 PDT by Christoph Oelckers
Commit f0bbc32bae
Parents: 454af06acf

  • add m_swap.h to several files.

19-Aug-2023 (Saturday) at 05:06:06 PDT by Christoph Oelckers
Commit 454af06acf
Parents: 771fa2b51c

  • use a local byteswap header in the file system.

20-Aug-2023 (Sunday) at 11:44:11 PDT by Christoph Oelckers
Commit 771fa2b51c
Parents: 5f3d25ef44

  • rewrote dir CCMD using ScanDirectory and avoiding I_ChDir entirely.

19-Aug-2023 (Saturday) at 03:18:35 PDT by Christoph Oelckers
Commit 5f3d25ef44
Parents: 566a8f58a7

  • use ScanDirectory in all places where the findfile API was used.

This allows to completely hide its implementation details from the rest of the code which only gets a list of file names now.

19-Aug-2023 (Saturday) at 04:55:02 PDT by Christoph Oelckers
Commit 566a8f58a7
Parents: 219b3fb9f9

  • disable dir CCMD.

The implementation of this one is garbage, it needs to be redone without I_ChDir.

19-Aug-2023 (Saturday) at 00:24:33 PDT by Christoph Oelckers
Commit 219b3fb9f9
Parents: 5a32f98bde

  • uncoupled directory loader from the rest of the engine.

18-Aug-2023 (Friday) at 13:46:31 PDT by Christoph Oelckers
Commit 5a32f98bde
Parents: 2524ea6b0e

  • first stage of uncoupling the file system from the engine.

This replaces several FStrings and TArrays with std::string and std::vector.

18-Aug-2023 (Friday) at 12:26:22 PDT by Christoph Oelckers
Commit 2524ea6b0e
Parents: 1dc47f91c2

  • moved linked textures from file system to texture manager.

18-Aug-2023 (Friday) at 11:34:12 PDT by Christoph Oelckers
Commit 1dc47f91c2
Parents: 145450a044

  • file system error management refactoring.

21-Aug-2023 (Monday) at 11:54:16 PDT by Cacodemon345
Commit 145450a044
Parents: ae2fa11963

WebP image support

22-Aug-2023 (Tuesday) at 03:49:32 PDT by alexey.lysiuk
Commit ae2fa11963
Parents: 22271d146a

  • added safeguards against very early access to console variables in Cocoa backend

for an unknown reason, application activation functions can be called way too early during app launch S_SetSoundPaused() function tries to read values of i_pauseinbackground and i_soundinbackground console variables before their initialization leading to a null pointer dereference

https://forum.zdoom.org/viewtopic.php?t=78092

21-Aug-2023 (Monday) at 18:23:50 PDT by nashmuhandes
Commit 354b0f9257
Parents: 9cadf983b0

Add website to README.md

21-Aug-2023 (Monday) at 18:10:50 PDT by nashmuhandes
Commit 18c162c771
Parents: 9e0bf90be6

Remove the AppImageBuilder stuff

21-Aug-2023 (Monday) at 18:09:51 PDT by nashmuhandes

Merge remote-tracking branch 'remotes/ZDoom/gzdoom/staging' into gzd_staging

21-Aug-2023 (Monday) at 16:49:34 PDT by nashmuhandes
Commit 9cadf983b0
Parents: 89b42e3e97

Go back to the hex font for now

21-Aug-2023 (Monday) at 11:50:36 PDT by Cacodemon345
Commit 22271d146a
Parents: 7fee89d1f5

Switch to vcpkg for library dependencies

09-Aug-2023 (Wednesday) at 11:56:45 PDT by nashmuhandes
Commit 89b42e3e97
Parents: 823a086e3c

Use a custom naming convention for VKDoom-only stuff

17-Aug-2023 (Thursday) at 12:28:35 PDT by Christoph Oelckers
Commit 7fee89d1f5
Parents: 9b790d23a8

  • uncouple the file system from the engine's Printf function.

This is needed to use it in non GZDoom based projects.

17-Aug-2023 (Thursday) at 09:44:26 PDT by Christoph Oelckers
Commit 9b790d23a8
Parents: a4573b4ad1

  • optimization of WideString and FileReader::Printf.

Both now omit the intermediate FString as the target buffer can be directly written to. WideString was also moved to utf8.cpp/h to uncouple from zstring.

17-Aug-2023 (Thursday) at 04:10:15 PDT by Cacodemon345
Commit a4573b4ad1
Parents: 2261dde791

Fix QOI image loading

14-Aug-2023 (Monday) at 08:37:48 PDT by Cacodemon345
Commit 2261dde791
Parents: ce8753c6e1

Fix for Clang compilers

14-Aug-2023 (Monday) at 04:07:05 PDT by Cacodemon345
Commit ce8753c6e1
Parents: 14a3cf8fc2

Replace cxx_thread_local check

14-Aug-2023 (Monday) at 03:20:50 PDT by Cacodemon345
Commit 14a3cf8fc2
Parents: 74b3d8e0a0

CMakeLists upgrade to 3.16 and cleanup

  • Remove precompiled header hack
  • Fixes for compilation on VS2022 Debug configurations

13-Aug-2023 (Sunday) at 10:00:46 PDT by Christoph Oelckers
Commit 74b3d8e0a0
Parents: c727e40e6c

  • optimized the QOI loader
  • removed the intermediate pixel buffer
  • instead of calling the file API for each single byte, load it into a buffer and use direct memory access. Using a file API like this can be magnitudes slower, depending on the underlying data.
  • don't store the header in the image source object, it is never used again after validatipn.

13-Aug-2023 (Sunday) at 02:59:03 PDT by Cacodemon345
Commit c727e40e6c
Parents: fe7beaaf17

Add support for QOI image formats

12-Aug-2023 (Saturday) at 03:36:42 PDT by Cacodemon345
Commit fe7beaaf17
Parents: b695e845e1

Add support for HDR canvas textures

Vulkan only.

12-Aug-2023 (Saturday) at 01:56:34 PDT by Christoph Oelckers
Commit b695e845e1
Parents: 46473b45da

  • eliminated several pointless string copies in network code.

12-Aug-2023 (Saturday) at 01:29:04 PDT by Christoph Oelckers
Commit 46473b45da
Parents: a675e4add8

  • use an FString to store the source for DHUDMessage

12-Aug-2023 (Saturday) at 01:28:18 PDT by Christoph Oelckers
Commit a675e4add8
Parents: 16cefb7528

  • removed unused ReplaceString function.

12-Aug-2023 (Saturday) at 01:10:27 PDT by Christoph Oelckers
Commit 16cefb7528
Parents: 0c9b652583

  • some angle cleanup
  • clean out the angle conversion helpers from basics.h.
  • use degrees instead of radians in TMatrix3x3.

12-Aug-2023 (Saturday) at 00:38:41 PDT by Christoph Oelckers
Commit 0c9b652583
Parents: b5c1237f93

  • moved EStateUseFlags to a more fitting header and deleted unused RAD2BAM inlines

12-Aug-2023 (Saturday) at 00:31:33 PDT by Christoph Oelckers
Commit b5c1237f93
Parents: 81af5279d1

  • removed NOVTABLE #define.

This was used on just two small base classes, the overall savings are zero.

Newer commits | Older commits