Commit graph

1460 commits

Author SHA1 Message Date
ttimo
0f24e27e6b retarget to Visual Studio 2022 (v143) and Windows 10 SDK 2024-01-21 18:30:08 -06:00
bilaliscarioth
b5dfbd485f FreeBSD / NetBSD / OpenBSD build fixes, contributed by bilaliscarioth <bilal@iscarioth.org>
see https://github.com/TTimo/GtkRadiant/pull/686 for details
2024-01-14 17:09:00 -07:00
Timothee 'TTimo' Besset
3f79763974 fix the Unvanquished content pull 2024-01-14 16:07:36 -07:00
Timothee 'TTimo' Besset
52942a8260 misc 2024-01-14 16:07:24 -07:00
Timothee 'TTimo' Besset
b35cb10c83 fix, linux/flatpak is case sensitive with regards to gamepak folder names 2024-01-13 17:36:01 -07:00
ttimo
8354fe8f53 add git clone of Q2RePack to scons target=setup 2023-08-20 15:36:08 -05:00
ttimo
980356d87e netrun being on (see previous fix) highlighted that we are trying to have both a file and prefs directory at the same path - any prefs saving was likely broken on windows? 2023-08-20 14:48:02 -05:00
ttimo
d932cb1205 netrun mode was on all the time because of a buggy implementation 2023-08-20 14:46:53 -05:00
ttimo
826c5a114e rename KexQ2 -> Q2RE as it's now the law of the land 2023-08-20 14:45:55 -05:00
ttimo
8f88d5fac0 fix loading pointfile for KexQ2 2023-08-14 10:05:34 -05:00
ttimo
1c498433ce BSP monitoring off by default for KexQ2 config 2023-08-14 10:05:30 -05:00
Timothee 'TTimo' Besset
9471ed62f7 add a 'Quake II Remaster' game id 2023-08-14 10:05:25 -05:00
Timothee "TTimo" Besset
d9d8bc1ed7
Merge pull request #692 from mjunix/small-fixes
Small fixes
2023-08-13 09:15:23 -05:00
Johan Mattsson
25f4611a24
Fix incorrect comparison 2023-08-13 13:16:55 +02:00
Johan Mattsson
966b8c33c7
Fix incorrect comparison 2023-08-13 13:15:43 +02:00
Johan Mattsson
006317da48
Remove repeated comparison 2023-08-13 13:13:20 +02:00
Johan Mattsson
4bbf42e667
Remove repeated comparison 2023-08-13 13:12:12 +02:00
Johan Mattsson
3926194110
Remove redundant check 2023-08-13 13:09:43 +02:00
Timothee 'TTimo' Besset
ddbaf03d72 fix usage of realpath 2023-04-23 23:08:28 -05:00
Timothee 'TTimo' Besset
5295644ba4 randomly make one function more robust to overflows - turned out to have no impact on the crash in release, but now that I cleaned it .. 2023-04-23 22:53:46 -05:00
Timothee 'TTimo' Besset
2a86f41e1c debug symbols in release config 2023-04-23 22:51:42 -05:00
Timothee 'TTimo' Besset
df49d3b4d2 fix release crash 2023-04-23 22:50:22 -05:00
ttimo
8ddd383aaf fix windows build 2023-03-12 22:04:02 -05:00
Timothee 'TTimo' Besset
1700b8df48 move some files in 2023-03-12 16:59:51 -05:00
Timothee 'TTimo' Besset
9f3aed016f update vscode project 2023-03-12 16:53:16 -05:00
Timothee 'TTimo' Besset
db3c56505e issue #687 - putting the game install folders under XDG_DATA_HOME 2023-02-19 21:23:57 -06:00
Timothee 'TTimo' Besset
2b6ee83552 add a flatpak build task 2023-02-19 21:22:55 -06:00
Timothee 'TTimo' Besset
d97f00e0e9 use XDG_STATE_HOME if set for g_strTempPath (.pid file, radiant.log etc.), and related cleanups 2023-02-19 15:35:05 -06:00
Timothee 'TTimo' Besset
1fe273a212 basic visual studio code project for linux work 2023-02-19 15:34:12 -06:00
Timothee 'TTimo' Besset
3a85a21427 sourcetrail is dead, long live sourcetrail 2023-02-19 13:39:24 -06:00
Timothee 'TTimo' Besset
f28a8499dd fix config.py unit tests - the target parsing was broken (yes, there are even unit tests!) 2022-12-25 20:00:09 -07:00
Timothee 'TTimo' Besset
6be32bdeec flatpak build has a problem with urllib.request, but also does not need it 2022-11-25 07:40:04 -06:00
Timothee 'TTimo' Besset
d69257d0b7 xml2-config -> pkg-config, from @magicmyth's GtkR flatpak work 2022-11-25 07:39:24 -06:00
ttimo
a050102e2a bump version and about message 2022-11-24 18:24:24 -06:00
ttimo
b9d0a99e84 do not dump the whole qe3bsp.bat, only the actual step lines to avoid confusion 2022-11-24 18:21:51 -06:00
ttimo
6ac09d6f73 Improvements when not using BSP monitoring: check return code and show a clear error message, add a pause at the end of the compile 2022-11-24 18:21:25 -06:00
ttimo
fe696cf3ae replace WinExec with a more modern CreateProcess 2022-11-24 18:20:17 -06:00
ttimo
d441e69264 do not write out the build tools output to junk.txt, it hides the output from the cmd window. in ancient time the editor was loading junk.txt into the console afterwards, but that is long gone now - so that feature was entirely detrimental at this point 2022-11-24 18:20:08 -06:00
ttimo
28fe20b384 fix crash in release - that bug has been in forever? does this show up now because of the compiler/platform upgrade? 2022-11-24 18:19:47 -06:00
Timothee 'TTimo' Besset
7c513161b1 fix surface inspector 'Detail' contents button not working 2022-11-24 18:19:33 -06:00
Timothee 'TTimo' Besset
005c03c4a6 prune dead code 2022-11-24 18:19:19 -06:00
Timothee 'TTimo' Besset
340651526d prune dead code 2022-11-24 18:19:12 -06:00
Timothee 'TTimo' Besset
c9fce466d1 Upgrade Windows project files to 2019 2022-11-24 18:19:08 -06:00
Timothee 'TTimo' Besset
85af4273ae move to python 3 for 'scons.bat target=setup' 2022-11-24 18:19:04 -06:00
Timothee "TTimo" Besset
5b498bfa01
Merge pull request #681 from illwieckz/stdbyte
Do not do `using namespace std` to avoid type conflict
2022-07-31 12:21:05 -06:00
Timothee "TTimo" Besset
39c88773d9
Merge pull request #683 from illwieckz/patchheight
radiant: set MAX_PATCH_WIDTH and MAX_PATCH_HEIGHT to 32 like MAX_PATCH_SIZE in q3map2
2022-07-31 12:20:04 -06:00
Thomas Debesse
921d3aacdc radiant: set MAX_PATCH_WIDTH and MAX_PATCH_HEIGHT to 32 like MAX_PATCH_SIZE in q3map2
fix #682
2022-07-14 18:03:24 +02:00
Thomas Debesse
8aeff6b09a Do not do using namespace std to avoid type conflict
The STL now defines `std::byte` so doing `using namespace std`
will conflict will custom definition of `byte`, which this
legacy code is full of.

