Commit Graph

96 Commits

Author SHA1 Message Date
Jérôme Leclercq
9d1c821a16 Remove stb from thirdparty and use xmake instead 2021-05-30 16:45:50 +02:00
Jérôme Leclercq
874fb3542e Convert all remaining enums to enum classes (!) 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
cce32a64d4 Upgrade Utility 2021-05-25 10:40:07 +02:00
Jérôme Leclercq
a52103a641 Rework ResourceLoader, ResourceManager and ObjectLibrary
They're no longer static
2021-05-25 10:40:07 +02:00
Jérôme Leclercq
2641117847 Add building using xmake and cleanup thirdparty 2021-05-14 03:35:32 +02:00
Jérôme Leclercq
adbf1e1da0 Renderer: Add proper support for blending 2021-05-14 01:50:46 +02:00
Jérôme Leclercq
8028044966 Fix Linux compilation 2021-04-20 18:18:27 +02:00
Jérôme Leclercq
65337c6a38 Fix a lot of warnings and some errors 2020-09-26 11:44:09 +02:00
Jérôme Leclercq
2b6a463a45 Remove Nz::String and Nz::StringStream 2020-09-25 19:31:01 +02:00
Jérôme Leclercq
b85a734e6e Utility/OBJParser: Make OBJ meshes order deterministic 2020-09-02 16:30:31 +02:00
Jérôme Leclercq
1a12e18a36 Fix copyright dates and some defines 2020-08-11 00:01:49 +02:00
Lynix
b1b9030359 Math/Vector[I]: Replace implicit pointer conversion by [] operator overload 2020-05-26 16:03:57 +02:00
Lynix
9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
Lynix
b774a879b6 Rework buffers synchronization 2020-03-13 18:44:49 +01:00
Lynix
c23b6dfa01 Copyright year update
I can't wait to see the conflicts this will cause
2020-03-05 17:27:26 +01:00
Lynix
3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix
b3af14f65a Utility/OBJLoader: Fix OBJ uvs 2020-01-04 12:15:54 +01:00
Lynix
79b0bd644c Add text outlines! 2019-04-16 01:46:26 +02:00
Lynix
0582cbfc26 Utility: Replace UInt32 by TextStyleFlags 2019-04-13 13:09:53 +02:00
Jérôme Leclercq
ed46c87781 Refactor the way resources are loaded (#191)
* WIP

* WIP

* Font works

* WIP: Only Music remains

* Looks like it's working

* Fix oopsie

* Core/ObjectRef: Add cast functions

* Update ChangeLog.md

* Audio/SoundStream: Make sound stream thread-safe
2018-10-28 01:53:11 +02:00
Jérôme Leclercq
70e0787b93 Utility/OBJLoader: Add index buffer optimization back
Fixes incorrect removal from d94baf133b
2018-05-03 14:41:32 +02:00
Jérôme Leclercq
41857a69ca Utility/OBJLoader: Remove debug line... 2018-05-03 14:38:32 +02:00
Jérôme Leclercq
d94baf133b Utility/Mesh: Refactor Mesh & Submeshes 2018-05-03 13:32:17 +02:00
Lynix
7244f1681c Utility: Fix MD5/MTL/OBJ file parsing 2018-04-21 00:29:53 +02:00
Lynix
05a5c4c42e Utility/OBJLoader: Add support for emissive/normal maps by using custom keywords 2018-04-04 21:30:59 +02:00
germinolegrand
1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +01:00
Lynix
98eaf83ea9 Utility/OBJParser: Fix negative offset handling for good 2018-01-07 22:36:39 +01:00
Lynix
ee77899a6a Utility: Add JPEG image saver 2018-01-07 03:19:55 +01:00
Lynix
8697cf33e6 Utility/OBJParser: Fix relative offsets loading 2018-01-06 02:46:51 +01:00
Jérôme Leclercq
3589a2bc8e Core/Flags: Reworked Flags class 2017-11-21 12:26:22 +01:00
Lynix
9daadb73bc Utility: Make mesh loader use the parameters vertex declaration 2017-10-21 04:51:05 +02:00
Lynix
b47b89ed8b Utility/Mesh: Add index and vertex buffer flags in MeshParams 2017-10-18 00:29:34 +02:00
Gawaboumga
bbac0838dd Include-What-You-Use (#137)
* IWYU Core

* IWYU Noise

* IWYU Utility

* IWYU Audio

* IWYU Platform

* IWYU Lua

* IWYU Network

* IWYU Physics2D

* IWYU Physics3D

* IWYU Renderer

* IWYU Graphics

* IWYU NDKServer

* IWYU Fix

* Try to fix compilation

* Other fixes
2017-10-01 11:17:09 +02:00
Lynix
c48d752ad4 Utility/MeshLoader: Fix pre-transformation matrix not affecting normal and tangents in some cases (Fix #131) 2017-08-30 15:58:19 +02:00
Jérôme Leclercq
bc4a533b96 Core/ParameterList: Use double and long long instead of float and int 2017-05-29 19:55:02 +02:00
Lynix
06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
DrLynix
f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
Lynix
d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix
faa03225bb Utility/OBJLoader: Fix compilation 2016-11-24 10:01:22 +01:00
Lynix
0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix
2d13ff7aac Revert "Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value"
This reverts commit c523e3cde5.
2016-11-18 22:39:26 +01:00
Lynix
c523e3cde5 Utility/Formats: STBLoader will now convert the image to RGB8 if it has no alpha value 2016-11-18 01:16:36 +01:00
Lynix
93a2e54667 Utility/PixelFormat: Fix mask bit orders 2016-11-18 01:15:36 +01:00
Jérôme Leclercq
e087129d4a Fix many errors and warnings found out by MinGW 2016-11-04 18:14:52 +01:00
Lynix
d530ca22e0 Final pass of Clang warning fixes 2016-10-17 16:14:35 +02:00
Lynix
4c6f049e0d Fix another lot of warnings from Clang
Closes #90
Closes #91
Closes #92
Closes #93
2016-10-17 16:01:05 +02:00
Lynix
5a07bbd001 Fix a lot of warnings from Clang/GCC 2016-10-17 14:46:53 +02:00
Lynix
7761b59dd9 Utility/OBJLoader: Check OBJ files before processing them
This removes a lot of errors from the logs in some cases


Former-commit-id: b540b8b8f942c0e8805e3b3e76295669f5e6764a [formerly c71ce0c21549178438ebcc3c85ca9e9074966410] [formerly 454c698bfa5432f19f238890d303f3641dca7056 [formerly 6e501a315a69b38c11440988bdc5d5f2e7158852]]
Former-commit-id: c5bfc674f09100d99a4c853a1dea96fd030fde49 [formerly 6f5190f8ed305b9726ef69d713a20e99d8c476a1]
Former-commit-id: a72b009cc519caf76784336b2df8db9d5b2d8628
2016-09-26 13:16:42 +02:00
Lynix
bf6425c35f Utility/OBJParser: Add Check() method to quickly check if any OBJ token is present at the beginning
Former-commit-id: 27f09e4351e6721eab338576075a161f62a4c262 [formerly d2cc64b6b6ec984210fd187adfc0797087ea3a0a] [formerly 58c7a39be0a0fdb8c89c516d5e8d19b18d34ba60 [formerly a9d80e257c27b60319e0d1b03b1534e133e1244e]]
Former-commit-id: 9ccaa30b87462af58390478d4d6b956d9b5faa5f [formerly 615171770a9a8c87b37b50940c7342bdeb6876a2]
Former-commit-id: c49b38dc42936ba3f696f9436fd9f6b5527244c0
2016-09-26 13:16:01 +02:00
Lynix
da7216a202 Utility/OBJSaver: Remove some warnings
Former-commit-id: 7762f44e85efd99346752899b43d757512eee8fc [formerly 6b86a269f98d9421b60263f2e8435cf14445e469] [formerly ecd111f0499e4659638c11071ae1f472303fa0d9 [formerly d272286ae403222512e8ca9178419094f7da4a0c]]
Former-commit-id: 4211533ae1db2ce95fda5721a0c1050afe3d67f9 [formerly 10f4944022e9fac77060407fd6f05ab40aa20e09]
Former-commit-id: 12747ce9a2c9c3fc2e2b02233d06e9370b18f790
2016-09-04 21:00:23 +02:00