Commit Graph

470 Commits

Author SHA1 Message Date
ImperatorS79 db0b2ba27b Fix warning -Wreorder on linux in SimpleTextDrawer 2020-05-18 10:37:49 +02:00
Lynix 9507c56fc9 PixelFormat rename
PixelFormatInfo => PixelFormatDescription
PixelFormat => PixelFormatInfo
PixelFormatType => PixelFormat
2020-04-10 14:19:36 +02:00
Lynix f443bec6bc Add command buffers (WIP) 2020-04-02 21:07:01 +02:00
Lynix 874130efd4 Implement Texture and TextureSampler 2020-03-26 21:18:35 +01:00
Lynix b73d3e8f04 Add and make use of Vulkan Memory Allocator 2020-03-26 21:15:49 +01:00
Lynix b774a879b6 Rework buffers synchronization 2020-03-13 18:44:49 +01:00
Lynix 4cf24cde7d VertexDeclaration: Add check for duplicates 2020-03-08 18:10:23 +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 7bf734cdd4 Improve pipeline building 2020-03-03 22:26:57 +01:00
Lynix d5c75926c6 WIP (VertexDeclaration) 2020-03-03 01:04:24 +01:00
Lynix 798425ce10 Some work on render pipelines 2020-02-27 23:12:29 +01:00
Lynix cb66dddd45 Merge branch 'nazara-next' into vulkan 2020-02-25 19:15:07 +01:00
Lynix 8be2342f25 Merge branch 'master' into vulkan 2020-02-23 00:46:48 +01:00
Lynix 3d22321109 Big f***ing cleanup part 1 2020-02-23 00:42:22 +01:00
Lynix 8c7301f649 Utility/RichTextDrawer: Add character & line spacing offsets 2020-01-26 16:57:56 +01:00
Lynix 977044f59e Utility/SimpleTextDrawer: Replace line spacing factor by line spacing offset 2020-01-26 16:19:06 +01:00
Lynix 11d51872fa Utility/SimpleTextDrawer: Add character spacing offset 2020-01-26 16:18:28 +01:00
Lynix 151b8eb425 Fix previous commit 2020-01-25 19:15:25 +01:00
Lynix 6b825a084c Utility/SimpleTextDrawer: Add line spacing factor 2020-01-25 19:08:36 +01:00
Lynix 548ede4613 Utility/*TextDrawer: Use float internally
+ some fixes
2020-01-25 19:07:20 +01:00
Lynix 59d80dbe6d Utility/SimpleTextDrawer: Fix a lot of minor bugs
+ add .inl
2020-01-25 15:25:10 +01:00
Lynix fcfcc94c49 Fix RichTextDrawer ignoring max line width 2019-12-28 12:03:41 +01:00
Lynix ba405aaa5f Fix some missing override 2019-12-28 11:44:13 +01:00
Lynix 97418bfe04 RichText: Add support for outline color/thickness 2019-12-28 11:43:48 +01:00
Lynix 2a7ffffd84 Fix warning 2019-12-22 17:01:46 +01:00
Lynix e282b842b4 Add Node::SetScale(Vector2) to prevent a bug 2019-12-22 17:01:05 +01:00
Lynix 3760c8b5c4 Utility/Node: Fix negative scaling not affecting rotation 2019-12-13 17:23:01 +01:00
Lynix 1dbe71474d Utility/Node: Get[Position|Rotation|Scale) now defaults to local space 2019-12-12 09:58:08 +01:00
Lynix 3c7addc262 Utility/RichTextDrawer: Fixes block removal not adjusting glyph indexes
+ Add HasBlocks method
2019-09-25 09:36:57 +02:00
Lynix 8e4df4cadc SDK: Add RichTextAreaWidget (WIP) 2019-09-25 09:36:57 +02:00
Lynix 451b3de69c Utility: RichTextDrawer now works (WIP) 2019-09-25 09:36:57 +02:00
Lynix 5504dd59fb Utility/RichTextDrawer: Update header 2019-09-25 09:36:57 +02:00
Lynix 8013bd5d3b Add current work
Former-commit-id: 7f1e46e484edbbfd120a7a67ea1c36bee460e517
2019-09-25 09:36:57 +02:00
Lynix 55e3e05f0c Improve line wrap
It will now try to separate at word separations
2019-07-06 19:32:11 +02:00
Lynix 0ec1480024 Add line wrapping 2019-07-05 23:12:12 +02: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
Lynix b2da8d6c91 Fix compilation 2019-03-27 23:13:14 +01:00
Jérôme Leclercq ffc58e9806 Fix compilation 2019-03-20 17:18:45 +01: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 8cdc36c948 Graphics/Material: Add parameter for vertex color 2018-06-15 14:15:23 +02:00
Lynix a4aad3caac Merge branch 'master' into vulkan 2018-06-12 19:08:02 +02:00
Lynix d7a2e9aad1 Merge branch 'ubo' into vulkan 2018-06-12 19:07:58 +02:00
Jérôme Leclercq 15f84dc712 Noexcept all the things! 2018-06-12 11:37:44 +02:00
Lynix 0bea301a48 Fixed some uninitialized variables 2018-06-09 13:59:35 +02:00
Lynix e4eae425b2 Add support for Uniform Buffer to Utility/Renderer 2018-06-06 20:18:42 +02:00
Jérôme Leclercq d94baf133b Utility/Mesh: Refactor Mesh & Submeshes 2018-05-03 13:32:17 +02:00
Lynix 43bb487801 Merge branch 'master' into vulkan 2018-04-26 22:48:49 +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
Jérôme Leclercq cd31e6c397 Add buffer support 2018-03-09 16:49:01 +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
Lynix b062b496cf Fix compilation 2016-10-21 02:12:35 +02:00
Lynix a7d2d8cddd Utility/AbstractImage: Inherit RefCounted 2016-10-20 23:53:22 +02:00