It looks like NetRadiant went the route of making explicit
usage of `std::` prefixed types and did not renamed the
custom definition of byte, so doing the same reduces diff
noise between the two trees.

This also makes the code future proof if the STL decides
to define some other types with common name.

This patches replaces all usages of `map`, `pair` and
`vector` with `std::map`, `std::pair` and `std::vector`
and remove the `using namespace std` line in `stl_check.h`.

```
libs/mathlib.h:132:44: error: reference to ‘byte’ is ambiguous
  132 | void NormalToLatLong( const vec3_t normal, byte bytes[2] );
      |                                            ^~~~
In file included from /usr/include/c++/11/bits/stl_algobase.h:61,
                 from /usr/include/c++/11/bits/char_traits.h:39,
                 from /usr/include/c++/11/ios:40,
                 from /usr/include/c++/11/ostream:38,
                 from /usr/include/c++/11/iostream:39,
                 from libs/missing.h:76,
                 from radiant/qe3.h:40,
                 from radiant/stdafx.h:39,
                 from radiant/bp_dlg.cpp:28:
/usr/include/c++/11/bits/cpp_type_traits.h:404:30: note: candidates are: ‘enum class std::byte’
  404 |   enum class byte : unsigned char;
      |                              ^~~~
```
2022-07-14 17:18:51 +02:00
Jay Dolan
97d3d87946
Merge pull request #674 from jdolan/master
Fix macOS Python urllib module name issue.
2022-01-24 20:25:01 -05:00
Jay Dolan
ce321bf04b Add a filter for Quetoo's CONTENTS_ATMOSPHERIC. 2022-01-24 20:24:02 -05:00