summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_script.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* -Ability to roll-back script-exported properties to their default value on ↵Juan Linietsky2016-01-021-0/+22
| | | | the script, closes #2128
* -properly handle newline in \ (line continuation) in gdscript, fixes #2112Juan Linietsky2016-01-021-17/+11
| | | | -also fix a small crash in export detection with scripts that include themselves
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* -add breakpoint statement to ease with debugging, closes #3165reduz2015-12-291-0/+9
|
* - added 'onready' keyword to gdscript. Defers initialization of member ↵reduz2015-12-281-0/+1
| | | | variables until _ready() is run.
* Ability to set autoloads as singleton global variablesreduz2015-12-281-0/+6
|
* replaced :var by :Variant in documentation, fixes #2897Juan Linietsky2015-12-141-1/+1
|
* -Display on animation editor which keys are invalid and which tracks are ↵Juan Linietsky2015-12-051-0/+20
| | | | | | unresolved -Added a tool to clean up unresolved tracks and unused keys
* Break into GDScript debugger when new() failsadmix2015-11-291-7/+7
|
* **WARNING BEFORE PULLING**Juan Linietsky2015-08-231-1/+6
| | | | | | | | | | | This push changes the binary and XML formats and bumps the major version to 2.0. As such, files saved in this version WILL NO LONGER WORK IN PREVIOUS VERSIONS. This compatibility breakage with older versions was required in order to properly provide project refactoring tools. If I were you, unless you are brave, I would wait a week or two before pulling, in case of bugs :) Summary of Changes -New Filesystem dock, with filesystem & tree view modes. -New refactoring tools, to change or fix dependencies. -Quick search dialog, to quickly search any file
* -some changes by okamJuan Linietsky2015-06-301-0/+8
|
* Several performance improvements, mainly in loading and instancing scenes ↵Juan Linietsky2015-06-291-2/+2
| | | | | | | | and resources. A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
* added ability to define signals in scriptJuan Linietsky2015-06-241-0/+48
| | | | closes #2175
* Fixed variables being set before calling the setter methodJaguar2015-06-131-1/+2
|
* -Rename unexisting by nonexistant, closes #1940Juan Linietsky2015-05-181-1/+1
| | | | -Added function to retrieve list of actions fron InputMap
* properly save external resources, fixes #1924Juan Linietsky2015-05-171-0/+4
| | | | added API to get scancode names to OS
* -bit slower execution in debug, but proper error reporting for get index and ↵Juan Linietsky2015-05-161-3/+28
| | | | operators, fixes #1911
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* (Fix) script will not be able to extend itselfmostafahassan2015-03-311-1/+1
|
* Merge pull request #1396 from Spooner/fix_sprintf_errorsJuan Linietsky2015-03-221-1/+2
|\ | | | | Fix sprintf errors
| * Added info about operator after bespoke error message.Bil Bas (Spooner)2015-02-191-0/+1
| |
| * Correctly halt on error in sprintf parsing (fixes #1393)Bil Bas (Spooner)2015-02-191-1/+1
| |
* | support for 2D shadow castersJuan Linietsky2015-03-021-1/+4
|/ | | | | | | | | | Added support for 2D shadow casters. *DANGER* Shaders in CanvasItem CHANGED, if you are using shader in a CanvasItem and pull this, you will lose them. Shaders now work through a 2D material system similar to 3D. If you don't want to lose the 2D shader code, save the shader as a .shd, then create a material in CanvasItem and re-assign the shader.
* -Resolved bug that made yield() not work in some situations, fixes #884Juan Linietsky2015-01-061-1/+1
|
* FixesJuan Linietsky2014-12-201-0/+1
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* Fix crash when gd-script _init failsanikoyes2014-12-181-1/+1
|
* more bugfixesJuan Linietsky2014-12-071-0/+2
|
* Batch of BugfixesJuan Linietsky2014-12-071-35/+129
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
* missing navmesh demo and small fixesJuan Linietsky2014-11-191-0/+2
|
* Bug FixesJuan Linietsky2014-11-021-0/+1
| | | | | | | | | | | | | | | | -=-=-=-=- -Fixed problem with scaling shapes (#827), related to not taking scale in consideration for calculating the moment of inertia -Added support for multiline strings (or comments) using """ -Save subscene bug, properties not being saved in root node (#806) -Fix Crash in CollisionPolygon2DEditor (#814) -Restored Ability to compile without 3D (#795) -Fix InterpolatedCamera (#803) -Fix UV Import for OBJ Meshes (#771) -Fixed issue with modifier gizmos (#794) -Fixed CapsuleShape gizmo handle (#50) -Fixed Import Button (not properly working in 3D) (#733) -Many misc fixes (though no new features)
* -Much improvement to baked light bakerJuan Linietsky2014-10-271-9/+24
| | | | | | | -Fixed many bugs in stretch mode -Fixes to camera project and unproject as consequence of the above -added setget to script (documented in script doc) -more fixes to collada exporter for blender
* Little BitsJuan Linietsky2014-10-121-2/+25
| | | | | | | | | | | | | | | | | | | -=-=-=-=-=- -fix duplicate function bug when creating script callback in editor -fix bug where hiding lights does not work -fix 2D audio listener bug (romulox_x reported) -fix exported properties with inheritance bug -fix timer autostart (make it not work on editor) -reactivate first camara found if viewport runs out of active camera -option to hide gizmos in viewport -changed skeleton gizmo because it sucks -Make convex shapes using CollisionShape visible (use quickhull class) -fix up menu when editing a mesh, to export collision, navmesh, convex, etc. from it. -make a menu option to show SRGB in 3D editor views by default -make option to edit default light direction in viewport settings -make option to edit default ambient light in viewport settings -make software conversion of linear->RGB if hardware support not found
* Build System ChangesJuan Linietsky2014-10-071-1/+0
| | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
* -variables with export in script are now IMMEDIATELY AND ALWAYS visible in ↵Juan Linietsky2014-09-221-1/+46
| | | | | | | | | | | properties (#718) -WorldEnvironment cleanup issues fixed (#563) -Text Editor improvement to shift-mouse selection (#648) -(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652) -Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense -Added add_collision_exception() API in PhysicsBody (more accessible) -ability to select and copy in the output messages panel
* - more fixes on #672 on windowsJuan Linietsky2014-09-191-1/+5
| | | | | | - added #660, but need help on osx, help please I don't have a mac! - fixed #667 and #668 (eol detection in comments) - added #670 (hint when using method without () )
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-151-47/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.
* More 3D WorkJuan Linietsky2014-06-161-0/+2
| | | | | | | | -=-=-=-=-=- -ESM Shadow Mapping for softer and less glitchy shadows -HDR Pipeline (convert to Linear on texture import, convert to SRGB at the end) -Fix to xml parse bug
* Light Baker!Juan Linietsky2014-06-111-3/+26
| | | | | | -=-=-=-=-=-= -Support for lightmap baker, have fun figuring out how it works before tutorial is published.
* -Fixed bug in "extends"Juan Linietsky2014-05-241-0/+2
|
* Making Godot Easier to Use..Juan Linietsky2014-05-241-0/+3
| | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=-= -Auto indenter in code editor, this makes it much easier to paste external code. -Zoom in 2D viewport now uses the mouse pointer as reference. -Obscure hack to see where code/line of GDScript in C++ backtrace. -Fixed a bug where keys would get stuck on X11 if pressed simultaneously -Added Api on IP singleton to request local IPs. -Premultiplied alpha support when importing texture, editing PNGs and as a blend mode.
* A bit of everything:Juan Linietsky2014-05-141-0/+1
| | | | | | | | | | | | | -IMA-ADPCM support for samples, this means that sound effects can be compressed and use 4 timess less RAM. -New 3D import workflow based on Wavefront OBJ. Import single objects as mesh resources instead of full scenes. Many people prefers to work this way. Just like the rest of the imported resources, these are updated in realtime if modified externally. -Mesh resources now support naming surfaces. This helps reimporting to identify which user-created materials must be kept. -Several fixes and improvements to SurfaceTool. -Anti Aliasing added to WorldEnvironment effects (using FXAA) -2D Physics bodies (RigidBody, KinematicBody, etc), Raycasts, Tilemap, etc support collision layers. This makes easy to group which objects collide against which. -2D Trigger shapes can now also trigger collision reporting in other 2D bodies (it used to be in Area2D before) -Viewport render target textures can now be filtered. -Few fixes in GDscript make it easier to work with static functions and class members. -Several and many bugfixes.
* Fixes to constants in scopeJuan Linietsky2014-05-021-6/+11
|
* -Fixes to OpenSSL compilation (more)Juan Linietsky2014-05-011-0/+5
| | | | -Fix bug in GDScript, now static functions can call static functions.
* -Support for changing fontsJuan Linietsky2014-04-051-0/+13
| | | | | | | -Detect when free() might crash the project and throw error -fixed 2D Bounce in physics (3d still broken) -renamed “on_top” property to “behind_parent”, which makes more sense, old on_top remains there for compatibility but is invisible. -large amount of fixes
* -scripts are converted to bytecode on exportJuan Linietsky2014-02-251-10/+69
| | | | -fix bug in doc where touchscreen events were not documented
* -moved script to modulesJuan Linietsky2014-02-241-0/+2222