Commit Graph

511 Commits

Author SHA1 Message Date
Jay Dolan bbae5359fa Fix gcc8 compilation issue on Linux. 2021-03-01 17:15:41 -05:00
Jay Dolan 655d74532d Add the area portal filter for idTech2 games.
These games had area portals. Quetoo now uses this contents for hardware occlusion queries as well -- so the filter is still useful there.
2020-12-28 16:02:05 -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 55995d2488 Alpha blending in camera view for SURF_TRANS_100 and SURF_ALPHA_TEST. 2020-12-16 21:55:09 -05:00
Jay Dolan b8317c4fa0 Move camera up and down axially, not on view up. 2020-11-14 19:14:54 -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
Jay Dolan d4cbed3cbf Documentation fixes for FilterAdd 2020-11-10 10:46:59 -05:00
Jay Dolan 5c78413a45 Parens for operator priority. 2020-11-10 10:46:43 -05:00
Jay Dolan 91365cefe6 Don't set shader flags on idTech2 faces.
QER_ surface flags should not be set on idTech2 faces.
2020-11-02 22:55:22 -05:00
Jay Dolan c064a1c0a4 Fix string comparison fail for key "model" 2020-11-02 17:43:23 -05:00
Jeffrey N. Johnson bffc262c23 Fixes 485 2019-11-02 11:16:22 -07:00
Jay Dolan 64f12998e9 Use Gtk theme default text color for console.
Use the theme's default text color for normal text output. For folks using dark Gtk themes, the black text was unreadable.
2019-02-23 11:15:33 -05:00
cagelight fe69635c09 fix struct/detail toggle toolbar icon 2018-04-29 16:40:32 -04:00
Timothee "TTimo" Besset 31040b90b5
Merge pull request #606 from Pan7/nocstr
Use Str instead of CString
2018-03-24 16:56:04 -04:00
Timothee "TTimo" Besset bd0e7dba6b
Merge pull request #604 from Pan7/neglight
Allow negative light values
2018-03-24 16:55:36 -04:00
Timothee "TTimo" Besset 84fede3f53
Merge pull request #601 from Pan7/clearCombo
Clear Surface Property combobox on update
2018-03-24 16:54:59 -04:00
Jay Dolan d7f0d04051 Fix "Wdith" typeo in preferences dialog. 2018-03-16 13:36:51 -04:00
Pan 44420e0fe6 Use Str instead of CString 2018-02-28 10:11:53 +01:00
Pan 615801f77a Allow negative light values 2018-02-25 17:03:47 +01:00
Pan a1a5a423f2 Clear Surface Property combobox on update 2018-02-25 00:09:11 +01:00
Pan 9f52d441d9 Disable cubic clipping by default 2018-02-03 18:46:47 +01:00
Thomas Debesse a88505ebe3 unvanquished "src" mod for unvanquished mapping from source 2018-01-31 19:51:19 +01:00
Timothee Besset b0d239fd81 Merge branch 'master' of github.com:TTimo/GtkRadiant 2018-01-27 15:14:51 -06:00
Timothee Besset 0ea61635b6 Load .MAP as well, in addition to .. .map 2018-01-27 15:14:42 -06: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
Timothee "TTimo" Besset 88b992a9eb
Merge pull request #562 from illwieckz/notex
always provide notex
2018-01-27 14:18:24 -06:00
Timothee "TTimo" Besset beaf72c754
Merge pull request #585 from illwieckz/fixurl
allow to open https:// urls
2018-01-27 14:14:56 -06:00
Timothee "TTimo" Besset 1dfec8f7a8
Merge pull request #588 from Pan7/eangle
Angle pointer by entity definition
2018-01-27 14:08:55 -06:00
Pan 784e2de4e3 angle pointer by entity definition 2018-01-27 00:54:01 +01:00
Thomas Debesse 0fd04ccf85 always provide notex
This adds a special VFS providing textures/radiant/notex and shadernotex.

This way, game packs does not have to provide them using the hardcoded
textures/radiant/[shader]notex path (some games prefer other prefixes).

It also allows GtkRadiant to not crash at startup when a wrong game
path is set.

It would also prevents radiant to fail where it tries to load these
textures on very early stage when the whole VFS is not yet loaded,
for example on pk3dir scenario.

The notex and shadernotex textures come from Unvanquished's tex-common
package and are distributed under public domain-like CC0 1.0 Universal license: https://creativecommons.org/publicdomain/zero/1.0/

See: https://github.com/UnvanquishedAssets/tex-common_src.dpkdir/blob/master/about/tex-common.txt
2018-01-23 00:18:45 +01:00
Thomas Debesse 574dd47394 allow to open https:// urls 2018-01-22 20:06:02 +01:00
Timothee Besset 67fa177673 cleanup more offsetof usage 2018-01-22 08:43:48 -06:00
Timothee "TTimo" Besset c0a5da84f0
Merge pull request #535 from illwieckz/unvanquished
initial unvanquished support
2018-01-21 15:09:53 -06:00
Timothee "TTimo" Besset ac48f23d4d
Merge pull request #575 from illwieckz/shaderlists
load shaderlist.txt from more than one VFS, fix #573
2018-01-21 15:01:50 -06:00
Timothee Besset e08d6b6429 Visual Studio 2017. Fixed q3map2_urt 64 bit compilation also. 2018-01-21 14:47:06 -06:00
Thomas Debesse ec946f83d6 shaderlists 2018-01-07 21:20:52 +01:00
neumond cfaa83f3b1 Unvanquished appears in menu 2018-01-07 21:16:53 +01:00
Thomas Debesse 88805013d4 print hidden empty shader/texture dirs on console <3 @Pan7 2018-01-07 05:31:42 +01:00
Thomas Debesse b1c4fb1304 make “hide empty directories” an option 2017-09-03 20:16:53 +02:00
Thomas Debesse 8051dd88ca avoid to misread an unbracketed for loop 2017-09-02 04:38:00 +02:00
Thomas Debesse bdecace973 add more well known preview/gloss/normal suffixes 2017-09-02 04:38:00 +02:00
Thomas Debesse 67647ac470 do not list empty texture dir 2017-09-02 04:38:00 +02:00
Thomas Debesse a9e54ea54f move texture name validation outside of texture listing 2017-09-02 04:38:00 +02:00
Thomas Debesse 39ec17cfd9 move texture listing outside of texture showing 2017-09-02 04:38:00 +02:00
Thomas Debesse 41ed9c2ce5 do not list empty shader dir 2017-09-02 04:37:58 +02:00
Thomas Debesse 38b0faf0da preproc: more unknown architecture error 2017-08-31 00:45:30 +02:00
Thomas Debesse 9d7cc6cd17 preproc: FreeBSD game names are like Linux ones 2017-08-31 00:45:29 +02:00
Thomas Debesse 3e859fb81e preproc: FreeBSD also has LibGL.so 2017-08-30 14:20:01 +00:00