summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2020-05-04Merge pull request #37937 from HaSa1002/fix-pckRémi Verschelde
Priorize Embedded PCKs on loading
2020-05-04Priorize Embedded PCKs on loadingHaSa1002
If existing, embedded PCKs are loaded before the pcks the engine might find next to it. Fixes #37568
2020-05-03Merge pull request #38394 from reduz/implement-skewRémi Verschelde
Implement Skew in Node2D
2020-05-03Remove some C++11 polyfill defines that are no longer neededHugo Locurcio
2020-05-01Implement Skew in Node2DJuan Linietsky
Skew is x-axis only, because it must be bidirectionally convertible to a 2x3 matrix, but you can subtract it to the rotation to get the effect on y-axis
2020-04-29Fixed false positives in the culling system.Kiri Jolly
This fixes numerous false positives coming out of the culling system. AABB checks are now a full separating-axis check against the frustum, with the points of the frustum being compared to the planes of the box just as the points of the box were being compared to the planes of the frustum. This fixes large objects behind the camera not being culled correctly. Some systems that used frustums that were (sometimes mistakenly?) unbounded on one or more side have been modified to be fully enclosed.
2020-04-29Merge pull request #38307 from Calinou/shell-open-res-user-warningRémi Verschelde
Warn when trying to open `res://` or `user://` with `OS.shell_open()`
2020-04-29[Core] Rename linear_interpolate to lerpAaron Franke
2020-04-29Merge pull request #38034 from punto-/punto-/vibration_info_protectedRémi Verschelde
makes VibrationInfo protected
2020-04-29Merge pull request #37580 from aaronfranke/xformRémi Verschelde
Print errors when passing an invalid type to xform
2020-04-29Input: make VibrationInfo protected to allow implementors to use itpunto-
2020-04-28Merge pull request #38064 from aaronfranke/rotatedRémi Verschelde
Improve the Vector2 rotated code
2020-04-28Print errors when passing an invalid type to xformAaron Franke
2020-04-28Warn when trying to open `res://` or `user://` with `OS.shell_open()`Hugo Locurcio
`OS.shell_open()` will pass on the path directly to the OS' shell handler (which can handle file paths or URLs). It can't handle Godot-specific paths, so these need to be converted with `ProjectSettings.globalize_path()` first.
2020-04-28Merge pull request #38295 from akien-mga/input-is-backRémi Verschelde
Rename InputFilter back to Input
2020-04-28Rename InputFilter back to InputRémi Verschelde
It changed name as part of the DisplayServer and input refactoring in #37317, with the rationale that input no longer goes through the main loop, so the previous Input singleton now only does filtering. But the gains in consistency are quite limited in the renaming, and it breaks compatibility for all scripts and tutorials that access the Input singleton via the scripting language. A temporary option was suggested to keep the scripting singleton named `Input` even if its type is `InputFilter`, but that adds inconsistency and breaks C#. Fixes godotengine/godot-proposals#639. Fixes #37319. Fixes #37690.
2020-04-28Input: Drop obsolete versions of SDL gamecontrollerdbRémi Verschelde
The 204 and 205 are the older, SDL 2.0.4 and 2.0.5 compatible mappings, but since all new mappings have only been added to the main gamecontrollerdb.txt which overrides the older entries, it doesn't make much sense for us to keep the old databases. We do not support the SDL2 half axes and inverted axes features from gamecontrollerdb.txt, but this only impacts the specific controllers which can use those features, the rest are parsed and used properly. As for godotcontrollerdb.txt, it doesn't make sense for us to maintain our own custom mappings instead of submitting them upstream. The only exception is the Javascript and UWP platforms for which no bindings are available upstream, so we keep those entries.
2020-04-25Add const to InputEventMouseButton::get_factorTobias Mansfield-Williams
2020-04-21Improve the Vector2 rotated codeAaron Franke
2020-04-21Add proper type to most public API uses of ArrayJuan Linietsky
2020-04-21Add ability to bind typed arrays to script APIJuan Linietsky
Note: Only replaced 2 instances to test, Node.get_children and TileMap.get_used_cells Note: Will do a mass replace on later PRs of whathever I can find, but probably need a tool to grep through doc. Warning: Mono will break, needs to be fixed (and so do TypeScript and NativeScript, need to ask respective maintainers)
2020-04-20Exposed RenderingDevice to script APIJuan Linietsky
Also added an easier way to load native GLSL shaders. Extras: Had to fix no-cache for subresources in resource loader, it was not properly working, making shaders not properly reload. Note: The precommit hooks are broken because they don't seem to support enums from one class being used in another. Feel free to fix this after merging this PR.
2020-04-20Merge pull request #37982 from DrMoriarty/fix_square_resizeRémi Verschelde
Fix square image resize
2020-04-20Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editorRémi Verschelde
Subgroups were added in #37678 but not properly handled everywhere where PROPERTY_USAGE_GROUP is.
2020-04-20Merge pull request #38039 from akien-mga/docdata-skip-unexposedRémi Verschelde
DocData: Skip unexposed classes
2020-04-20DocData: Skip unexposed classesRémi Verschelde
Properly expose classes that we actually want accessible.
2020-04-20Revert "Made possible to specify where to dump the contents when loading a ↵Rémi Verschelde
".pck" file" This reverts commit 3c261e0dfa19d9c661ad6ca908a3b8ccee050016. This was not so useful as is due to the way dependency paths are stored in scenes and resources.
2020-04-18Fix square image resizeVasiliy Makarov
Fixes #37980
2020-04-16Made possible to specify where to dump the contents when loading a ".pck" fileMichael Alexsander
2020-04-15Fixes leaks in ResourceCache, Vulkan and X11qarmin
2020-04-14Remove unnecessary check for zero determinant in Basis::orthonormalize().Marcel Admiraal
2020-04-14Implement decalsJuan Linietsky
Also implemented decal atlas, so projectors and other stuff can be added. Sidenote: Had to make RID hashable, so some unrelated includes changed in order to include it in hashfuncs.h
2020-04-10Merge pull request #37450 from SkyLucilfer/profilerBugRémi Verschelde
Fix profiler frame number stops updating when window is minimized
2020-04-10Merge pull request #37693 from lupoDharkael/remove-hintRémi Verschelde
Remove obsolete enums
2020-04-10Merge pull request #37699 from lupoDharkael/committing-typoRémi Verschelde
Replace is_commiting_action with is_committing_action
2020-04-10Fix Engine get_target_fps() returning float instead of int.Marcel Admiraal
2020-04-08Remove obsolete enumslupoDharkael
2020-04-08Replace is_commiting_action with is_committing_actionlupoDharkael
2020-04-08Refactored shadowmapping.Juan Linietsky
- Made shadow bias size independent, so it will remain when changing light or camera size. - Implemented normal offset bias, which greatly enhances quality. - Added transmission to subsurface scattering - Reimplemented shadow filter modes Closes #17260
2020-04-07Merge pull request #37579 from Calinou/improve-shader-error-outputRémi Verschelde
Improve the shader error console output
2020-04-05Fix aspect ratio on hmd projection matrixBastiaan Olij
(cherry picked from commit a7438f0e61fca161b6324a230b8914e4f6c56b3f)
2020-04-04Improve the shader error console outputHugo Locurcio
This makes the line gutter look more like an actual line gutter, which makes it less confusing.
2020-04-03Fix C# bindings after recent breaking changesIgnacio Etcheverry
2020-04-02Replace more occurrences of NULL with nullptrRémi Verschelde
2020-04-02Replace NULL with nullptrlupoDharkael
2020-04-02Merge pull request #37504 from qarmin/out_of_bound_cursorRémi Verschelde
Fix array out of bounds access caused by uninitialised variables
2020-04-01Make dict erase node sequenced godotengine#37477Zak Grumbles
* Updated macro call to make the visual Dictionary Erase node sequenced.
2020-04-01Fix out of bound array access caused by unassigned variableRafał Mikrut
2020-04-01some typo in method binds fixedThakee Nathees
2020-03-31Fix profiler frame number stops updating when window is minimizedSkyJJ