Commit Graph
198 Commits
Author SHA1 Message Date
Garux 4705d56a84 add ASSIMP_INTERNAL build option, use external assimp by default 2025-10-22 09:28:16 +05:00
Garux 34f7fe77b0 * new icons by Julius, high dpi scaling support
closes #111
2025-09-12 22:47:13 +05:00
Garux 1599d0a64b * layers system (stored in comments of .map file)
menus	* View->Layers Browser (L)
	* Edit->Expand Selection To Layers (ctrl + q)
	* shift + q: move-to LayersMenu
closes #133
2025-08-31 16:25:12 +05:00
Garux 7357b6ed57 rewrite ini reader/writer 2024-12-04 06:20:37 +05:00
Garux 7dc1a3dbb0 switch to c++20, switch to std::span 2024-11-27 02:07:43 +05:00
Garux 8202b5a6ba fix some warnings 2024-11-24 02:00:56 +05:00
Vorschreibung 5485c7d1b4 l_net: unify l_net_wins between posix/windows
differences were marginal between:
    libs/l_net/l_net_berkley.c
    libs/l_net/l_net_wins.c

now both platforms exist unified in a single file with ifdefs:
    libs/l_net/l_net_wins.c
2024-07-10 12:17:37 +02:00
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