Commit Graph

38 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 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 dfae69d446 don't check for NULL, while doing free() 2020-01-20 19:14:52 +03:00
Garux 99bae99b36 add safe_calloc(), safe_calloc_info() functions, use them (optimization, code shortening) 2020-01-12 18:55:03 +03:00
Garux 635c732e72 fix warnings 2019-07-21 00:49:53 +03:00
Garux 00bb22e458 q3map2 * fix unwanted culling of both matching brush faces 2019-03-19 16:54:23 +03:00
Garux 968e210f2d q3map2 * mark warning messages with respective flag for colorized monitoring output 2018-03-16 20:33:50 +03:00
Garux a2406ea3d7 q3map2: * Valve220 mapformat autodetection and support 2017-10-17 12:59:56 +03:00
Garux 93ca259313 Q3map2:
* new slightly less careful, but much faster lightmaps packing algorithm (allocating... process)
	* -slowallocate switch to enable old lightmaps packing algorithm
	* Subsampling...collapsing...sorting...allocating...storing...projecting... timers
2017-08-02 09:16:57 +03:00
Garux e7c45da823 Q3map2:
* code fixes
	* packer: !FAIL! msg for missing ingame resources, ~fail for the rest
	* bumped stack size to 4Mb to fix crash for huge skies, using old shaders with fairly useless q3map_surfacelight + q3map_lightsubdivide < 999 combo


Radiant:

binds...
	* F5: run first in the list or recently invoked build option
	* F11: fullscreen

misc...
	* opening *.map, sent via cmd line: enabled for non win32 too
	* fix: textures find/replace wnd better default pos, size
	* fix: crash in CSG::Subtract
	* fix crash: main wnd maximized + 'start on primary monitor' off + monitors > 1
	* correct save/restore of main wnd pos/size and maximized/fullscreened states
	* scale widgets consistently along with main wnd, while using regular layout
2017-08-02 09:06:17 +03:00
Garux 173f350be7 Q3map2:
* fix crash with nonpthreads xmllib + multithreading + output to system console
	* number of code fixes
Radiant:

misc...
	* fix: clone group ent / map import / saving map as : group ents name labels at 0,0,0;
	* number of code fixes
2017-08-02 09:00:11 +03:00
Garux f73cc19a61 Q3map2:
* -clipdepth F, def 2, _clipdepth
	* fixed model autoclip (64u thick brushes/no collision at all in some cases)
	* pyramidal etc zillion (20!) of autoclip modes
	* removed stuctural caulk in models, was broken anyway

Radiant:

misc...
	* hollow: produces not intersecting brushes
2017-08-01 13:34:48 +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 e4287c28bb my own uncrustify run 2012-03-27 12:03:21 +02:00
Lauri Kasanen 123f3fd962 q3map2: Small cleanups
Move one variable to the section it is used in, and remove one unnecessary
NULL check.

If si were NULL at that point, we would have segfaulted ages ago.

Signed-off-by: Lauri Kasanen <curaga@operamail.com>
2012-03-03 17:28:34 +01:00
Rudolf Polzer 3a7c77d720 unlimit MAX_MAP_DRAW_INDEXES 2012-02-12 19:00:55 +01:00
Rudolf Polzer 6b01d68ba6 audit all uses of ClipWindingEpsilon and choose the strict variant or not, and explain why 2011-11-23 09:44:05 +01:00
Rudolf Polzer 323c01a983 try to fix the "-np surfaces disappear" bug 2011-11-22 12:10:26 +01:00
Rudolf Polzer 2af64392f8 fix uninitialized use of an int when filtering a patch into a tree - possible performance increase after this fix 2011-06-05 19:33:29 +02:00
Rudolf Polzer 770b8ea401 fix ignoring surface alpha for surfacemodels 2011-06-05 19:32:43 +02: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
Rudolf Polzer 3dd2ff55b1 support .skin files for models (modelname_<n>.skin) like Q3A and DP 2010-10-01 11:29:51 +02:00
Rudolf Polzer 08dc2f96dc bsp: new option -maxarea, selects more GPU friendly face surface splitting algorithm 2010-08-31 16:46:17 +02:00
Rudolf Polzer bb104da06f do not REPEATEDLY blow up _skybox surfaces 2010-08-08 20:56:47 +02:00
Rudolf Polzer dab02ced76 fix a nasty bug breaking "deformvertexes move" 2010-07-16 12:51:56 +02:00
Rudolf Polzer c34caf11ef more explicit vec3_t use, no change in behaviour 2010-02-20 21:47:30 +01:00
Rudolf Polzer fd055332dc improve patch collision generation a little, should now be "as good as possible" 2010-02-20 21:08:01 +01:00
Rudolf Polzer f92c4fa256 fix patch collision issue by linking patches into all nodes that touch a
bbox of a 3x3 segment of the patch, instead of subdividing the patch.
Otherwise, different subdivisions can cause patch visibility or
collision issues.
2010-02-19 22:50:19 +01:00
divverent c005536caf _lightmapsamplesize entity key by jal
git-svn-id: svn://svn.icculus.org/netradiant/trunk@359 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-05-01 10:45:24 +00:00
divverent 65fcedfc4c better shadeangle support by jal
git-svn-id: svn://svn.icculus.org/netradiant/trunk@355 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-04-29 15:27:46 +00:00
divverent f560e2703b apply all of VorteX's changes except deviance (that one sucks :P)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@237 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-29 18:08:19 +00:00
divverent ecfd6813e3 remove two mysterious crashes (although I don't know why it was broken to begin with)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@223 61c419a2-8eb2-4b30-bcec-8cead039b335
2009-03-20 16:50:58 +00:00
rpolzer e9bdda13d3 trivial patch: remove MAX_MAP_DRAW_VERTS limit completely (the code could already cope with it being dynamic)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@128 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-11-18 09:43:25 +00:00
rpolzer a27eb6c180 -minsamplesize
git-svn-id: svn://svn.icculus.org/netradiant/trunk@99 61c419a2-8eb2-4b30-bcec-8cead039b335
2008-09-22 11:07:44 +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