Commit Graph

191 Commits

Author SHA1 Message Date
Garux 8f1beb7d7f download all-in-one gamepacks archive during build by default
fixes #191
2024-05-27 11:36:51 +05:00
Garux a0c56feef8 allow setting CPPFLAGS via command line 2024-04-09 16:12:37 +05:00
Garux ecab0a6522 QTWIDGETS flags are sufficient as they include QTGUI & QTCORE 2024-03-23 13:16:53 +05:00
Garux 02e5db47c6 combine --libs-only-L & --libs-only-l pkg-config flags in single call 2024-03-23 12:00:43 +05:00
Garux 98be56b814 speed up build initialization
in MSYS2 'shell pkg-config' calls somehow slowed down critically
result is targets update check 2s->20s
use simple assignment instead of recursive to reduce number of calls by around 10
2024-03-23 11:58:31 +05:00
Garux 4b58cc3f83 omit SVN requirement with DOWNLOAD_GAMEPACKS=no
this is to workaround github actions build error: svn.exe is present, but access returns code 127
2023-07-23 00:36:09 +06:00
Garux 41de4bb321 bump version number to not clash with older version of settings, which are not fully compatible 2022-10-30 13:15:31 +03:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux f739e53eab * add Inter-Quake Model (IQM) support (via assimp) 2021-12-18 17:21:45 +03:00
Garux e1be2c5620 fix assimp build 2021-12-17 09:48:49 +03:00
Garux 7d8008a54e use gamepacks/ subfolder for gamepacks for cleaner editor's folder structure 2021-11-11 19:25:04 +03:00
Garux 34375ddd38 move h2data binary out of subfolder 2021-11-11 19:23:31 +03:00
Garux d1610b49ff move Timer class to header, use it in q3map2 2021-11-04 17:25:04 +03:00
Garux 396fe81cd2 Q_MKDIR: use std::filesystem::create_directories 2021-11-02 22:14:08 +03:00
Garux 522f6f907e rename cmdlib and imagelib to fix name clashes 2021-10-31 14:13:02 +03:00
Garux 5c67990859 remove q3data and dependencies
looks like it has no any use today
2021-10-07 21:10:12 +03:00
Garux 0e0a295330 * new: bsp export/import in json format; Usage: q3map2 -json <-unpack|-pack> [-v] <mapname> 2021-09-23 03:11:43 +03:00
Garux 68b8d7d5dc refactor game configs: using class inheritance to avoid massive duplication 2021-09-13 16:11:01 +03:00
Garux 44907db895 Add KTX and ETC1 texture support by @Triang3l
https://github.com/xonotic/netradiant/pull/1
https://gitlab.com/xonotic/netradiant/-/issues/5

This pull request adds support for Khronos Textures to NetRadiant and Q3Map2, with OpenGL ES 2.0 formats, Ericsson Texture Compression version 1, and BGR/BGRA.

The patent-free Ericsson Texture Compression format will be used in the next version of Warsow to significantly reduce VRAM usage on mobile GPUs and the integrated GPU of Intel Broadwell.
2021-07-18 16:18:49 +03:00
Garux 4a53b753b8 make libassimp_.$(DLL) order-only prerequisite to avoid it in the $^ list = fix linking in linux 2021-05-13 20:42:14 +03:00
Garux 75c7c09903 * replace model loaders by assimp library (40+ formats)
* auto split big model meshes to <= maxSurfaceVerts chunks (avoids excess meta process for vertexlit ones)
2021-05-07 14:47:39 +03:00
Garux 05f4c6639b add -DNDEBUG for assimp 2021-04-14 16:22:27 +03:00
Garux b1043424ed fix findstring use in makefile 2021-04-04 15:58:50 +03:00
Garux 70b12396aa build own assimp dll 2021-03-29 13:57:16 +03:00
Garux 63f9703cd6 add assimp dependency to makefile 2021-03-29 02:08:03 +03:00
Garux 858ec974f7 * -saturation light switch, default = 1, affects lightmaps and vertex color; > 1 = saturate, 0 = grayscale, < 0 = complementary colors 2021-03-08 13:34:58 +03:00
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