Commit graph

189 commits

Author SHA1 Message Date
Leonardo Zide
eb70a09961 Fixed issues with stud colors. 2021-01-22 13:40:16 -08:00
Trevor SANDY
f21d7ad63a Stud style - Rename stud logo 2021-01-20 13:19:29 +01:00
Trevor SANDY
0a749f6f3a Stud style 2021-01-20 13:19:09 +01:00
Leonardo Zide
a8d757c0c4 Added a system to override primitives and updated the stud logos to use it. 2021-01-18 15:23:13 -08:00
Leonardo Zide
cbfd2ce4bc Renamed enum. 2021-01-18 13:38:17 -08:00
Leonardo Zide
c1d7e986b3 Added stud logo primitives. 2021-01-18 12:09:33 -08:00
Leonardo Zide
ab9df4a712 Require Qt 5.4. 2021-01-08 10:57:39 -08:00
Leonardo Zide
b70fab3059 Require Qt5. 2021-01-08 10:35:52 -08:00
Leonardo Zide
69cfc71f3b Removed global placeholder mesh. 2020-12-31 14:23:08 -08:00
Leonardo Zide
aa1d802c04 Removed strlwr. 2020-12-20 12:06:14 -08:00
Leonardo Zide
f5ddd46776 Flush text stream before writing. Fixes #562. 2020-12-20 11:13:57 -08:00
Raymond S Brand
fd24accea7 Fix warnings 2020-12-19 14:48:06 -08:00
Leonardo Zide
84af94164d Fixed warnings. 2020-12-19 11:12:31 -08:00
Johannes Sixt
b176cb421b Keep ZIP file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
ac9954972d Pass file objects in std::unique_ptr<> to clarify ownership. 2020-12-19 10:52:57 +01:00
Johannes Sixt
f3683ee93e Remove unused parts library pathname member variables. 2020-12-19 10:52:57 +01:00
Leonardo Zide
71ea45f085 Updated deprecated functions. 2020-12-14 15:08:43 -08:00
Leonardo Zide
ea99066465 Disable stud logo options from preferences when unofficial parts are missing. 2020-12-12 15:21:30 -08:00
Leonardo Zide
7275c4256d Added const qualifiers. 2020-03-22 20:18:52 -07:00
Leonardo Zide
85a9b19b2c Warning fixes. 2020-02-24 14:31:08 -08:00
Leonardo Zide
93e8f4a85e Fixed possible buffer overflow. 2020-01-24 13:12:34 -08:00
Leonardo Zide
58957440cf Fixed crash loading certain parts. 2020-01-17 14:44:35 -08:00
Leonardo Zide
b43675f323 Array cleanup. 2020-01-10 17:40:14 -08:00
Leonardo Zide
24890ecebd Added array count macro. 2019-12-09 11:43:54 -08:00
Leonardo Zide
aa28254a37 Support multiple part sets. 2019-12-08 16:54:12 -08:00
Leonardo Zide
17a230c52a Added favorite parts category. 2019-12-07 09:52:46 -08:00
Leonardo Zide
e4f4ea2ef2 Support loading textures from the unofficial folder. 2019-10-26 11:41:49 -07:00
Leonardo Zide
9499dd9daa Fixed stud LOD not working. Fixes #390.
Also fixed cached pieces not updating their logo settings.
2019-09-29 12:58:18 -07:00
Leonardo Zide
4269e84a16 Fixed parts with studs in primitives not reloading when changing the logo setting. 2019-09-27 14:52:50 -07:00
Leonardo Zide
fa06a83704 Add stud logo setting to cache check. 2019-09-23 17:06:16 -07:00
Leonardo Zide
ed5259229e Fixed mesh cache not loading parts. 2019-09-23 16:56:47 -07:00
Leonardo Zide
66bbb8d9de Simpler stud reload. 2019-09-23 16:55:24 -07:00
Trevor SANDY
f91da8a7ce Change stud logo without application restart (#389)
* Change stud logo without application restart

* Refactor change stud logo without application restart
2019-09-23 16:22:11 -07:00
Trevor SANDY
5adcfb4027 Add stud logo preference and command line option (#387)
* Add stud logo preference and command line option

* Support add stud logo when using disk library
2019-09-21 09:47:33 -07:00
Leonardo Zide
1e2f6c208f Moved mesh loading code to a separate file. 2019-07-27 16:31:16 -07:00
Leonardo Zide
a9ff4d265b Replaced PieceInfo flags with enum. 2019-07-21 09:26:36 -07:00
Leonardo Zide
e68ce05b57 Moved mesh flags to the mesh class. 2019-07-21 08:56:37 -07:00
Leonardo Zide
4493c3f6f2 Array cleanup. 2019-07-04 17:06:26 -07:00
Leonardo Zide
5a3abf18e0 Allow custom color and minifig settings files. Fixes #359. 2019-06-20 18:52:33 -07:00
Leonardo Zide
a464606507 Fixed compiler warnings. 2019-06-03 13:23:04 -07:00
Leonardo Zide
7001cdf11d Fixed crash loading textured parts. 2019-06-02 09:39:12 -07:00
Leonardo Zide
b8c2074c93 Fixed primitives under p/8/ not being found by loose file libraries. 2019-06-01 19:54:09 -07:00
Leonardo Zide
7d43f54e6e Fixed normal smoothing between texture and untextured triangles. Fixes #175. 2019-05-27 16:07:20 -07:00
Leonardo Zide
602dfeb8b6 Fixed /w4 warnings. 2019-05-18 11:33:27 -07:00
Leonardo Zide
ec720a6c04 Fixed ldconfig.ldr loading on case sensitive file systems. Fixes #348. 2019-05-18 10:49:52 -07:00
Leonardo Zide
3f7db06fce Improved readability of texture mapping parameters. 2019-03-17 13:17:11 -07:00
Leonardo Zide
5d06035187 Fixed bounding box calculation of parts without triangles. 2019-02-22 17:02:38 -08:00
Leonardo Zide
bcd6ce8791 Use anisotropic for the string cache texture. 2018-09-29 19:45:21 -07:00
Leonardo Zide
671d5fa266 Fixed fallthrough warnings. 2018-09-24 11:29:05 -07:00
Leonardo Zide
8d3b6a1d7a Fixed texmap in files included with an offset. 2018-05-07 12:26:26 -07:00