Commit Graph

165 Commits

Author SHA1 Message Date
Garux
4ce944444d rewrite q3map2 math in c++ 2021-02-25 19:41:43 +03:00
Garux
b29a8cb5c4 default release build 2021-01-30 16:24:07 +03:00
Garux
661f8e53b9 switch to c++17 2021-01-25 01:11:46 +03:00
Garux
06cd1e98ff * Model Browser: default bind '/'
m1 = assign model to selected entity nodes (shift + e to select nodes of group entities)
		m1x2 = insert "misc_model" with given model
		m1 drag = rotate model
		Preferences.Model Browser: list of * separated folderToLoad/depth values, e.g. *models/mapobjects/99*maps/1*; */99* loads root
2020-04-26 07:28:23 +03:00
Garux
ebf88b0842 Revert "switch to -std=c11" : code does not get compiled without unofficial extensions in some Linux
This reverts commit 5848e22f0a.
2020-02-06 03:16:14 +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
5848e22f0a switch to -std=c11 2020-01-29 17:12:35 +03:00
Garux
3cbbbaf7e9 move main.c::pk3 business->autopk3.c 2019-12-20 20:05:42 +03:00
Thomas Debesse
68f8cabf95 split bsp conversion stuff from q3map2 2019-12-20 08:02:06 +03:00
Thomas Debesse
27b1549a2d split minimap stuff from q3map2 2019-12-20 06:57:02 +03:00
Garux
34e9b522b7 * shader editor: support files with crlf line feeds in linux
preserve line feeds on saving
			indicate 'modified' state by save button and window name
			view shaders from packs too (read only)
			refactor
2019-11-09 15:13:59 +03:00
Garux
1628abfd0f calm down -Wdelete-non-virtual-dtor warnings
remove -Wno-non-virtual-dtor from makefile (what does it do anyway? -Wdelete-non-virtual-dtor is part of -Wall)
2019-02-26 19:08:47 +03:00
Garux
4485ebf780 apply mbspc changes
http://linradiant.intron-trans.hu/downloads/mbspc.tar.gz
cfgq3.c, gldraw.c, botlib\l_log.c are not used
2019-02-10 01:36:18 +03:00
Garux
70167de13b switch CSG_build_hull to https://github.com/akuukka/quickhull lib, feels robust enough
use -std=c++11
2018-12-01 15:43:26 +03:00
Garux
7c77e0faff add INSTALL_DLLS build option 2018-02-08 03:47:32 +03:00
Garux
cdf9146b6d omit --large-address-aware for win64 build
once again
2018-02-08 00:54:52 +03:00
Garux
42e6cf618c new shell script for installing DLLs on MSYS2.
imported https://gitlab.com/void995/netradiant/commits/working_multithreading_on_windows
2018-02-08 00:09:46 +03:00
Garux
814b1acafd import af443b859d
Update Makefile to remove OSX build diretives. We build for OSX just like its Linux now. Those wishing to build the app bundle should use setup/apple/Makefile.
2018-02-07 22:38:11 +03:00
Garux
f56afab212 omit --large-address-aware for win64 build 2018-02-07 00:44:06 +03:00
Garux
bc5dcc1699 Radiant:
misc...
	* extradebug_quicker BUILD mode (defines _DEBUG_QUICKER = no slowing down debug renderables)
	* draw bbox for having model + selected entities
2017-08-02 09:32:49 +03:00
Garux
ed4c8c2044 Q3map2:
* new area lights backsplash algorithm ( by Jelvan ), hijacking temp area lights ( to simulate volumetric behavior of source ones )
	* fix: create backsplash for area lights, while q3map_lightsubdivide'ing too
	* no backsplash for area lights, if surf == sky
	* report patches count in -info
	* -exportents to exports entities to a .ent file
	* unvanquished game support
	* -fs_basepath: can be used more than once to look in multiple paths (Sets the given path as main directory of the game)
	* -fs_game: can be used more than once (Sets a different game directory name (default for Q3A: baseq3))
	* -fs_pakpath <dir>: Specify additional custom path to assets (can be used more than once to look in multiple paths)
	* fix undocumented unexpected LokiInitPaths
	* -help option (-h, --help)
