Commit Graph

305 Commits

Author SHA1 Message Date
Garux
1d3094de94 use static boolean TextureBrowser::wads, clean the code 2018-03-02 19:19:29 +03:00
Garux
565f7fc6db * Entity Inspector->smartedit: enable array, target, targetname, skin attribute types
* Entity Inspector->smartedit: enable texture attribute type, add full shader path autocompletion
	* fix lags, caused by texture entries autocompletion
2018-03-01 04:01:18 +03:00
Garux
286f784ecf * Entity Inspector->smartedit->color chooser sets actual key, was always _color 2018-02-28 13:15:05 +03:00
Garux
5b226482b8 * Entity Inspector->smartedit angle(s), direction fields: add "set from camera view direction" button 2018-02-24 14:08:41 +03:00
Garux
eae7ac024a clean namedentity, forward declarations, ostream_write 2018-02-22 18:56:53 +03:00
Garux
327fa13d54 add killconnect command only for mGameType=nexuiz (.game type="nexuiz"); was confusing bindlist readers 2018-02-21 17:15:10 +03:00
Garux
81cc314ff5 * support q1 liquids filtering with entities="quake" in .game 2018-02-21 14:58:41 +03:00
Garux
ad68a7232d * toggle transform origin lock by clicking it
* represent locked transform origin with special colours
2018-02-21 12:49:10 +03:00
Garux
062df0bc5f fix AP texlock, handle scale 0 in different way 2018-02-20 16:08:44 +03:00
Garux
c878333c7b * m2 in Surface Inspector->fit width/height = fit width/height, keep height/width 2018-02-19 17:28:05 +03:00
Garux
c1b9b17635 * do 'project from face' in face2face seamless function for parallel faces 2018-02-19 13:09:10 +03:00
Garux
1b673b1a76 refactored EntityClass usage to only store being a miscmodel in miscmodel_is bool + set it on setting classname
* miscmodel filter: simplify and support miscmodels, defined by new way (xml .ent)
2018-02-19 00:40:51 +03:00
Garux
feedf4919e consider func_detail* in Map Info dialog 2018-02-18 20:56:18 +03:00
Garux
024e6bd667 fix possible typo in LoadMapFile primitives count report 2018-02-18 20:22:09 +03:00
Garux
86a8aec283 * turn SI->project texture radiobuttons to label and 3 buttons to save clicks 2018-02-18 18:52:44 +03:00
Garux
6ac153f2f0 3 decimals precision for SI->fit hopefully will be enough 2018-02-18 16:08:19 +03:00
Garux
9b6e1e3b9e transform manipulator: add selected renderable lines last to get highlighted ones rendered on top in 2d 2018-02-18 16:03:16 +03:00
Garux
faae287567 * transform manipulator: add rotate transformation with handles in corner points 2018-02-16 13:47:58 +03:00
Garux
63afbecab6 * fix accidental negative rotation by rotate tool in camera, caused by low precision 2018-02-15 13:13:44 +03:00
Garux
22cba3641a import c359b728f6
Try ~/.{prefix} on Apple OS X if /Library/Application Support/{prefix+1} fails.
2018-02-07 22:43:13 +03:00
Garux
1f31e94aca undo 'numeric GtkSpinButtons in SI, arbitrary rotation dialog' (aint flexible enough for input) 2018-02-04 20:56:45 +03:00
Garux
f91df90d58 remove const_cast hack and memory leak in 'load doubleclicked texture's directory' 2018-02-04 19:38:08 +03:00
Garux
339d078bc6 fix/improve camera near_z usage 2018-02-04 16:55:25 +03:00
Garux
c22187907e * entity inspector -> clear all: keep origin key 2018-02-03 09:03:59 +03:00
Garux
b8f2cffa3f reformat gtktheme.cpp 2018-02-03 00:27:09 +03:00
Garux
a5865dce55 * entity based structural/detail filters for entities="quake" in .game 2018-02-01 13:34:58 +03:00
Garux
f9157a6993 * point entities are understood as miscmodels, if <model attribute is present in xml .ent definition
* <model key= is not hardcoded to 'model' anymore, can use 'mdl'(q1) or w/e
2018-01-31 23:14:30 +03:00
Garux
387c4c0846 * prefs->game->paths: +Extra Resource Path option 2018-01-30 16:02:07 +03:00
Garux
d747bd6111 * move path settings to separate preferences group to simplify finding one 2018-01-28 18:08:57 +03:00
Garux
4a6c809e7d * Valve220: optimize ST coords calculation (rotation value is irrelevant) 2018-01-24 13:01:47 +03:00
Garux
cb2886cd97 * BP to AP, BP to 220, 220 to AP format conversions, Valve220 texture vertex lock: handle degenerate BP basis case 2018-01-24 00:13:35 +03:00
Garux
16ee5cc8c8 * Valve220 texture lock: catch QNAN, if projection direction is parallel to face 2018-01-23 04:52:34 +03:00
Garux
fc7c69df97 * transform manipulator: draw arrowheads, while some line is selected for skew 2018-01-19 20:56:31 +03:00
Garux
31c1b27853 * transform manipulator: add scale transformation; bbox resizing style 2018-01-18 23:40:47 +03:00
Garux
ad0f9ea6cc make m_bFaceFill aka "Colorize selection" saveable 2018-01-17 08:58:54 +03:00
Garux
78db33ff4a * fix crash, if renaming tag w/o shaders assigned 2018-01-16 14:40:16 +03:00
Garux
98937beb75 * transform manipulator: also perform translation, if grabbed bbox 2018-01-11 21:01:40 +03:00
Garux
d3b1bfaefa * restyle manipulators icons in GtkRadiant 1.5 way 2018-01-11 15:20:55 +03:00
Garux
14ee12354d * new manipulator, applying skew transform 2018-01-11 14:20:05 +03:00
Garux
fadace9d69 more clear preference name to expose its effect better 2018-01-05 14:41:02 +03:00
Garux
fd04e52a06 * disable MSAA in Texture Browser, even if forced via driver 2017-12-20 15:57:44 +03:00
Garux
55a36d5543 * fix: consider rotation value for Valve220 arbitrary projections 2017-12-19 16:11:17 +03:00
Garux
5c0859be8d * increase precision of camera mouse sensitivity setting from int to float to make it adapted for new hardware/software
* change mouse sensitivity handling by factor of 3 (old default 3 == new default 9)
2017-12-16 10:28:38 +03:00
Garux
aeaeb2a3e6 * statusbar: del "R:" info (rotate increment from SI)
+current map format info (F:AP/BP/220)
		+explanatory tooltip, describing shown infos
2017-12-15 15:58:52 +03:00
Garux
fd7429d45f * change default Map Info window position to centered 2017-12-15 13:47:01 +03:00
Garux
2417ac196c * fix: reread values from SI on FitTexture command 2017-12-15 03:59:10 +03:00
Garux
b4d81fac21 * close Map Info dialog by ESC 2017-12-15 03:24:42 +03:00
Garux
9f1690ed64 * fix unwanted brush face texture transformations on brush resizing with texture lock on 2017-12-11 16:53:01 +03:00
Garux
723a615110 * texture locking during vertex and edge manipulations 2017-12-06 13:57:40 +03:00
Garux
533b842a00 * Valve220 to AP brush type conversion: one is lossless, when it is possible 2017-12-05 16:08:19 +03:00