Commit Graph

27 Commits

Author SHA1 Message Date
Garux c956102065 support variable number of key names in entity key value reading functions 2020-02-12 23:21:15 +03:00
Garux 433b9e776b manage entity key value reading routines 2020-02-07 15:49:29 +03:00
Garux 325a46a102 wrap 'string empty' logic 2020-02-05 18:20:13 +03:00
Garux cf98275ee4 wrap strcmp use 2020-02-04 03:40:27 +03:00
Garux eb70faddc8 use standard C bool type:
get rid of qfalse, qtrue aliases everywhere
replace qboolean in q3map2, q3data
redefine qboolean type in q2 tools, mbspc
2020-02-03 01:15:30 +03:00
Garux 25d94dbd2f add and use path_set_extension()
fix -bsp crash with .bsp sent as map path
	* fix: qer_editorimage, q3map_lightImage etc work with file names, containing period
(i.e. 'file.name.ext' names; don't StripExtension() twice in ImageLoad() for that)
2020-01-27 01:22:10 +03:00
Garux 99bae99b36 add safe_calloc(), safe_calloc_info() functions, use them (optimization, code shortening) 2020-01-12 18:55:03 +03:00
Thomas Köppe 1e2ccf5f06 Use standard "offsetof" facility rather than manual code involving null pointer dereferences. 2020-01-12 00:49:05 +03:00
Zack Middleton 48444683ee q3map2: add missing help for q3map2 stage arguments
Move -keeplights help from -light stage to -bsp. Add other ~40 arguments
that were missing from help. My main focus was on the -convert stage
but I tried to document the rest as well. Some descriptions are copied
from message when enabling the option.
2019-12-28 12:40:14 +03:00
Garux 43202af380 q3map2 * modify message flags system to allow SYS_WRN | SYS_VRB, SYS_ERR | SYS_NOXML etc combinations 2018-03-20 19:37:47 +03:00
Garux 968e210f2d q3map2 * mark warning messages with respective flag for colorized monitoring output 2018-03-16 20:33:50 +03:00
Garux 9fed37bae0 Q3map2:
* native surfaceparm noob support (no -custinfoparms needed)
	* -noob in bsp phase: assign surfaceparm noob to all map surfaces
	* surfaceparm ob: skip assigning surfaceparm noob with -noob on that
	* farplane modes: radius+radius, origin2origin, exact (add r/o/e to the number to enable), < 0 works too
	* samples+filter - enabled again, makes sense
	* -vertexscale
	* fixed -novertex, (0..1) sets
	* quick q3map_novertexlight (?)
	* fixed _clone _ins _instance (_clonename)
	* -nolm - no lightmaps
	* ent keys aliases:_sa - shadeangle;_ss - samplesize
	* -shift N -shift X Y Z: shift whole map to some coords
	* more fogs (256) (ingame appearence lots of ones might be bugged due to engine arrangement, needs testing)
	* q3map_remapshader remaps anything fine, on all stages (effect is: postrenaming shader when things are have been done)
	* fixed 'unknown argument 1' at -lightanglehl
	* -nocmdline writting to worldspawn

Radiant:

binds...
	* wasd camera binds, c - deSelect, z - delete
	* ExpandSelectionToEntities - shift+e
	* make detail - alt+d
	* arbitrary rotation - shifr+r
	* arbitrary scale - ctrl+shift+s
misc...
	* fit width, fit height butts in surf inspector (for trims) (saves scales ratio)
	add old TODO with ideas
2017-08-01 13:26:50 +03:00
Rudolf Polzer dac8329952 Merge branch 'master' into divVerent/farplanedist-sky-fix
Conflicts:
	tools/quake3/q3map2/prtfile.c
	tools/quake3/q3map2/vis.c
	tools/quake3/q3map2/visflow.c
2012-05-15 11:58:06 +02:00
Rudolf Polzer e4287c28bb my own uncrustify run 2012-03-27 12:03:21 +02:00
Rudolf Polzer 34d45e210f _farplanedist now ignores C_SKY leafs 2011-11-23 12:01:02 +01:00
Rudolf Polzer d5a9782200 fix some more warnings 2010-10-05 15:04:45 +02:00
rpolzer 5ec3a47e10 q3map2 is now waring free 2010-10-05 10:57:07 +02:00
divverent c2c3a2ed3d increase MAX_PORTALS, also show an error if exceeded
git-svn-id: svn://svn.icculus.org/netradiant/trunk@376 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-24 18:08:22 +00:00
divverent af0dd0ca3b bugfix in latest change
git-svn-id: svn://svn.icculus.org/netradiant/trunk@327 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:55:20 +00:00
divverent e8fcd30f80 less spammy vis output, more useful
git-svn-id: svn://svn.icculus.org/netradiant/trunk@326 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 18:52:56 +00:00
divverent e6fa8d7f3c less spammy vis output
git-svn-id: svn://svn.icculus.org/netradiant/trunk@325 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-23 16:49:14 +00:00
divverent 9851662e8d add an option -mergeportals to speed up vis, while not making the vis data MUCH worse
git-svn-id: svn://svn.icculus.org/netradiant/trunk@243 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-03 13:51:31 +00:00
divverent 3aca84b7e5 q3map2: inject the invocation commandline into keys of the worldspawn entity (to allow easier recompiling of the map)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@181 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-02-08 19:35:57 +00:00
rpolzer 1f5a43f75d remove beeps, fix -dirt* options complaining about invalud option "2"
git-svn-id: svn://svn.icculus.org/netradiant/trunk@116 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-11 19:42:15 +00:00
rpolzer 57fad3ce80 remove sleeps (problem on win32)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@113 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-10-10 17:26:06 +00:00
rpolzer 81c10be0f4 complain more loudly about wrong compile flags
git-svn-id: svn://svn.icculus.org/netradiant/trunk@104 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-24 07:04:05 +00:00
rpolzer 107765f0e4 initial
git-svn-id: svn://svn.icculus.org/netradiant/trunk@1 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-13 18:28:57 +00:00