2017-08-02 09:16:24 +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
4645e19ce9 * added MeshTex plugin src to project (can't compile) 2017-08-01 14:09:50 +03:00
Garux
86023af46c Radiant:
misc...
	* local gtk2 themes support; cfgs are .gtkrc-2.0.radiant, .gtkrc-2.0.win; +~100 themes included;
		MS-Windows theme is one, inheriting current appearence on Windows
	* GTK2 theme & font selector (Misc->Colors->Gtk theme...) (need restart after pair of naughty engines tho)
	* openGL implementaion of rubberband selector (w/o rerendering whole scene) (fixes visual issues with Aero)
2017-08-01 14:06:41 +03:00
Garux
6f51c7f28d Radiant:
misc...
	* filter toobar buttons also handle right mouse clicks:
		caulk: apply caulk tex
		clip: toggle apply clip/weapclip tex
		hint: toggle apply hint/hintlocal/hintskip tex
		triggers: apply trigger tex
		liquids: toggle apply watercaulk/lavacaulk/slimecaulk tex
		areaportals: toggle apply nodraw/nodrawnonsolid tex
			shader names are configurable through respective shader_* keys in .game file
		details: make detail
		structural: make structural
	* png icons with real alpha; partially antialiased
2017-08-01 14:03:16 +03:00
Garux
eef3995202 Q3map2:
* -pk3: autopackager mode(complete Q3 support); bsp path as input; switches: -dbg - talkative mode, -png - include pngs, at highest priority
		is using file 'gamename.exclude' to exclude vanilla game resources
		tip: ioq3, netradiant, compiler (and packager) treat *.pk3dir directories as separate pk3 files
2017-08-01 13:51:52 +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
bf803dd851 Q3map2:
* -bounceColorRatio 0..1 (ratio of colorizing sample by texture)
	* -debugclip: autoclip debug, uses shaders debugclip, debugclip2
	* >2GB makefile option, allows up to 3GB ram on 32bit, 4GB on 64bit
	* speedup patch to use fast sqrt at some points of light phase, where precision is not needed

Radiant:

binds...
	* paste to camera - shift+v (alt+v was leading to texBro-View menu)
2017-08-01 13:33:37 +03:00
Rudolf Polzer
f0df907b19 BUILD=native 2013-09-13 12:48:56 +02:00
Rudolf Polzer
6ead1aa8fc lazy hack to make make work 2013-08-02 13:27:43 +02:00
Rudolf Polzer
694955af8e rework symlink creation logic 2013-08-02 12:49:17 +02:00
Rudolf Polzer
e63a12c418 also add an unsuffixed symlink, fixes #1710 2013-07-06 18:58:00 +02:00
Stijn Buys
1dc200b9e0 On Linux, set the default executable suffix to 'uname -m' 2013-06-25 23:40:55 +02:00
Rudolf Polzer
0fbfb4bcc9 Fedora support patch by maci (make DLL finding work with Fedora's mingw) 2013-01-14 21:21:37 +01:00
Rudolf Polzer
0d10413fe0 fix how glib is included 2012-03-01 14:43:00 +01:00
Rudolf Polzer
ed96b4352a no longer use an included libjpeg copy. Use the system one. 2012-03-01 10:35:32 +01:00
Rudolf Polzer
747e474c40 remove internal libjpeg6 copy (patch by monad) 2012-03-01 10:24:29 +01:00
Rudolf Polzer
ebcb592432 OS X: support homebrew by MACLIBDIR=/usr/local/lib 2012-01-23 20:29:05 +01:00
Rudolf Polzer
326b154fca Merge branch 'master' of git://de.git.xonotic.org/xonotic/netradiant 2012-01-14 00:32:48 +01:00
Rudolf Polzer
57d64f977f fix dependency check causing recompile of all .c files 2012-01-14 00:25:21 +01:00
Rudolf Polzer
7343cc1f7e another compile fix for win32 on arch linux 2012-01-13 23:42:48 +01:00
Rudolf Polzer
8ecf001ea4 better fit mingw on Arch Linux 2012-01-13 23:28:18 +01:00
Rudolf Polzer
35162b6b63 properly ignore caulk 2011-12-09 17:15:51 +01:00
Rudolf Polzer
9e69c83769 make dependencies check work even with -j make invocation 2011-12-04 18:19:34 +01:00
Rudolf Polzer
636baaba0f more compile fail 2011-07-01 12:18:32 +02:00
Rudolf Polzer
ff1b9a5bfa fix a compile error 2011-07-01 11:37:54 +02:00
Rudolf Polzer
c75ae4296b forbidden dirs: allow wildcard patterns 2011-07-01 11:27:15 +02:00
Rudolf Polzer
8ab31087a4 fix another error 2011-05-16 15:08:02 +02:00
Rudolf Polzer
0a4e4f3786 more changes by Nikoli 2011-01-27 16:48:47 +01:00