Commit Graph

20 Commits

Author SHA1 Message Date
Azamat H. Hackimov
08b906fcc3 Introducing installation steps
Added installation steps for all built targets. Added FORCE_PORTABLE_INSTALL cmake option that controls portable installation (only supported for now).
2024-05-22 21:35:52 +03:00
Louis Gombert
e66c359947
Merge pull request #340 from MaddTheSane/visibility
Hide module symbols by default
2024-05-22 17:39:11 +00:00
Thomas Roß
1bf84737e5 [Scripts] Dllexport script entry points. 2024-05-15 20:09:18 +02:00
C.W. Betts
446ead20d6 Make plug-ins and modules only export select symbols. 2024-05-13 01:22:40 -06:00
Louis Gombert
196c155895 Remove Gamegauge and -timetest command-line argument
Gamegauge is an outdated 3D performance benchmark tool. The -timetest command was used to activate it. Read more about about it here: https://www.gamespot.com/articles/3d-gamegauge-explained/1100-2463688/
2024-05-12 18:32:46 +02:00
Azamat H. Hackimov
280dd43636 Fix search paths on Hog generation
Replaced CMAKE_BINARY_DIR with target's directory expression generator.
2024-05-07 21:18:40 +03:00
Azamat H. Hackimov
7e46ff1c06 Simplify custom targets for HOG creation
Use new features of HogMaker.
2024-05-07 19:18:49 +03:00
C.W. Betts
3adf6906ab Build the plug-ins as CMake modules. 2024-05-04 12:05:11 -06:00
Azamat H. Hackimov
ef886a2cf2 Generate d3-osx.hog for macOS
Reorganizing hog generation for Linux and macOS.
2024-05-04 16:34:36 +03:00
Azamat H. Hackimov
7352761bad Unbundle fix API from osiris_vector.h
Seem this was done to ease linking mission dlls. Now these missions are reusing fix as static library.
2024-05-03 16:22:35 -04:00
Azamat H. Hackimov
4b9ecd66de Add unittest for Osiris checksum calculation
Checking that -DCHECKSUM is correct with actual data structures.
2024-04-25 23:03:20 +03:00
Jacob Coby
e21b8a3d51 Update script CHECKSUM for 64 bit platforms
Osiris_CreateGameChecksum computes a different checksum on 64 bit
architectures due to the game structures being larger, mostly from
pointers being 8 bytes instead of 4.

Fixes #160
2024-04-25 09:39:41 -04:00
Azamat H. Hackimov
f19510ef2f Generate HOG files as dependencies for Descent3
Generated d3-linux.hog now places next to Descent3 executable, ready to play. Scripts also generated in ${CMAKE_BINARY_DIR} and don't pollutes source dir.
2024-04-21 19:15:23 +03:00
Thomas Otto
00389c50ea Some more CMake white space formatting
- tabs to spaces
 - use Unix line endings everywhere
 - newline at end of file
 - remove trailing white space
 - no space between keywords and opening parenthesis
 - use 2 spaces to indent
2024-04-21 11:46:32 +02:00
Louis Gombert
c2b71b8147 Standardize CMake formatting
lowercase function names, blocks indent
2024-04-20 14:45:49 +02:00
Louis Gombert
4b53454c0f Remove D3_GAMEDIR hard-coded CMake variable 2024-04-20 13:02:40 +02:00
GravisZro
b5632bbc3e Fix simple warnings
Most of these warnings are due to the use of NULL instead of 0 or NULL instead of '\0'.
Some are macro redefinitions. None of them are pointer storage related. Those will be
in another PR.
2024-04-18 15:13:35 -04:00
Azamat H. Hackimov
3f7666eaac Fixes and enhancements to CMake build system
Updated compatibility level to 3.19. Set C++17 globally for all platforms. Removed hardcoded compiler and optimisation flags. Adjusted dependencies and libraries linking.

Reworked script building and hog creation.
2024-04-18 03:04:16 +03:00
Dan Raviv
ec49dbdefa Temporarily(?) remove pre-compiled, 32-bit-only macOS hogutils
macOS no longer supports 32-bit. If this is needed, hopefully we can get the sources for hogutils?
2024-04-16 13:02:45 -07:00
Kevin Bentley
df209742fc Initial import 2024-04-15 21:43:29 -06:00