Commit Graph

2585 Commits

Author SHA1 Message Date
Garux f02f3bff31 fix help 2021-11-14 20:19:08 +03:00
Garux cbe024d507 etut default gamma
import 52ee126932
2021-11-14 19:32:43 +03:00
Garux 8928a4aee8 [q3map2] dæmon engine expects model space deluxe maps
import https://gitlab.com/xonotic/netradiant/-/merge_requests/40
import c847e41def
q3map2/games: fix quakelive home path
import 85349c5529
2021-11-14 10:13:10 +03:00
Garux 150c3027b0 fix colormod broken in 977781a621 2021-11-13 18:26:12 +03:00
Garux 6c2d7767cf fix includes 2021-11-12 19:12:16 +03:00
Garux c203b26a2d update download-gamepacks.sh 2021-11-12 18:57:13 +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 b474073ebe misc_model _skin/skin key: handle both DP and Q3 naming conventions
disable trying skin 0 by default
not that it does much atm, as assimp md3 loader handles .skin and shader name substitution alters non path names
handle \r\n endlines in .skin
2021-11-10 22:25:45 +03:00
Garux 76017a8ce3 unify angles key reading 2021-11-08 21:39:38 +03:00
Garux 484c63ae4a tweak Complete_list_of_entity_keys 2021-11-08 20:03:21 +03:00
Garux d4ba9c3bfc tweak docs 2021-11-08 11:28:00 +03:00
Garux 53382854f9 * view.show.blocks (_blocksize display): support q3map2 way of handling (3 values input, zero values, Z splits) 2021-11-07 08:28:41 +03:00
Garux d75792d9a9 fix the build 2021-11-06 23:10:15 +03:00
Garux aa110638d4 remove global std::size_t mapEntityNum;
(not buildable)
2021-11-06 17:27:11 +03:00
Garux 25bb05b0d2 remove global int numMapEntities; int entitySourceBrushes; 2021-11-06 15:12:21 +03:00
Garux 16dddad640 remove global entity_t *mapEnt; 2021-11-06 13:50:30 +03:00
Garux 0aa61b7dfa also fix dummy targetnames in -mergebsp -fixnames, may legitimately exist as outcome of misc_model->group_entity connection 2021-11-04 19:45:57 +03:00
Garux d1610b49ff move Timer class to header, use it in q3map2 2021-11-04 17:25:04 +03:00
Garux 4016d64859 use std::chrono::steady_clock timer 2021-11-03 19:43:44 +03:00
Garux e04c8cb649 remove -aero workaround 2021-11-02 22:25:44 +03:00
Garux 396fe81cd2 Q_MKDIR: use std::filesystem::create_directories 2021-11-02 22:14:08 +03:00
Garux c217ad981a remove Sys_DoubleTime() 2021-10-31 14:33:57 +03:00
Garux 522f6f907e rename cmdlib and imagelib to fix name clashes 2021-10-31 14:13:02 +03:00
Garux b0b997e493 manage stl includes 2021-10-31 12:38:53 +03:00
Garux 512f0a959b manage headers 2021-10-31 10:54:57 +03:00
Garux da98e8fde3 various code cleanups 2021-10-30 16:04:31 +03:00
Garux e62da4c621 * patchMeta: fix: keep playerclip patches for collisions
* autocaulk: do not impact fog brushes with all faces culled (global fog case)
decompilation: detail flag deduction: avoid detail hints, areaportals, antiportals by surfaceparm structural check
change hardcoded surfaceflags use to statically evaluated ones for the given game
2021-10-29 11:29:32 +03:00
Garux 2b59253b26 wrap bit flags operations 2021-10-28 14:39:58 +03:00
Garux 7626f69b02 minor tweaks 2021-10-28 12:25:26 +03:00
Garux 2e9bf0af1c minor tweaks 2021-10-26 20:15:09 +03:00
Garux 67ea9b0390 fix excess memory allocation 2021-10-26 18:30:05 +03:00
Garux 0c390241c8 fix formatting 2021-10-26 18:16:24 +03:00
Garux 977781a621 minor tweaks 2021-10-26 17:26:35 +03:00
Garux d812cbd4d4 replace ArrayRange by tcb::span (reproduction of std::span) 2021-10-24 08:32:10 +03:00
Garux 4726542134 replace Q_EXTERN Q_ASSIGN macro trick by inline variable specifier
remove explicit initialization, where it equals to default zero initialization
2021-10-22 04:13:08 +03:00
Garux d5b2c67812 fix simple warnings 2021-10-22 03:19:07 +03:00
Garux bf6389fc26 use #pragma once 2021-10-22 02:19:50 +03:00
Garux 3362f29500 * bobToolz.mergePatch: bruteforce merge all selected patches; keep unaffected patches selected 2021-10-21 22:39:35 +03:00
Garux 03d3dfccad add feedback from bobToolz::patch operations fails 2021-10-21 19:55:37 +03:00
Garux 512d14736c * region build: widen temp box to handle small volumes, light entities at the edge and flat primitives
* region build: pull temporal respawn to the box instead of error
2021-10-21 04:48:54 +03:00
Garux 36a1495e33 * patch thicken: create new patches in original patch entity
aabb degenerate check of 'opposite wall'
2021-10-19 18:25:42 +03:00
Garux 197f9e7cb4 * patch thicken: set default thickness and increment step to current grid size
focus thickness field
2021-10-18 17:51:18 +03:00
Garux ce2e458f4f handle selected noncontributing face case in clipper-init-from-face 2021-10-18 17:14:43 +03:00
Garux f5b2653b0d add automatic MemBuffer storage for file loading routines 2021-10-17 23:10:02 +03:00
Garux 6a7550a6ba shorten special class members declarations 2021-10-14 23:31:07 +03:00
Garux 5ef76b0212 * non -fast bsp decompilation: deduce brush detail flag; note: structural transparent brushes get marked detail too, e.g. hints 2021-10-14 21:09:06 +03:00
Garux 5283b70a83 * fix decompilation of brushes with edge case face normal ( -0.577350259 -0.577350259 0.577350259 ) and MakeNormalVectors() in general 2021-10-14 14:33:44 +03:00
Garux bc7bd516e6 refactor bsp decompilation 2021-10-14 14:32:49 +03:00
Garux a719e012fe * -mergebsp [options] <mainBsp.bsp> <bspToinject.bsp>: Inject latter BSP to former. Tree and vis data of the main one are preserved.
* -mergebsp -fixnames: Make incoming BSP target/targetname names unique to not collide with existing names
	* -mergebsp -world: Also merge worldspawn model (brushes as if they were detail, no BSP tree is affected) (only merges entities by default)
2021-10-13 22:50:43 +03:00