Commit Graph

471 Commits

Author SHA1 Message Date
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
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 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
Thomas Debesse a3773852a4 preproc: add a FreeBSD condition everytime there is Linux or MacOS 2017-08-30 14:20:01 +00:00
Pan7 69972f9458 Merge branch 'master' of https://github.com/TTimo/GtkRadiant into fixTexCrash 2017-08-27 17:58:14 +02:00
Pan7 8896c609ed Fix a crash when enabling Texture Directory List 2017-08-27 17:57:19 +02:00
Pan7 c968f9c87a Explicit type instead auto 2017-08-26 01:39:24 +02:00
Jay Dolan 98c4cba5da Merge branch 'master' of https://github.com/TTimo/GtkRadiant 2017-08-22 07:57:14 -04:00
Timothee Besset 8ea7e52fa0 if CSG substracting with a (set of) brush(es) that are all caulk, new splits will be caulk 2017-08-20 16:38:02 -05:00
Timothee Besset 732497b098 make hollow uses caulk, based on a pref setting 2017-08-20 16:24:56 -05:00
Timothee Besset 3a6c9d30ed fix compile warning 2017-08-20 15:46:40 -05:00
Pan7 816bfc0081 Fix warning missing sentinel in function call 3 2017-08-13 20:46:34 +02:00
Jay Dolan 8819c711cc Give Q2 CTF it's proper name. 2017-08-13 14:17:58 -04:00
Timothee "TTimo" Besset 604563f2c3 Merge pull request #548 from Pan7/scaledigit
Allow 6 default texture scale digits
2017-08-13 11:10:07 -05:00
Timothee "TTimo" Besset f33c27d596 Merge pull request #546 from Pan7/fixLightDlg
Fix Light Intensity Dialog when using accelerator
2017-08-13 11:09:48 -05:00
Pan7 5e4b1607f7 Allow 6 default texture scale digits 2017-08-13 14:04:57 +02:00
Pan7 7d96eec99a Fix Light Intensity Dialog when using accelerator 2017-08-13 03:12:28 +02:00
Pan7 c49d2f5ef1 Fix focusing of texture selecting 2017-08-13 02:42:48 +02:00
Pan7 0a83bde73e Fix/Add missing loading of fixed texture size settings 2017-08-13 00:52:15 +02:00
TTimo db467908ad Re-enable intel HD GL workaround, still needed .. see issue #512 2017-08-05 15:50:28 -05:00
Timothee "TTimo" Besset 222adc1c87 Merge pull request #530 from Pan7/fixedTex
Fixed textures for the texture browser
2017-08-05 15:12:16 -05:00
Timothee "TTimo" Besset ef68d9d7ad Merge pull request #521 from Pan7/multifocus
Adjusting Focus 2d View for multiselect
2017-08-05 15:05:45 -05:00
Pan7 2d23567675 Fixed textures for the texture browser 2017-07-22 06:11:47 +02:00
Pan7 345c53ae53 Fix warning the value of the size argument in strncat is too large 2017-07-10 18:36:42 +02:00
Pan7 2793befffd Fix warning equality comparison with extraneous parentheses 2 2017-07-09 15:29:30 +02:00
Pan7 8ea1da552a Adjusting Focus 2d View for multiselect 2017-07-06 21:47:16 +02:00
Timothee "TTimo" Besset e23b567c7f Merge pull request #518 from Pan7/deprGtk1
Remove deprecated Gtk1 support
2017-07-05 10:36:03 +02:00
Timothee "TTimo" Besset 91fe38c3fb Merge pull request #516 from ensiform/no-classname-delete
Prevent users from deleting the classname key in entity dialog
2017-07-05 10:35:18 +02:00
Timothee "TTimo" Besset c66e55196b Merge pull request #511 from Pan7/Focus2D
Focus Entity in 2D Views
2017-07-05 10:33:48 +02:00
Timothee "TTimo" Besset 433dd57be5 Merge pull request #510 from Pan7/fixGmode
Fix game mode of project settings
2017-07-05 10:29:48 +02:00
Pan7 8788c6a7dd Remove deprecated Gtk1 support 2017-06-23 15:49:39 +02:00
Ensiform c58db111c0 Prevent users from deleting the classname key in entity dialog
Disables the Del Key/Val Pair button if the classname key is selected.
2017-06-16 21:21:49 -05:00
Pan7 1463e8edb0 Focus Entity in 2D Views 2017-06-11 00:05:41 +02:00
Pan7 1024a57584 Fix game mode of project settings 2017-06-02 00:04:06 +02:00
Pan7 abee57bffe Replace deprecated gtk_toolbar_append_element 2017-05-30 19:35:43 +02:00
Pan7 55ef0c7e53 Move Texture Directory List setting to Texture Settings 2017-05-28 01:29:00 +02:00
Pan7 23018aaf4d Replace deprecated GDK_DISPLAY with gdk_x11_get_default_xdisplay 2017-05-28 01:09:56 +02:00
Timothee Besset e02a9194b7 clean out a bunch of obsolete vendor and hardware specific GL workarounds 2017-05-27 17:15:06 -05:00
Timothee Besset 9123ea1cb0 fix preferences panes being off by 1 2017-05-27 17:01:11 -05:00
Timothee "TTimo" Besset 7cdf4a24cb Merge pull request #502 from Mateos81/ModelBrowsingTweak
Model browsing: move "All supported types" to top
2017-05-27 16:32:37 -05: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
Timothee "TTimo" Besset 8536330197 Merge pull request #504 from Pan7/FixMisText
Fix missing text field
2017-05-27 16:08:15 -05:00
Timothee "TTimo" Besset 782d4b62bb Merge pull request #503 from Pan7/gtkfilesel
Remove obsolete gtk file selection code
2017-05-27 16:08:00 -05:00