Commit Graph

21 Commits

Author SHA1 Message Date
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 511ded215b Lua/LuaClass: Fix compilation 2016-10-21 17:32:20 +02:00
Lynix d6b6e26d31 Lua/LuaClass: Reference the destructor only if the class has one
Allows to bind classes with deleted destructors
2016-10-21 17:24:45 +02:00
Lynix 3f7f12b625 Lua/LuaClass: Refactor Register() implementation 2016-10-21 16:50:49 +02:00
Lynix baf4cb0e16 Lua/LuaClass: Add Reset method and default constructor 2016-10-19 22:48:46 +02:00
Lynix d7b7135e27 Lua/LuaClass: Fix argument count via GetStackTop (Close #75)
Former-commit-id: 3a0e60a6e7ec7c85ff5f179cc84a468d8c0682f4 [formerly f0712658e69c7ced1fa46f8878f96776d6b36567] [formerly 3035b072473d17863c3c0f6950451ccf582c107e [formerly fe3cbf8a2cf87cf6cc3d3e8577011159bff04387]]
Former-commit-id: df8812d712d28efc2bc83258df53dcb21bbb4b2d [formerly 6d2d8773c96d406690bd5cfc19cef7d1706ff6fc]
Former-commit-id: 461fec0cc2dd99690a3de10436730514712beb73
2016-10-03 19:49:43 +02:00
Lynix 24a8fcee01 Optimize Lua binding
Optimize binding by removing a useless extra indirection and allowing to
move replying variables


Former-commit-id: 76728df1c3ab9a38a4304ae2b9f2fc6a000e0ebb
2016-04-24 19:54:46 +02:00
Lynix 9ea9137c21 Lua/LuaClass: Rename Set[Static]Method to Bind[Static]Method
Former-commit-id: fee2269cb12a621443715946602827cbfc5efc42
2016-04-16 18:48:27 +02:00
Lynix b331d66c70 Lua/LuaClass: Add possibility to set up a custom converter
Former-commit-id: 96cf62a16845b5cf44d5724bfd3b9e5b7672ad03
2016-03-30 18:16:05 +02:00
Lynix b6ea30f9c1 Lua/LuaClass: Add a default ToString implementation
Former-commit-id: ff6c9cf1d18d34ad8fd7b03c970eec2da5ba0947
2016-03-30 18:15:17 +02:00
Lynix ee2626b928 Lua: Optimize binding
Former-commit-id: 647a1731f75098b4a8b8f8785e683533931e085a
2015-12-17 13:41:13 +01:00
Lynix 4c72e27784 Lua/LuaClass: Add pointer objects support
Former-commit-id: b4cf6fb6674278ed341a27d2a8e432845531a333
2015-12-13 16:35:42 +01:00
Lynix 83bd028e8f Lua/LuaClass: Add inheritance (first implementation)
Former-commit-id: 6c7f8d7dace5c857ae71958e15cc13d6a6f9ccb2
2015-12-13 03:29:57 +01:00
Lynix d2584b7c33 Lua: Add support for default arguments
Former-commit-id: a319bcadf39b7e1633aaa23f360059a1f7449590
2015-12-09 15:11:57 +01:00
Lynix 8915619934 Lua: Add automatic method binding
Former-commit-id: fccd5f3682f6581db6b6b5976f4d0d3e0afa324c
2015-11-28 02:51:42 +01:00
Lynix df8da275c4 Switch from Nz prefix to namespace Nz
What a huge commit


Former-commit-id: 38ac5eebf70adc1180f571f6006192d28fb99897
2015-09-25 19:20:05 +02:00
Lynix ea8d683624 Updated copyright year
(532 files, wow)


Former-commit-id: cbb31f1124a86720bd3a54fe589a0f849a87b434
2015-01-21 20:53:01 +01:00
Lynix 8aaed03310 Added static methods/getter/setter to LuaClasses
Former-commit-id: 8b2c0cf5812863c93cb1064b24b9bf396e7af30f
2014-05-28 00:31:34 +02:00
Lynix c096756dab Happy thousandth commit Nazara
Updated copyright year (Yay, 515 file updated)
Regenerated global headers
Fixed some typo
Improved some shaders
-Blah blah blah-

Thank you all for supporting my project !
-Lynix


Former-commit-id: e4e741b318ba4f203da5ffd265bd5e516e7ffd7d
2014-01-12 20:16:21 +01:00
Lynix 90603e1f42 Improved LuaClass
Still no inherance though


Former-commit-id: 14c48e5238cc666f4054a0a484d7ac1ec8b7f22b
2013-05-01 02:01:09 +02:00
Lynix 1e256bdf35 Added Lua module
Former-commit-id: 3f96b9aef8afffb5e8daf460480df2f3b8c37da7
2013-04-24 11:51:06 +02:00