Commit Graph

497 Commits

Author SHA1 Message Date
Lynix 5865679891 Sdk/BaseWidget: Add a way to change background color 2017-01-15 12:11:59 +01:00
Lynix 14e327c603 Sdk/TextAreaWidget: Add SetTextColor 2017-01-15 12:11:15 +01:00
Lynix fd923ed58b Sdk/BaseWidget: Add Destroy method 2017-01-11 19:14:32 +01:00
Lynix 6acf101d77 Sdk/BaseWidget: Fix crash at Canvas destruction 2017-01-11 19:14:21 +01:00
Lynix d57498be10 Sdk/BaseWidget: Widget::Add now returns a pointer (easier to use) 2017-01-11 19:13:40 +01:00
Lynix 4f1438f0f1 SDK/BaseWidget: Add OnParentResized method 2017-01-11 18:27:32 +01:00
Lynix e36374dfc4 SDK/Lua: Fix EulerAngles constructor 2016-12-19 18:23:24 +01:00
Lynix e66e0dfdce SDK/TextAreaWidget: Add multiline option 2016-12-06 16:34:23 +01:00
Lynix 7dc600fb34 SDK/TextAreaWidget: Add ReadOnly option 2016-12-06 16:33:55 +01:00
Lynix c781f7cb45 SDK/TextAreaWidget: Improve glyph selection 2016-12-05 20:39:33 +01:00
Lynix d3e3e9cbe2 SDK/TextAreaWidget: Expose cursor 2016-12-05 20:39:13 +01:00
Lynix 6138c02b9b SDK/TextAreaWidget: Make Write public 2016-12-05 16:48:29 +01:00
Lynix 2960157f8f SDK/TextAreaWidget: Fix insertion with accents 2016-12-05 16:10:48 +01:00
Lynix 60fee4bba6 SDK/TextAreaWidget: Add getters methods 2016-12-05 15:22:01 +01:00
Lynix e3e254532d SDK/TextAreaWidget: Add Clear() method 2016-12-05 15:21:47 +01:00
Lynix d6e02d486b SDK/TextAreaWidget: Fix cursor position after inserting special characters 2016-12-05 15:17:11 +01:00
Jérôme Leclercq 58866fd4ac SDK/LuaBinding: Fix File binding 2016-12-03 11:01:57 +01:00
Lynix 85c5f4b48b SDK/TextAreaWidget: Make character erasing work with cursor
Adds support for delete key
2016-12-03 00:41:27 +01:00
Lynix 6c03803c5e SDK/TextAreaWidget: Add cursor shifting by left and right arrows 2016-12-03 00:40:31 +01:00
Lynix d28dab2e36 SDK/TextAreaWidget: Fix cursor handling 2016-12-03 00:39:19 +01:00
Lynix cfa9b4bf2f SDK/Widgets: Add OnKeyPressed/OnKeyReleased callbacks 2016-12-03 00:35:39 +01:00
Lynix e6e4a437bd Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-11-30 13:08:08 +01:00
Lynix 3c5594c206 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-28 17:27:12 +01:00
Lynix 936a2df676 SDK/Lua: Bind WindowStyle 2016-11-27 13:40:58 +01:00
Lynix a34d1e410c Core/Enum: Convert OpenMode and StreamOption to the new flags system 2016-11-27 13:40:47 +01:00
Lynix a8280469a3 Sdk/Lua: Fix binding initialization 2016-11-27 12:39:13 +01:00
Lynix 6160886785 SDK/Lua: Move binding files to NDK/Lua directory 2016-11-24 23:48:07 +01:00
Lynix 7f143e41f8 SDK/Lua: Rework LuaBinding classes to try to improve compile time and binary size 2016-11-24 22:54:48 +01:00
Lynix 0c8128b7e4 Mesh/MeshParams: Replace flipUVs by texCoordOffset and texCoordScale 2016-11-24 09:43:56 +01:00
Lynix 7e7549b182 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:12:46 +01:00
Lynix 093ee3175e SDK/Component: Fix typo (and compilation) 2016-11-23 14:12:24 +01:00
Lynix 8d86306933 Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-11-23 14:07:52 +01:00
Lynix 88895df1d0 SDK/Systems: Disable VelocitySystem if PhysicsComponent2D is present 2016-11-23 14:07:20 +01:00
Lynix ed827e039c SDK/Lua: Bind GetFOV and GetLayer methods from CameraComponent 2016-11-19 15:43:49 +01:00
Lynix 4cc083154d Sdk/Lua: Fix warning 2016-11-19 15:43:31 +01:00
Lynix f629803f90 Sdk/CameraComponent: Fix compilation 2016-11-19 15:43:17 +01:00
Lynix 3bd426f3dc SDK/Lua: Bind CameraComponent 2016-11-18 22:39:01 +01:00
Lynix cdc53e3dc3 Sdk/Lua: Bind Keyboard 2016-11-18 22:14:10 +01:00
Lynix 77b8f48352 SDK/Lua: Bind methods from EulerAngles and Quaternion 2016-11-18 21:25:32 +01:00
Lynix a1b71467c6 SDK/CollisionComponent2D: Fix static body position 2016-11-18 18:47:24 +01:00
Lynix 950068a60d Doc/SDK: Fix missing NDK group 2016-11-18 12:03:35 +01:00
Lynix cd0e9d97b8 Graphics/Sprite: Add SetMaterial and SetTexture overloads for searching a resource name 2016-11-17 18:24:36 +01:00
Lynix 1ff530cfbe Sdk/LuaAPI: Remove documentation from LuaImplQueryArg/LuaImplReplyVal
Since they are internal functions
2016-11-15 11:46:12 +01:00
Lynix f596b46629 Sdk/Lua: Fix Clock() constructor not correctly handling optional arguments 2016-11-14 00:21:36 +01:00
Lynix d0e3d1c1e8 Sdk/Lua: Fix Material:LoadFromFile last parameter not being optional 2016-11-13 20:45:14 +01:00
Lynix 74f3ac8021 SDK: Add components and system for 2D physics 2016-11-10 18:31:27 +01:00
Lynix 7f445def13 Fix some warnings from MSVC 2016-11-10 16:44:29 +01:00
Jérôme Leclercq a8d4e44669 Sdk/World: Optimize updating dirty entities by removing a branch 2016-11-08 12:29:15 +01:00
Jérôme Leclercq 4536ba768c Sdk/BaseSystem: Fix compilation with GCC 2016-11-08 12:28:12 +01:00
Jérôme Leclercq 7e5a9048e1 Sdk/World: Fix a warning 2016-11-08 12:27:55 +01:00
Jérôme Leclercq ff47fb6fa2 Sdk: Add default update order for Listener, Render and Velocity systems 2016-11-08 02:51:47 +01:00
Jérôme Leclercq aa304ef2e9 SDK: Allow to set an update order for systems (Closes #106) 2016-11-08 02:51:25 +01:00
Jérôme Leclercq 9e84c397ba Merge branch 'master' into culling 2016-11-07 11:26:48 +01:00
Jérôme Leclercq 4f01e13b09 Sdk: Fix typo 2016-11-06 23:12:08 +01:00
Jérôme Leclercq 482eeafdb7 Remove save-failed file 2016-11-04 18:31:15 +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 28a2328371 Global headers: Remove the generation date
They should now generate the same input everytime
2016-10-28 17:53:03 +02:00
Lynix 3d79db4c52 Sdk/Widgets: Add TextAreaWidget (experimental) 2016-10-28 17:46:23 +02:00
Lynix 7df732b927 Sdk/Canvas: Add basic keyboard handler 2016-10-28 17:46:02 +02:00
Lynix a4eccc9fac SDK: Add widget global header 2016-10-27 21:38:46 +02:00
Lynix df24519230 Merge remote-tracking branch 'refs/remotes/origin/master' into gui 2016-10-27 18:36:47 +02:00
Lynix 15a1302522 SDK/Lua: Simplify graphics binding code 2016-10-27 18:30:11 +02:00
Lynix 6b1d1a1d64 Sdk/Lua: Bind TextureLibrary and TextureManager 2016-10-27 11:29:02 +02:00
Lynix 1d7e1b46ff Sdk/Lua: Bind more Matrix4 methods 2016-10-27 11:23:24 +02:00
Lynix 5ffc5a8784 Lua/LuaClass: Don't remove instance from the Lua stack
The instance Lua entry now remains as the first index, shifting all the
parameters indexes by 1
2016-10-27 11:22:35 +02:00
Lynix d6f6b4421e Sdk/Lua: Fix GraphicsComponent:Attach not taking other overloads into account 2016-10-25 13:52:26 +02:00
Lynix b27cfd30af Sdk/VelocityComponent: Cleanup 2016-10-25 12:22:57 +02:00
Lynix 2a08e19e77 Sdk/Lua: Bind Material class 2016-10-25 12:22:46 +02:00
Lynix 034f5cc8d7 Sdk/Lua: Bind SpriteLibrary 2016-10-21 17:32:40 +02:00
Lynix 373b8a7069 SDKServer: Fix compilation 2016-10-21 02:29:09 +02:00
Lynix b1abe2aac8 SDK: Fix compilation² 2016-10-21 02:22:12 +02:00
Lynix b062b496cf Fix compilation 2016-10-21 02:12:35 +02:00
Lynix 8f84700628 Sdk/LuaAPI: Make GetBinding() initialize the binding in case it wasn't initialized 2016-10-21 02:12:23 +02:00
Lynix 6b6608eccc Sdk/LuaBinding: Remove "class" suffix from classes instances 2016-10-21 02:03:31 +02:00
Lynix 6d597aa2bc Sdk/Application: Cleanup 2016-10-21 02:01:08 +02:00
Lynix 350c7dad59 Sdk/Lua: Bind Sprite class 2016-10-21 02:00:51 +02:00
Lynix 4cd6bdd14a Sdk/Lua: Bind Texture class 2016-10-21 02:00:35 +02:00
Lynix 6885e99ee7 SDK/Lua: Bind Matrix4 2016-10-20 17:24:22 +02:00
Lynix 725dc6cdbc Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-19 11:17:12 +02: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 634b67be56 Fix merge fail 2016-10-13 08:33:15 +02:00
Lynix 1fdda6b07c Merge remote-tracking branch 'refs/remotes/origin/master' into physics-refactor 2016-10-13 08:32:36 +02:00
Lynix 01cd9b220f Sdk/PhysicsSystem: Fix GetWorld() not initializing the internal world 2016-10-13 08:30:33 +02:00
Lynix be44a89a85 Sdk: Rename [Collision|Physics]Component to [Collision|Physics]Component3D 2016-10-13 08:23:25 +02:00
Lynix b52c7c57bf Physics3D: Rename PhysWorld to PhysWorld3D 2016-10-13 08:13:56 +02:00
Lynix 3765cba046 Physics3D: Rename PhysObject to RigidBody3D 2016-10-13 08:06:14 +02:00
Lynix 3c4d084b27 Physics3D: Rename Physics module class to Physics3D 2016-10-13 07:40:12 +02:00
Lynix b7a383d68c Physics3D: Rename all *Geom to Collider3D 2016-10-13 07:29:34 +02:00
Lynix 24f1859ec2 Physics: Change includes to Physics3D 2016-10-13 06:03:22 +02:00
Lynix debf87e739 Sdk/PhysicsSystem: Create PhysWorld only if required by entities 2016-10-13 05:29:48 +02:00
Lynix 4ba744c1bc Fix merge fails 2016-10-12 17:29:08 +02:00
Lynix 561c0cf51f Merge remote-tracking branch 'refs/remotes/origin/master' into culling 2016-10-12 16:51:18 +02:00
Lynix c4b99fb0df Sdk/ButtonWidget: Remove debug code on mouse move
Former-commit-id: f36553828d8f212b1a837a121876945b7dceb7fb [formerly eb5492d8d1c5d752028b3e7f34be4ecbc4444b03] [formerly c5eb946d4d8e2505a07e74a474dd12d5cc5a71c7 [formerly 29aa56ee96517fa23dfea73a428de67a97f58fe3]]
Former-commit-id: ea67903befcf6d70ecb0735cbc20f5c1cb744486 [formerly ec59646b433a1eb3bccf4516dbdda52f2e23a127]
Former-commit-id: e2589b30389918af8c1f579c22d711542fcff43a
2016-10-11 15:41:33 +02:00
Lynix 7cab7cacaa Sdk/BaseWidget: Add Center() method
Former-commit-id: 337837199f8909bd39dd10129b379331e9344dd7 [formerly e29dfa72869a7e4831cdf1880db92a7f96cb7755] [formerly fef5a65af9b6bc7b12813a79db818aa6f8034c5f [formerly 5e38bf5eda4f96df7bb2f13d406830a48f293bb9]]
Former-commit-id: b06665741f29f91b9e26fe270e6addd699c5111b [formerly aaf5e62dbdda284ec70dae55b7c37c5e86b75ebc]
Former-commit-id: a9c1a3dc6df30f1688ad9143ba56912d02285c19
2016-10-11 15:41:19 +02:00
Lynix 2fdc7a8878 Sdk/BaseWidget: Add shortcut to create children widgets
Former-commit-id: 5d5ca1d1097086c33133440c08806aec9e478b09 [formerly ca22426131332606a26dc3f33fcda615c7c03d81] [formerly 38913198afa19aa2f5f2ee0f90f99d3780cb3333 [formerly b592a482e9f71b01a3b068276c3bbdcf8dcdda49]]
Former-commit-id: f464592f3d951614bc333bab9e0662fc1f8ad18e [formerly dd7f97b064a63188d227577e5f1f8dcc1526c2a3]
Former-commit-id: 6463d207bbf06bcfb811abb249fe257ee5336c85
2016-10-11 15:40:56 +02:00
Lynix 05dd93c549 Merge branch 'master' into gui
Former-commit-id: b5a6eba7494e7595000e3c7e1f3c77077485519f [formerly 74e8b34c50d86cea8be86dcc5d9b82e112db9277] [formerly 07e6a0bd2e00dcb9517c6ddc1d9ca7d3326707ae [formerly 59878811e379ef9bfd66e6fd0a0f32eaa39dcc6b]]
Former-commit-id: b7a83377bc61d378410ce33748ab63357ee53abb [formerly d789d8762086eb0dd43e0cef08f1edfbd8d346f2]
Former-commit-id: 7aa71e252bf91965f8f488dd9396e6287607edf9
2016-10-10 22:10:36 +02:00
Lynix 05f7c52378 Fix some warnings pointed by Clang
Former-commit-id: 2e2e0a23d3b4115b584743f100ca05fa404a4e9a [formerly 02f505dd5b7c70682e035ddabaa7731fe09d8452] [formerly bccc66f75a5ad50f88043a502c3cae1395889740 [formerly 294134ecf2220589b85d6950054591ce02e596ec]]
Former-commit-id: 9d8d7699eaf4128b3519b3d33b6f5a20bf16f30f [formerly d84e10bdcb4faf5cd48d639bab06544b6fc7bda1]
Former-commit-id: d73659592f82b0416b2ca6f2b406f744e68c4d45
2016-10-05 00:38:52 +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