Commit graph

112 commits

Author SHA1 Message Date
Ruslan Mustakov
66c939b9e6 Fix for latest Nim
Closes #23.
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
76de026b4f Implement hash proc for Godot types 2018-06-04 11:50:37 +07:00
Ruslan Mustakov
4eb771e9be Support all the default values 2018-06-04 11:50:37 +07:00
Ruslan Mustakov
2dd0130c78 Avoid name clashes between properties and methods
Fixes #19.
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
651c2d823c Handle nil object references properly
Fixes #26.
2018-06-04 11:50:37 +07:00
Ruslan Mustakov
8b1ac6d835 Fix compilation with C++ backend. Fixes #25. 2018-06-04 11:50:37 +07:00
Jon Renner
21ca9a088b export Vector2 normalize proc 2018-05-19 14:30:02 +07:00
Ruslan Mustakov
96dfc7de90 Fix for latest Nim 2018-05-16 15:06:57 +07:00
Ruslan Mustakov
a1d1481967 Add a remark to thread enter warning 2018-05-14 21:15:11 +07:00
Ruslan Mustakov
6e014bbc01 Make godotapigen use getter return type for property types
Fixes #20.
2018-04-24 11:12:49 +07:00
Ruslan Mustakov
dc6ebaf575 Fix GDNative API version check
Fixes #18.
2018-03-31 17:45:50 +07:00
Ruslan Mustakov
be6f01e3b7 More pool array features: subarray, mitems, mpairs 2018-02-22 18:55:52 +07:00
Ruslan Mustakov
d11856377e Implement Vector2 and Rect2 procs
This allows compiler to inline/optimize them, which cannot be done if
these procs are invoked via GDNative API.
2018-02-17 23:44:07 +07:00
Ruslan Mustakov
0aab6e17ef Update license year and fix doc to have Godot 3.0 download URL 2018-01-31 20:52:15 +07:00
Ruslan Mustakov
5ccf351b5a Fix Variant export 2018-01-31 20:30:13 +07:00
Ruslan Mustakov
f05eb090f7 Update after GDNative API changes 2018-01-25 17:52:58 +07:00
Ruslan Mustakov
e3216f09d0 Update ref types not to be var in parameters 2018-01-25 17:39:01 +07:00
Ruslan Mustakov
ae3171cb98 Fix Vector2 += 2018-01-15 11:01:48 +07:00
Ruslan Mustakov
d4ab8a5524 Update after recent GDNative API changes 2018-01-12 23:22:50 +07:00
Ruslan Mustakov
09326f5104 Fix Reference leak and improve gdnew performance 2018-01-11 16:52:41 +07:00
Ruslan Mustakov
d89073bac8 Do not depend on asyncdispatch
Instead, allow to register frame callbacks.
2017-12-29 11:52:00 +07:00
Ruslan Mustakov
e2feb06468 Add indexed property support 2017-12-18 17:22:12 +07:00
Ruslan Mustakov
4d19140d7c Update for latest GDNative API changes 2017-12-18 13:48:01 +07:00
Ruslan Mustakov
c06792df8d Add vec2(). Closes #12 2017-12-08 16:07:23 +07:00
Ruslan Mustakov
8d6972f729 Fix doc generation 2017-12-08 13:21:01 +07:00
Ruslan Mustakov
0d21c361d0 Use setStackBottom for methods called from outside 2017-11-28 12:04:07 +07:00
Ruslan Mustakov
e2049ff1a7 Update for latest Nim 2017-11-22 16:38:28 +07:00
Ruslan Mustakov
4e24244c48 Update for latest Godot 2017-11-22 12:28:54 +07:00
Ruslan Mustakov
a1c378301a Update for latest Godot 2017-11-21 02:44:32 +07:00
Ruslan Mustakov
bf5bd54356 Rename Rect3 to AABB to sync with Godot 2017-11-20 06:52:37 +07:00
Ruslan Mustakov
cc6bfa0045 Update for latest GDNative API changes 2017-11-13 10:18:25 +07:00
Ruslan Mustakov
a93dcd1d4d Update for latest Nim 2017-11-08 11:39:07 +07:00
Ruslan Mustakov
e494dc914a Update GDNative API struct 2017-11-08 11:14:48 +07:00
Ruslan Mustakov
26570707aa Fix poll loop 2017-10-18 11:47:20 +07:00
Ruslan Mustakov
d2b86a2b94 Perform poll(0) in a loop
Temporary workaround for https://github.com/nim-lang/Nim/issues/6523
2017-10-17 16:32:07 +07:00
Ruslan Mustakov
1b47dac4e9 Fix thread_enter not to use GC 2017-10-16 20:10:16 +07:00
Ruslan Mustakov
7f73a89878 Fix $ for core types 2017-10-12 21:26:36 +07:00
Ruslan Mustakov
c5d7680e53 Change GodotClassConstructor to a safe signature 2017-10-12 20:55:45 +07:00
Ruslan Mustakov
f5abff05e6 Extend GDNative API according to the latest update 2017-10-09 14:47:28 +07:00
Ruslan Mustakov
54d962afd4 Fix void return type in godotapigen 2017-10-05 18:55:51 +07:00
Ruslan Mustakov
b62db02d8f Use GDNative API struct 2017-10-05 18:28:12 +07:00
Evgeny Zuev
cf75723fa1 Fix crash when passing nil seq to godot
Up version to 0.5.10
2017-09-19 18:26:55 +07:00
Ruslan Mustakov
77a8cf7815 Replace ~ with of 2017-09-14 11:04:34 +07:00
Ruslan Mustakov
99934854d0 Fix Reference handling 2017-09-14 10:49:43 +07:00
Ruslan Mustakov
ee53768c13 Export generated init 2017-09-04 20:28:34 +07:00
Ruslan Mustakov
b5fd4295e6 Always generate init with super call 2017-09-04 19:29:59 +07:00
Konstantin Zaitsev
2db2e413a9 Fix transform xform methods for rect3 2017-09-04 12:22:35 +07:00
Ruslan Mustakov
2c226b90e2 Support of enums in API generator 2017-08-23 13:30:08 +07:00
Ruslan Mustakov
fda800fd26 Avoid using godot_get_stack_bottom
It's not reliable on Android.
2017-08-23 13:29:35 +07:00
Ruslan Mustakov
7a96e33f74 Treat process and fixed process as multilevel calls 2017-08-17 17:47:27 +07:00