Commit Graph
111 Commits
Author SHA1 Message Date
Garux 5b380fd6fe remove explicit float literal specifiers 2025-11-02 01:27:42 +05:00
Garux 2f17128f06 remove some odd static_cast<> 2025-11-01 20:49:05 +05:00
Garux 17d6588d1a use std::fabs to avoid conversion to double 2025-11-01 19:08:32 +05:00
Garux 00c352b697 remove odd newlines 2025-10-09 02:45:30 +05:00
Garux 37c7ff934c remove makeQuoted, use Quoted directly 2025-10-06 22:52:30 +05:00
Garux 66e15e9ba0 minor tweaks 2025-09-23 02:45:24 +05:00
Garux 7ddab0634b minor tweaks 2025-09-17 14:49:19 +05:00
Garux 9ea0873388 minor tweaks 2025-09-08 14:22:10 +05:00
Garux 8221dbf873 remove unneeded virtual destructors 2025-09-08 12:47:06 +05:00
Garux 648b944005 fix formatting 2025-09-07 18:24:30 +05:00
Garux d7f3e9bd3f minor tweaks 2025-09-04 16:01:47 +05:00
Garux 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 5426732f28 minor tweaks 2025-09-02 05:04:33 +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 6aaaa7dc65 draw big light radii for linear lights, has more use
closes #249
2025-08-25 00:52:33 +05:00
Garux 05f3f66be7 snap angle, angles keys on transform to zero to avoid scientific notation in saved string 2025-05-03 16:30:26 +05:00
Garux 607d4c67ad tweak formatting 2025-02-05 15:59:29 +05:00
Garux 4a368deef0 minor refactoring 2025-02-04 12:15:12 +05:00
Garux 256bbfd2fa workaround poorly visible white lights on bright grid background (use eclass color)
fixes #178
2025-01-31 08:29:11 +05:00
TimePath 57c8189225 Callback: remove fixed-arity wrappers 2025-01-22 12:39:14 +05:00
TimePath d71556d1de Embrace lambdas 2025-01-21 18:54:52 +05:00
Garux f387ed7718 * add alt + m1 selection style to transform manipulator for scaling in 3D 2025-01-13 09:59:49 +05:00
Garux bf9feb943a minor refactoring 2025-01-11 12:53:41 +05:00
Garux 8202b5a6ba fix some warnings 2024-11-24 02:00:56 +05:00
Garux 129d54e33f deduplicate entity connecting code 2024-02-11 22:44:29 +06:00
Garux 0b43b1744f fix return reference to local variable added in c6252fe3fc 2024-02-11 22:21:09 +06:00
Garux df02774ff5 tweak StringOutputStream use
auto str = StringOutputStream()(bla) use form was not doing copy elision or move, but copy
2024-01-29 16:54:08 +06:00
Garux ecdad801b9 * light radiuses: don't render biggest radius, make them less occluding in 3D
closes #63
2024-01-19 12:27:45 +06:00
Garux 9b9e1df066 * light entity radius: support negative intensity display and adjustment (keep sign while adjusting)
closes #163
	* fix: do not modify light intensity on transformations besides light radius transformation
fixes #156
2024-01-17 21:05:17 +06:00
Garux 88a03b07be normalize rendered light color for display consistency (compiler normalizes it anyway)
lower 3d light sphere brightness to reduce occlusion
#63
2022-12-17 02:15:38 +06:00
Garux 4010e94bec redraw scene on light entity _color, _light, light, fade, scale, spawnflags keys change 2022-11-02 12:34:48 +03:00
Garux 9d3d204018 Qt 2022-10-27 09:10:31 +03:00
Garux 1f7d0250b0 * fix: don't rename target/names without numeric suffix on paste to non clashing namespace 2021-11-24 18:00:37 +03:00
Garux b0b997e493 manage stl includes 2021-10-31 12:38:53 +03:00
Garux 0c390241c8 fix formatting 2021-10-26 18:16:24 +03:00
Garux bf6389fc26 use #pragma once 2021-10-22 02:19:50 +03:00
Garux 02a3b9c026 use ostream_write( CopiedString ) 2021-09-18 15:30:11 +03:00
Garux 4471302857 add and use BasicVector3.vec2() 2021-06-23 16:51:03 +03:00
Garux 5c3b7d842c * entity keys: prefer "angles" over "angle", "modelscale_vec" over "modelscale" if both are set 2021-05-16 21:50:09 +03:00
Garux da98f5f9d9 add and use Entity::getClassName(), Entity::hasKeyValue()
do not return default value from getKeyValue()
2021-05-16 10:13:42 +03:00
Garux ed04f90497 * .ent: "direction" attribute presence enables -1/-2 angle support for EclassModel, GenericEntity
* .ent: "angles" attribute presence enables angles support for EclassModel
2021-05-15 23:38:41 +03:00
Garux 155c2624b1 * .ent: support setting default model value of MiscModel type (<model key="model" name="Model File" value="ass/spider.mdc">) 2021-05-15 18:10:34 +03:00
Garux 31e7829e2b * support negative misc_model scale 2021-05-11 19:05:54 +03:00
Garux 6b699527a3 * fix rendering of direction arrow of group entities, when origin key is set 2021-05-07 14:50:16 +03:00
Garux dc5dea6d21 delete copy constructors and assignment operators explicitly 2021-03-24 15:48:29 +03:00
Garux 2222100316 indent classes, align by spaces 2021-03-24 00:25:15 +03:00
Garux 95f4b3e504 * only scale light radius by mouse while it is displayed 2021-03-20 02:32:42 +03:00
Garux e200ffc762 minor tweaks 2021-03-20 02:30:11 +03:00
Garux d734199601 manage path routines 2021-01-22 02:21:54 +03:00
Garux cc1f7ecd76 * new filter: Point Entities (nongroup entities besides misc_models and lights) 2020-06-12 20:41:27 +03:00