summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)Author
2017-01-16Merge pull request #7560 from volzhs/issue-7555Rémi Verschelde
Fix crash when creating new project
2017-01-16Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde
Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
2017-01-17Fix crash when creating new projectvolzhs
2017-01-16Fix compile errors related to audio on OSXBastiaanOlij
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: Keep long lines for nowRémi Verschelde
clang-format does not play well with tab-aligned multiline statements... Some more research will be needed if we want to set a column limit.
2017-01-16Style: No break before list braceRémi Verschelde
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
2017-01-15Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn
with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-15Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde
2017-01-15Add missing map.h include in color defsRémi Verschelde
2017-01-15Fix error while JSON::parse with empty stringGeequlim
2017-01-14no more errors related to missing GlobalConfig::Get (or so I hope)Juan Linietsky
2017-01-15Merge pull request #7127 from BastiaanOlij/ios_metersRémi Verschelde
Core motion implementation for iPhone (Accelerometer/Gyro/Magnetometer support)
2017-01-14MethodBind: Make sure header order is keptRémi Verschelde
When clang-format sorts includes alphabetically, MethodBind breaks. Trying to move the object.h include upward in method_bind.h does not seem to fix the problem, this needs investigation.
2017-01-14Merge pull request #7525 from neikeq/pr-plus_fileRémi Verschelde
String: plus_file(String) no longer adds a root
2017-01-14Fix _Directory::get_current_drive error conditionWilhem Barbier
2017-01-14String: plus_file(String) no longer adds a rootIgnacio Etcheverry
2017-01-14Merge pull request #7524 from neikeq/pr-dir-getcurdriveRémi Verschelde
Directory: Bind get_current_drive() method
2017-01-14Directory: Bind get_current_drive() methodIgnacio Etcheverry
2017-01-14Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky
advanced string format
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-14Unexpose the video mode API, will be completely removed when multi-window ↵Juan Linietsky
support is implemented.
2017-01-14Fixed dir access return value, changed it to Error like all other funcsJuan Linietsky
2017-01-14UDP.set_send_address to UDP.set_dest_addressJuan Linietsky
2017-01-14rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky
String.get_basename()
2017-01-13Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method ↵Juan Linietsky
naming
2017-01-13rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky
2017-01-13Replace Engine version API by preexisting OS oneRémi Verschelde
It outputs a single Dictionary with all relevant information as keys, that will less bloat the documentation and provide all details in one function call.
2017-01-13Created new Engine singleton, and moved engine related OS functions to it.Juan Linietsky
2017-01-12made math functions inlnieJuan Linietsky
2017-01-12Added support for getting gravity vector from iOSBastiaanOlij
2017-01-12Made InputEvent use floating point coordinates.Juan Linietsky
2017-01-11More efficient iteration syntax, and range() is converted behind the scenes ↵Juan Linietsky
to it.
2017-01-11Proper inheritance checking when requesting theem resourcesJuan Linietsky
2017-01-11Added a BACK notification besides QUIT, so they go in separate channels.Juan Linietsky
2017-01-11using VariantParser to parse engine.cfgJuan Linietsky
2017-01-11Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky
2017-01-11Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde
Add named colors to GDScript/Visual Script/core.
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky
Fixed inertia tensor computation and center of mass
2017-01-10Merge pull request #7445 from tagcup/2d_math_fixesJuan Linietsky
Various corrections in 2D math.
2017-01-10Merge pull request #7438 from tagcup/matrix3_rotate_fixJuan Linietsky
Fix the order in which additional transformations are applied
2017-01-10It is now possible to name layers of different kinds!Juan Linietsky
2017-01-10Various corrections in 2D math.Ferenc Arn
This is the follow up for the 2D changes mentioned in PR #6865. It fixes various mistakes regarding the order of matrix indices, order of transformation operations, usage of atan2 function and ensures that the sense of rotation is compatible with a left-handed coordinate system with Y-axis pointing down (which flips the sense of rotations along the z-axis). Also replaced float with real_t, and tried to make use of Matrix32 methods rather than accessing its elements directly. Affected code in the Godot code base is also fixed in this commit. The user code using functions involving angles such as atan2, angle_to, get_rotation, set_rotation will need to be updated to conform with the new behavior. Furthermore, the sign of the rotation angles in existing 2D scene files need to be flipped as well.
2017-01-10Merge pull request #7491 from BastiaanOlij/tools-no-fixesRémi Verschelde
Few small fixes so tools=no and target=release compiles
2017-01-10Merge pull request #7490 from touilleMan/issue-7481Rémi Verschelde
Remove deprecated Vector2.floorf method