- Attempt to fix deprecated this:self pragma by injecting self to methods and properties (needs more testing) - Changed import headers to use / (slash) instead of . (period) - Fixed object branch in godotapigen.nim - Fixed deprecated nimNode.ident with nimNode.strVal Fix toGodotName function Consider procCall calls as special cases, otherwise it gives problems in _init function Fix infinite recursive call in Godot 3.2
18 lines
No EOL
669 B
Nim
18 lines
No EOL
669 B
Nim
# Copyright 2018 Xored Software, Inc.
|
|
|
|
import core/godotbase, godotinternal
|
|
import core/godotcoretypes
|
|
import core/vector2, core/rect2, core/vector3, core/transform2d, core/planes,
|
|
core/quats
|
|
import core/aabb, core/basis, core/transforms, core/colors, core/nodepaths,
|
|
core/rids
|
|
import core/dictionaries, core/arrays, core/poolarrays, core/variants
|
|
|
|
import nim/godotmacros, nim/godotnim
|
|
|
|
export godotbase, godotcoretypes, vector2, rect2, vector3, transform2d, planes,
|
|
quats, aabb, basis, transforms, colors, nodepaths, rids, dictionaries,
|
|
arrays, poolarrays, variants
|
|
export godotmacros, godotnim
|
|
|
|
export GodotPropertyHint, GodotPropertyUsage |