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
db3c56505e
issue #687 - putting the game install folders under XDG_DATA_HOME
2023-02-19 21:23:57 -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
340651526d
prune dead code
2022-11-24 18:19:12 -06: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
ce321bf04b
Add a filter for Quetoo's CONTENTS_ATMOSPHERIC.
2022-01-24 20:24:02 -05:00
Jay Dolan
112e118de1
Add a filter for CONTENTS_MIST, with special love for common/fog and common/dust.
...
This allows mappers to quickly toggle large fog volumes in the camera view.
2020-12-16 21:56:16 -05:00
Jay Dolan
07a34e72a1
Add smooth camera movement for non-discrete movement code path.
...
The camera key control routine now accumulates angular and positional velocity, and applies them per frame. There is also a friction component to reduce and then clear them over a few frames. This feels a lot closer to "noclip" movement, and allows mappers to navigate more precisely, which makes selecting brushes and faces in intricate areas much easier. YouTube preview of the movement here: https://www.youtube.com/watch?v=oiKwr3w0o5c
2020-11-11 12:31:34 -05:00
Jay Dolan
398e89f87f
Remove game-conditionalized filter addition. Same filters for everyone.
2020-11-11 12:28:59 -05:00
Jay Dolan
fcf9d433b1
Introduce idTech2 material filters for Quake2 and Quetoo, introduce sky filter as well.
2020-11-10 12:29:07 -05:00
cagelight
fe69635c09
fix struct/detail toggle toolbar icon
2018-04-29 16:40:32 -04:00
Timothee "TTimo" Besset
a2bdc7ca43
Merge pull request #563 from illwieckz/emptydir
...
do not list empty shader/texture directories
2018-01-27 14:24:08 -06:00
Thomas Debesse
574dd47394
allow to open https:// urls
2018-01-22 20:06:02 +01:00
Thomas Debesse
b1c4fb1304
make “hide empty directories” an option
2017-09-03 20:16:53 +02:00
Thomas Debesse
a3773852a4
preproc: add a FreeBSD condition everytime there is Linux or MacOS
2017-08-30 14:20:01 +00:00
Pan7
8896c609ed
Fix a crash when enabling Texture Directory List
2017-08-27 17:57:19 +02:00
Pan7
abee57bffe
Replace deprecated gtk_toolbar_append_element
2017-05-30 19:35:43 +02:00
Pan7
23018aaf4d
Replace deprecated GDK_DISPLAY with gdk_x11_get_default_xdisplay
2017-05-28 01:09:56 +02:00
Timothee "TTimo" Besset
39bff93f2b
Merge pull request #505 from Pan7/noGuiUpd
...
No GUI update during creation
2017-05-27 16:14:26 -05:00
Pan7
7067c4d142
No GUI update during creation
2017-05-25 21:42:01 +02:00
Timothee "TTimo" Besset
c49c7e0f3e
Merge pull request #481 from Pan7/TexDirList
...
Texture directory list
2017-05-22 08:41:46 -05:00
Pan7
1294c35880
Merge branch 'master' of https://github.com/TTimo/GtkRadiant into TexDirList
...
# Conflicts:
# radiant/preferences.cpp
2017-05-22 13:51:27 +02:00
Pan7
a5887fbfc1
Rename __toascii to toascii
2017-05-22 12:13:01 +02:00
Pan7
c757835111
Remove unused header gdkwin32.h
2017-05-20 13:09:51 +02:00
Pan7
8df88a23d1
Use gtk_window_deiconify for Sys_Restore
2017-05-20 12:05:38 +02:00
Timothee "TTimo" Besset
51ffafb354
Merge pull request #491 from Pan7/touchIcon
...
Make hollow touch icon
2017-05-15 17:05:56 -05:00
Pan7
c549790025
Make hollow touch icon
2017-05-11 03:46:07 +02:00
Pan7
31c24a875f
Make menus more consistent with ellipses
2017-05-10 23:26:29 +02:00
Pan7
7e95dbb1e0
Texture directory list
2017-05-02 02:15:35 +02:00
Pan7
b4af08ec90
Replace deprecated gtk_toolbar_append_item
2017-04-28 19:04:04 +02:00
Timothee "TTimo" Besset
32fba996a0
Merge pull request #465 from Pan7/deprgtk
...
Remove deprecated gtkhandlebox and replace gdk_window_get_pointer
2017-04-27 08:33:12 -05:00
Pan7
e822bca2ae
Remove deprecated gtkhandlebox and replace gdk_window_get_pointer
2017-04-27 00:40:18 +02:00
Pan7
0402765f7b
Replace deprecated gtk combo
2017-04-24 16:32:26 +02:00
Timothee Besset
12b5a1c766
Merge branch 'openurl' of https://github.com/Pan7/GtkRadiant into Pan7-openurl
2017-04-22 13:05:52 -05:00
Timothee Besset
0a03a455c3
fix win32 msvc build - this should be tested more often, really
2017-04-16 21:28:07 -05:00
Timothee Besset
7cd6a22c52
Merge branch 'deprchild' of git://github.com/Pan7/GtkRadiant into Pan7-deprchild
2017-04-16 21:11:31 -05:00
Timothee Besset
d417283518
Merge branch 'entity_info' of git://github.com/Pan7/GtkRadiant into Pan7-entity_info
2017-04-15 13:16:45 -05:00
Pan7
c29e8da324
Use GTK to open URLs
2017-04-14 19:52:25 +02:00
Pan7
ddbf0ec597
Replace deprecated GtkSignalFunc, gtk_container_children
2017-04-03 19:26:13 +02:00
Pan7
d98297759e
Align Entity Info Dialog
2017-03-29 12:39:36 +02:00
Pan7
aeaa370f09
Left align for the text of Labels
2017-03-28 09:29:11 +02:00
Pan7
c2e44c532a
Dialog improvements
2017-03-23 09:37:50 +01:00
Timothee "TTimo" Besset
43e9164c9e
Merge pull request #437 from Pan7/entity_icons
...
Icons for right click entity menu
2017-03-19 10:26:13 -05:00
Pan7
28da96daac
Icons for right click entity menu
2017-03-17 13:47:32 +01:00
Pan7
626c2ef7cd
More gtk i81n
2017-03-16 12:40:56 +01:00
Pan7
bdb1c3abaa
Replacing deprecated GTK functions
2017-03-15 11:58:36 +01:00
Timothee "TTimo" Besset
55f4a45c6a
Merge pull request #433 from Pan7/gtkimage
...
Update for the gtk image loading
2017-03-13 10:37:21 -05:00
Pan7
9a010854de
Updating gtk image loading
2017-03-13 11:25:45 +01:00
Timothee "TTimo" Besset
f3f2e0262f
Merge branch 'master' into gtk-i81n
2017-03-12 12:42:16 -05:00
Timothee "TTimo" Besset
cb1e21565b
Merge pull request #429 from Pan7/gtkimpro
...
gtk improvements
2017-03-12 12:41:24 -05:00