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
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
fc3fb062e0
Utility: Add Parameters and NoWindowSystem option
...
Temporary fix until Utility module has been split.
Former-commit-id: 702929f41c8f1dd4015b64e9b331c150ad6fd953 [formerly f113bd948da6a8c5399aab48f53b6cb5ca272081] [formerly 593365938d7e3a835b94727ec6dc744a7a113822 [formerly e43d02e4e221e5c1d85320d71d1a258db44768d1]]
Former-commit-id: 29e2dd7ff9ee608847e3f78a7474e3286343b152 [formerly cf10e1a9dd5ca6df0bdf39730e2b38e9ea0d673a]
Former-commit-id: a479d4eb078b30d6e7b34bd53dba6366fad643de
2016-10-05 00:26:06 +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
48eb9ee3b5
Utility/Window: Fix destructor inline
...
Former-commit-id: f55088c7edd5d14c4626a42fe11b7328fa3526b6 [formerly 6c5f0e4666989e8d57da06da103bc180ac1f0d8d] [formerly 2b8719258209c5c45d0b2d4257332b18f5594c3b [formerly fbc1e2f64d490e340d1b0054e7f9c2cacac18086]]
Former-commit-id: b8b5f64fb182f7b5e1f4a3d270590da1f35be0f1 [formerly ee4b8d9204690c2a33bb94047515e1e64e6fcef3]
Former-commit-id: 6413a1c4026dc7904026c259f7ead483342fcad2
2016-09-17 12:08:44 +02:00
Lynix
68d67cc9da
Utility: First code cleaning pass
...
Former-commit-id: a73d38ce2db2e780ad5b02cdae1c590606081650 [formerly 3d21c0fa44481bf91418a15012fa187a210fc9ad] [formerly b80263df8e91b85f3fd091724c54dec7f05bc535 [formerly 7dcaabaabf74fbdf840289bfc435fdd8e88969d7]]
Former-commit-id: a669a933edd2364d9ee487c7d1bb38e28ad87a2d [formerly b8c5c09df10ce2f831635f460393216799d44056]
Former-commit-id: 6bbd5af22e30cc7fd4b4478162ae89e69b3d274e
2016-09-04 20:39:34 +02:00
Ardakaniz
c28ea576f0
Utility/EventHandler: Fix OnMouseButtonReleased event
...
Former-commit-id: 90e7b45bfa2ff0efaad03de9f8149b27d1de2059 [formerly 39c8a91094eee32da25ec9f46534552271befd30] [formerly 73bdf966290144c9d18ceb228c88d60d143f0b2f [formerly 7e2aefa781168e192b4ae15f6f8f34ba3ab484fa]]
Former-commit-id: 67231fa9b439ea294b3f1e4f7cfe5888663978e3 [formerly 975ca5d0d4ff41d858643b824036fa6818551698]
Former-commit-id: ef88d5479c2f2637b213caff7923e444cc4b143d
2016-09-04 14:50:38 +02:00
Lynix
62cfdd6ade
Utility/EventHandler: Add OnEvent signal
...
Former-commit-id: 2e598906e684b4328d99a9226ce03c90ad2573ad [formerly 653efe0750defdec35c094fa8ec72cb3b35a1ca0] [formerly d4fe9970a38bc851114697a315a561199dd4f146 [formerly 909526b7566949bf50375a90ef44264425b06f0e]]
Former-commit-id: d8ef7a871bd700761eb87404131d11e5bb0bd324 [formerly 9e23fe05aeb8b4e042d0583960afa5ca8b2ce6ec]
Former-commit-id: 5e8dacdd4f0323551f5ae2ae83f7841f5c7ac479
2016-08-28 18:02:07 +02:00
Lynix
cda509da6f
Utility/Window: Improve visibility of deprecated methods
...
Former-commit-id: f0f794407f33b485962dacf1f1ac39ea5beac7de [formerly b40cb93e11aa6bc2242c745607ee748567192f7c] [formerly 41f4a381d9742dd586673e0685be31541edf5864 [formerly 4190ba3ddbd098f79909b244b0dea90cbb924771]]
Former-commit-id: 887f75b329b705181f5c1a5d00297b2377e0b626 [formerly c199d56deb1d59d95b19c5684c0f3529f6d62e58]
Former-commit-id: 960ff4eab6b9886095c1ae079753161d4b5c6be1
2016-08-28 01:20:31 +02:00
Lynix
732a6d9322
Utility/Window: Window now automatically close on quit event
...
Former-commit-id: 3e3e84e1e89a2c643e19e183a1286d95550d2965 [formerly 813114f7beb2af1836f8dfd66fe089be66efb6d9] [formerly 881ff104de309ade91fed5b5ffdb66025775bc57 [formerly 3fd695c4ac86999600262c99160d8dd20740409c]]
Former-commit-id: bce06f73894643e2f612c60c73fa340c54a4ad98 [formerly fe4a806707c5339aff9eada8e20e1921d1190141]
Former-commit-id: 7a2012bd3d3930beb958bb729934d41cd6b81e69
2016-08-28 01:09:15 +02:00