Commit Graph

372 Commits

Author SHA1 Message Date
Jérôme Leclercq d94baf133b Utility/Mesh: Refactor Mesh & Submeshes 2018-05-03 13:32:17 +02:00
Lynix 69c61ba746 Utility/AbstractTextDrawer: Add GetLineGlyphCount 2018-04-15 02:27:49 +02:00
Lynix 05a5c4c42e Utility/OBJLoader: Add support for emissive/normal maps by using custom keywords 2018-04-04 21:30:59 +02:00
Lynix ad82de2962 Replace typedef keywords by using 2018-03-20 20:59:04 +01:00
germinolegrand 1e55c4d9e9 Prerequisites instead of Prerequesites (typo) #152 (#153) 2018-01-16 12:23:01 +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 995dfddafa Utility/MeshParam: Use constref instead of pointer 2017-10-19 21:05:48 +02:00
Lynix e0bdd35280 VertexMapper: GetComponentPtr no longer trigger an error/assert 2017-10-19 21:01:07 +02:00
Lynix b47b89ed8b Utility/Mesh: Add index and vertex buffer flags in MeshParams 2017-10-18 00:29:34 +02:00
Lynix 9c97ec45c6 Utility/Mesh: Disable index buffer optimization in debug mode 2017-10-18 00:21:07 +02:00
Lynix 5b4185a4a6 Utility/VertexMapper: Add GetVertex[Buffer|Count] functions 2017-10-18 00:20:38 +02:00
Lynix 4bdcb1f31f Fix demo compilation and warnings 2017-10-10 21:52:36 +02:00
Lynix eb6f23d53c Fix -Wignored-qualifiers warning 2017-10-10 21:52:35 +02:00
Jérôme Leclercq 99d21b8722 Fix compilation and some warnings 2017-10-02 16:18:15 +02:00
larnin 40a678889d Vertex declaration changes (#135)
* Add type to ComponentType conversion

* Change type to ComponentType conversion

* Change assert to condition, add check on particle mapper.

* Change particle life type

* Changes as requested

* Fix Travis try 1

* Changes as requested

* move IsSuitableForComponent to inl
2017-10-02 15:21:03 +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 2cd9fa2b7a Core: Add MovablePtr class 2017-09-30 13:57:25 +02:00
Gawaboumga 5aa072cee3 New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module

Final touch

* NDK/SDK: Bring back initialization of Utility
2017-08-30 10:22:50 +02:00
Lynix fc2fd81719 Utility: Make Window constructor explicit 2017-08-16 20:33:13 +02:00
Jérôme Leclercq b2e23cfb56 Mark every bool conversion as explicit 2017-06-21 18:10:46 +02:00
Lynix e32c1a8b8b Utility/PixelFormat: Move Flip to .cpp
Because of std::swap_range usage (Thanks Microsoft)
2017-06-04 17:28:58 +02:00
Lynix 06038a4d81 Cleanup pass 2017-04-22 15:08:05 +02:00
Gawaboumga c2e4ccaf72 Various little fixes (#118)
* Add missing override qualifier

* Mostly shadowing, virtual destructor and other little things
2017-02-19 23:15:13 +01:00
DrLynix f383eca19a Update copyright year 2017-01-20 12:58:35 +01:00
DrLynix 59e0c1af29 Utility: Fixes compilation 2017-01-20 09:50:26 +01:00
Lynix e4b6f8e126 Utility/Icon: Make Icon a RefCounted object 2017-01-19 21:59:34 +01:00
Lynix 670199b557 Utility/Cursor: Rework Cursor as a handled object 2017-01-19 21:38:56 +01:00
Lynix c4574ed7ec Utility: Fix compilation 2017-01-19 15:21:29 +01:00
Lynix 76d4359c3b Utility/EventHandler: Fix missing includes 2017-01-19 14:35:56 +01:00
Lynix b884f5783c Utility: Add CursorController 2017-01-19 14:17:26 +01:00
Lynix 282538876b Utility: Make EventHandler a handled object
This is a bit ironic.
2017-01-19 14:08:33 +01:00
Lynix 925c4b1ee3 Utility/Enum: Fix SystemCursor order (fixes cursors) 2017-01-18 22:40:19 +01:00
Lynix 5b36ac1953 Utility: Fix Cursor missing initialization 2017-01-16 00:41:31 +01:00
Lynix f406068c45 Utility: Rework cursors
-Rename WindowCursor to SystemCursor
-Merged Cursor class with SystemCursor enum
2017-01-16 00:32:59 +01:00
Lynix 954298dc1e Utility/Cursor: Add GetImage() method 2017-01-15 22:41:48 +01:00
Lynix 876fec6f5e Core/Flags: Make aware of enumeration max value
Preventing it to enable bits that have no corresponding enum value
2016-12-12 15:10:37 +01:00
Lynix e9061a6cf8 Core/Flags: Rename EnableFlagsOperators to EnumAsFlags 2016-12-12 15:07:16 +01:00
Lynix 4e239236b1 Utility/SoftwareBuffer: Move to public API 2016-12-09 09:11:22 +01:00
Lynix d62720d610 Utility/Buffer: Refactor Buffer classes 2016-12-09 08:56:46 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 1db3d60cea Utility/Enums: Change WindowStyleFlags to the new flags format 2016-11-27 02:28:39 +01:00
Lynix 0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix ff7e64494f Utility/Image: Add HasAlpha() method 2016-11-18 01:15:58 +01:00
Lynix 93a2e54667 Utility/PixelFormat: Fix mask bit orders 2016-11-18 01:15:36 +01:00
Lynix e76ef3902e Utility/PixelFormat: Reject formats with over 64 bpp per component 2016-11-17 23:01:38 +01:00
Jérôme Leclercq 4570f9a6e1 Utility/VideoMode: Make bpp optionnal (defaults to desktop bpp) 2016-11-08 01:14:04 +01:00
Jérôme Leclercq 3cb6981ab7 Utility/Enums: Fix WindowStyle_Max 2016-11-07 11:17:33 +01:00
Jérôme Leclercq cf2bf52701 Utility/Window: Replace NAZARA_UTILITY_THREADED_WINDOW by a runtime flag (WIP) 2016-11-07 02:01:09 +01:00
Lynix 38da351e9b Utility/TextDrawer: Expose lines 2016-10-28 17:45:29 +02:00