Commit Graph

949 Commits

Author SHA1 Message Date
Daniel Gibson
f61f34971d Add FORCE_COLORED_OUTPUT option (for GCC and Clang) to CMakeLists.txt
To enforce colorful compiler warnings when building with Ninja
(and GCC/Clang) on Linux and similar platforms.

Taken from dhewm3 (where I implemented it).
2024-04-21 18:21:42 +02:00
Dan Raviv
eb1ad62b8b Verbose build in CI
Useful for debugging CI and build issues
2024-04-21 09:21:41 -07:00
Dan Raviv
462ae4de3f [CI] Use same job for both Debug and Release builds
Making use of CMake's multi-config generators which we're using.
Simpler and more efficient, halves number of jobs.
2024-04-21 09:21:15 -07:00
Azamat H. Hackimov
1765d07790 Remove now unused hogUtils-i686 2024-04-21 19:15:23 +03: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
Azamat H. Hackimov
fb0dabc367 Implementing HogMaker replacement of HogUtils
Currently, this tool can make only create HOG from list of files taken from text file (one line per file).
2024-04-21 19:15:23 +03:00
Thomas Roß
fabcdcd84d [Windows] Temporary workaround to keep the window resolution as it was before the changes to fix the preprocessor defines for the Release build. 2024-04-21 17:40:22 +02:00
Thomas Roß
018c43b995
Merge branch 'DescentDevelopers:main' into fix-release-build 2024-04-21 17:09:19 +02:00
Thomas Roß
9d2496f28b [Build] Only set preprocessor define _DEBUG in Debug builds.
Linux and Mac had this set on all build configurations.
2024-04-21 15:14:31 +02:00
Jeod
84938fc52f
Merge pull request #133 from Jayman2000/remove-unnecessary-build-dependency
Remove unnecessary build dependency
2024-04-21 09:03:34 -04:00
Jason Yundt
423dfdb249 Remove unnecessary build dependency
2d4d82d (Accurately find the linux artifacts (#80), 2024-04-19) made it
so that make no longer gets used as a part of the build process, but it
didn’t remove make from the list of build dependencies.
2024-04-21 08:59:56 -04:00
Thomas Roß
299a46740e [Build] Fixed Linux/Mac Release build compilation due to inconsistant #ifdef use that worked only on Windows. 2024-04-21 14:28:51 +02:00
Thomas Roß
d3d83d3e44 [Build] Fixed 'uninitialized local variable' in Release build after last commit. 2024-04-21 14:13:14 +02:00
Thomas Roß
480b6ad0ed [Build] Added missing RELEASE preprocessor define in Release build. 2024-04-21 14:11:45 +02:00
Louis Gombert
07d988e194
Merge pull request #127 from th1000s/cmakefixes
CMake consistent white space formatting
2024-04-21 10:12:48 +00: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
8e531a5496
Merge pull request #124 from danra/brew_cmake
Add cmake to Brewfile, simplify instructions
2024-04-21 08:00:25 +00:00
Dan Raviv
f142a65a15 Add cmake to Brewfile, simplify instructions 2024-04-20 20:28:38 -07:00
Jeod
8e947628ca
Merge pull request #106 from DescentDevelopers/issue-templates
Add issue templates, adjust gitignore for windows
2024-04-20 20:05:41 -04:00
Jeod
05599feb33
Merge pull request #119 from DescentDevelopers/JeodC-patch-1 2024-04-20 18:04:04 -04:00
Jeod
fea041475e
Add missing prerequisite 2024-04-20 18:03:55 -04:00
Jeod
c8f5fcdc9a
Merge pull request #118 from DescentDevelopers/JeodC-patch-1 2024-04-20 18:02:19 -04:00
Jeod
76ae823250
Correct typos 2024-04-20 18:02:06 -04:00
Louis Gombert
0f4b854cf9
Merge pull request #116 from DescentDevelopers/readme-update
Update README.md
2024-04-20 21:52:37 +00:00
Louis Gombert
9e56f39ae6
Merge pull request #117 from GravisZro/fix/warnings
More simple warning fixes
2024-04-20 21:40:09 +00:00
GravisZro
534ddfef24 More simple warning fixes
This should be the remaining NULL/'\0' conflation fixes. This also fixes
a handful of type declarations. No significant changes.
2024-04-20 16:22:29 -04:00
Jeod
f929310f9d
Update README.md 2024-04-20 16:04:14 -04:00
JeodC
1382d9f2af Add proposed changes 2024-04-20 13:53:21 -04:00
Louis Gombert
3515bc0043
Merge pull request #82 from th1000s/fix
Fix -fpermissive issues, remove workaround flags
2024-04-20 17:17:28 +00:00
Kevin Bentley
23503d144c
Merge pull request #96 from Lgt2x/add-missing
Add D3 utilities source (from kevinbentley/add-missing)
2024-04-20 10:40:42 -06:00
Louis Gombert
51e8f034ed Remove license from html files 2024-04-20 18:34:49 +02:00
Louis Gombert
31b63bb79f Add license to legacy utilities
Generated using script:
for file in \$(find ./legacy -type f | \grep -E "\.cpp|\.h")
do
  mv $file temp.xxx
  cp gplheader $file
  cat temp.xxx >> $file
done
2024-04-20 18:33:12 +02:00
Louis Gombert
b0f7dc1437 Add D3 utilities source (from kevinbentley/add-missing)
Kevin Bentley <kevin.bentley@gmail.com>
2024-04-20 18:33:12 +02:00
Kevin Bentley
f3ddb1aa28 Hog Utilities 2024-04-20 18:33:12 +02:00
Kevin Bentley
7cdb405702 A bunch of other files from D3 to sort through. 2024-04-20 18:33:12 +02:00
Kevin Bentley
8897c4365f
Merge pull request #113 from kevinbentley/license-clarification
License clarification
2024-04-20 10:17:28 -06:00
Kevin Bentley
44c4f867e8 Removed extraneous license 2024-04-20 10:15:38 -06:00
Kevin Bentley
d819437f58 Removed extraneous license text. 2024-04-20 10:15:08 -06:00
Kevin Bentley
fdca45a651
Merge pull request #111 from kevinbentley/license-clarification
Updated source to reflect the license that this code is released under.
2024-04-20 10:02:47 -06:00
Kevin Bentley
1f45163248 Updated source to reflect the license that this code is released under. 2024-04-20 09:57:49 -06:00
Thomas Otto
9b1f6a3178 Remove -fpermissive and -Wno-address-of-temporary flags 2024-04-20 17:22:27 +02:00
Thomas Otto
b737ec39d3 Don't take the address of an rvalue
Create items explicitly on the stack first, then these are copied in the
following call.
2024-04-20 17:22:27 +02:00
Louis Gombert
72366e1a2e
Merge pull request #108 from th1000s/vexvoid
Void and Vexing Parse
2024-04-20 15:07:09 +00:00
Thomas Otto
bd0122e5af Use PInfo* instead of void*
This avoids a lot of casts back to this (and ever only this) type.
2024-04-20 16:33:22 +02:00
Thomas Otto
0037e5206e Fix a vexing parse 2024-04-20 16:33:22 +02:00
Azamat H. Hackimov
f023d24b5b
Merge pull request #104 from Lgt2x/cmake-format
Standardize CMake formatting
2024-04-20 16:33:09 +03:00
JeodC
ec9800884e Add issue templates, adjust gitignore for windows 2024-04-20 09:30:44 -04:00
Louis Gombert
ac2b95b645 Remove deprecated CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS 2024-04-20 14:45:49 +02:00
Louis Gombert
c2b71b8147 Standardize CMake formatting
lowercase function names, blocks indent
2024-04-20 14:45:49 +02:00
Louis Gombert
ad6c3ee5a9
Merge pull request #86 from Lgt2x/d3-install
Remove D3_GAMEDIR hard-coded CMake variable
2024-04-20 11:13:51 +00:00