Commit graph

1437 commits

Author SHA1 Message Date
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
Jay Dolan
c649323971 Fix macOS Python urllib module name issue. 2021-11-24 09:44:31 -05:00
Timothee "TTimo" Besset
a1ae77798f
Merge pull request #668 from fte-team/1.6-release
add IQM format support into lib/picomodel
2021-08-09 07:57:50 -05:00
be993ad422 Merge illwieckz their portability fix 2021-08-03 18:27:19 +02:00
3408871d79 add IQM format support into lib/picomodel 2021-07-29 17:44:53 +02:00
Timothee 'TTimo' Besset
2634c6238d wasn't building everything.. 2021-05-16 17:14:31 -05:00
Timothee 'TTimo' Besset
e490d8a1be iteration on artifact upload 2021-05-16 16:53:08 -05:00
Timothee 'TTimo' Besset
2b8f4a1da7 we need zip 2021-05-16 16:41:52 -05:00
Timothee 'TTimo' Besset
42d0849814 having a look at zipping an archive and uploading artifacts 2021-05-16 16:34:58 -05:00
Timothee 'TTimo' Besset
8aaa7706ca or like this 2021-04-25 16:23:45 -05:00
Timothee 'TTimo' Besset
b4fb64839e maybe like this 2021-04-25 16:19:17 -05:00
Timothee 'TTimo' Besset
68e8940c5a how to invoke msbuild 2021-04-25 16:18:18 -05:00
Timothee 'TTimo' Besset
05849edf6c build steps 2021-04-25 16:12:01 -05:00
Timothee 'TTimo' Besset
9d02fd93d2 fix 2021-04-25 15:43:05 -05:00
Timothee 'TTimo' Besset
d89c289c7e install the subversion client 2021-04-25 15:36:28 -05:00
Timothee 'TTimo' Besset
6e08ed438e fix 2021-04-25 15:35:46 -05:00
Timothee 'TTimo' Besset
503930527f convert to python 3 2021-04-25 15:30:41 -05:00
Timothee 'TTimo' Besset
228557dc14 all this time you were printing tuples and didn't know it 2021-04-25 15:28:39 -05:00
Timothee 'TTimo' Besset
3aa6a90d34 wip 2021-04-25 11:49:32 -05:00
Timothee 'TTimo' Besset
f333e55014 wip 2021-04-25 11:30:43 -05:00
Timothee 'TTimo' Besset
20ca170f5c scons and setup 2021-04-25 11:21:49 -05:00
Timothee 'TTimo' Besset
f2a20c6813 scons and setup 2021-04-25 11:19:20 -05:00
Timothee "TTimo" Besset
584fea0708
Update main.yml 2021-04-25 11:14:23 -05:00
Timothee "TTimo" Besset
749cb1d0a7
Merge pull request #667 from TTimo/1.6-release-1
Setting up a github CI for windows builds
2021-04-25 11:06:49 -05:00