Louis Gombert
bda97fc57a
Merge pull request #523 from DescentDevelopers/windows-fix
...
Fixes for Windows build
2024-08-12 22:49:09 +02:00
Azamat H. Hackimov
73373205e5
Merge pull request #517 from Lgt2x/cmake-headers
...
CMake: add all headers to target sources
2024-08-12 15:58:05 +03:00
Louis Gombert
e74515ddff
Merge pull request #524 from MaddTheSane/netDylib
...
macOS: Fix netgames not looking for dylib.
2024-08-12 09:10:14 +02:00
C.W. Betts
0d9873a361
macOS: Fix netgames not looking for dylib.
...
replaces #522
2024-08-11 23:07:25 -06:00
Azamat H. Hackimov
f888a101ab
Fix crash in Release mode for new pilot
...
During start of new game with new pilot (never played) game tries to inject to play level1.mve before training mission right in the middle of update UI frame. At same time, if game previously found mainmenu.mve, it will be looped in main menu screen. Since buffers for MVE playback already allocated fo mainmenu.mve, trying to start another movie will lead to crash.
Removed movie injection from playing, now new pilot will see this sequence:
New game -> Training mission -> level1.mve cutscene -> Level 1
Removed RELEASE #ifdef's on this part of code as this definitely masked issue until we caught it in preparation of release build.
2024-08-12 01:44:21 +03:00
Azamat H. Hackimov
ba1020ef70
Fix compilation on Windows
...
SetUnhandledExceptionFilter requires WINAPI macros on RecordExceptionInfo() declaration, otherwise it fails to compile on x86 arch.
2024-08-11 20:40:19 +03:00
Louis Gombert
6ec444d9cc
Merge pull request #514 from pzychotic/windows-crashdumps
...
Windows crashdumps
2024-08-11 12:34:38 +02:00
Louis Gombert
688bb3715b
Merge pull request #519 from winterheart/vecmat-cleanup
...
VECMAT: Silence "unknown pragma" warning on gcc/clang
2024-08-11 10:35:08 +02:00
Azamat H. Hackimov
39f971e325
VECMAT: Silence "unknown pragma" warning on gcc/clang
...
There no double to float conversion anymore, so in Windows this pragma is useless.
2024-08-11 04:06:43 +03:00
Thomas Roß
1809f48ca9
[Misc] Removed some leftover debug stuff that does nothing anymore.
2024-08-10 18:44:29 +02:00
Thomas Roß
33288916c2
Replaced the old and now unused code for manunal callstack parsing with the creation of a crashdump file aka MiniDump. Together with the matching debug symbols from the previous commit, we can analyse these crashdumps to fix the problem.
2024-08-10 18:41:48 +02:00
Thomas Roß
0d01d3c84c
[Build] Enable the generation of debug symbols in all build configurations and install them to be available in our GitHub workflow artifacts. This prepares us to create crashdumps on user systems even from release builds that we will than be able to analyse on a dev machine.
2024-08-10 18:40:24 +02:00
Azamat H. Hackimov
b923179526
Merge pull request #518 from Lgt2x/disable-editor
...
Disable shipping the editor because it is not currently usable
2024-08-10 17:43:24 +03:00
Louis Gombert
9551e78b92
Disable shipping the editor because it is not currently usable
2024-08-10 01:07:18 +02:00
Louis Gombert
dbf6c149f5
Merge pull request #515 from MaddTheSane/netDylib
...
macOS: Make sure the netcon modules end with dylib.
2024-08-10 00:27:15 +02:00
Louis Gombert
60c5dbf1fe
CMake: add all headers to target sources
...
This can help with CMake IDE integration and file indexing.
2024-08-09 17:09:14 +02:00
C.W. Betts
7d5b51e8f8
macOS: Make sure the netcon modules end with dylib.
2024-08-05 15:54:38 -06:00
Louis Gombert
05e873ade4
Merge pull request #512 from tophyr/pr/fix-vcpkg
...
Fix VCPKG builds in GitHub CI
2024-08-04 18:13:34 +02:00
Louis Gombert
4c4cd9cfc6
Build SDL2 with alsa for VCPKG
2024-08-04 10:49:48 -05:00
Chris Sarbora
f93f86e7dd
Update CI workflow with correct vcpkg dependencies
2024-08-04 10:42:09 -05:00
Louis Gombert
10de36c0e4
Merge pull request #469 from tophyr/vcpkg-all-thethings
...
Use vcpkg on all presets
2024-08-04 14:10:09 +02:00
Chris Sarbora
e5dcce3c9f
Use vcpkg for all platform presets
2024-08-03 23:38:01 -05:00
Louis Gombert
fd08fab0dd
Merge pull request #507 from MaddTheSane/clangWarn
...
Quiet warnings about uninitialized values.
2024-08-03 15:37:33 +02:00
C.W. Betts
1384aa62af
Quiet warnings about uninitialized values.
2024-07-31 15:40:16 -06:00
Louis Gombert
ae5840f314
Merge pull request #502 from winterheart/modules-split
...
Splitting submodules of project
2024-07-30 23:17:47 +02:00
Azamat H. Hackimov
5b80408450
Merge pull request #503 from Lgt2x/main-cleanup
...
Cleanup sdlmain.cpp
2024-07-31 00:11:25 +03:00
Louis Gombert
9c016dde45
Merge pull request #504 from pzychotic/msvc-build-settings
...
Cleanup MSVC build settings
2024-07-29 08:54:03 +02:00
Thomas Roß
8c88a8fc21
[Build] Removed unused IS_WINDOWS and duplicate _CRT_SECURE_NO_WARNINGS compiler defines.
2024-07-29 00:29:12 +02:00
Thomas Roß
3b3cd434e3
[Build] Add /LTCG (Link Time Code Generation) to linker flags in Relese builds.
...
We already add /GL (Whole Program Optimization) to the compiler flags in Release builds. By not using /LTCG for the linker, the build output will be spammed with following message:
MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
2024-07-29 00:29:12 +02:00
Thomas Roß
ead9f61558
[Build] Replaced string based handling of linker flags with add_link_options().
2024-07-29 00:29:12 +02:00
Azamat H. Hackimov
4b192f8960
Merge pull request #500 from Lgt2x/cache-dir
...
Use standard temporary directory instead of custom/cache
2024-07-28 22:10:34 +03:00
Azamat H. Hackimov
dd32f4e3ed
Split libacm files to third_party/libacm and AudioEncode
...
Logically adecode/aencode belongs to AudioEncode.
2024-07-28 21:51:35 +03:00
Louis Gombert
a0a4195a3a
SDLMain: remove unused defines, superfluous logging
2024-07-28 17:52:01 +02:00
Louis Gombert
ae58bb674f
Remove leftover glide renderer references
2024-07-28 17:52:01 +02:00
Louis Gombert
529e5de6d3
sdlmain: remove unused and outdated d3ArgTable
2024-07-28 17:52:01 +02:00
Louis Gombert
1328a8c846
Remove non-functional OpenGL logging methods
2024-07-28 17:52:01 +02:00
Louis Gombert
fc2268d629
DMFC: declare external DMCFStringTable, DMFCStringTableSize, _DMFCErrorString, basethis and DMFCGetString only when needed
2024-07-28 17:52:01 +02:00
Louis Gombert
292d9086a7
Create temp directory when set with -tempdir too
2024-07-28 17:47:53 +02:00
Louis Gombert
bfd04737b9
Non-throwable temp path function
2024-07-28 16:27:50 +02:00
Azamat H. Hackimov
cb9e0f8828
Remove unused osTask class
2024-07-28 16:50:43 +03:00
Azamat H. Hackimov
fc209ddba4
Remove unused texture.h
2024-07-28 16:50:43 +03:00
Azamat H. Hackimov
220108f650
Isolate libacm module
...
Update libacm module, minor cleanups.
2024-07-28 16:50:43 +03:00
Azamat H. Hackimov
c773fbbe70
Isolate unzip module
...
Update unzip module, minor cleanups.
2024-07-28 16:50:43 +03:00
Azamat H. Hackimov
7ba009b811
Isolate rtperformance module
...
Update rtperformance module, minor cleanups.
2024-07-28 16:50:42 +03:00
Azamat H. Hackimov
b9da6b59ff
Isolate physics module
...
Update physics module, minor cleanups, remove unused code.
2024-07-28 16:50:42 +03:00
Azamat H. Hackimov
b876716115
Update model module
...
Remove ddio module usage.
2024-07-28 16:50:42 +03:00
Azamat H. Hackimov
9e3563de4d
Isolate model submodule
...
Isolate model from rest of the project, minor cleanups.
2024-07-28 16:50:42 +03:00
Azamat H. Hackimov
7b31572d05
Isolate grtext submodule
...
Isolate grtext from rest of the project, minor cleanups.
2024-07-28 16:50:42 +03:00
Azamat H. Hackimov
87882c9976
Isolate ui submodule
...
Isolate ui from rest of the project, minor cleanups.
2024-07-28 16:50:41 +03:00
Azamat H. Hackimov
e9ac3b3ceb
Merge d3movie module into Descent3
...
Simplify project layout, minor cleanup.
2024-07-28 16:50:41 +03:00