Juan Linietsky
52e2a1e98d
fixed to 2D physics, makes it work again
2017-01-15 09:50:27 -03:00
Juan Linietsky
5dde810aa5
no more errors related to missing GlobalConfig::Get (or so I hope)
2017-01-14 21:57:22 -03:00
Rémi Verschelde
d4eb8ec884
Merge pull request #7127 from BastiaanOlij/ios_meters
...
Core motion implementation for iPhone (Accelerometer/Gyro/Magnetometer support)
2017-01-15 00:08:46 +01:00
Rémi Verschelde
93ab45b6b5
Style: Fix whole-line commented code
...
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-14 14:52:23 +01:00
Rémi Verschelde
7b9f2d9929
Finish renaming *Frame GUI classes to *Rect
...
ReferenceFrame had been overlooked, and the cpp files still used the old
names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14 10:52:54 +01:00
Juan Linietsky
d9d77291bc
rename String.extension() -> String.get_extension() / String.basename() -> String.get_basename()
2017-01-14 00:51:09 -03:00
Juan Linietsky
a97551902e
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
2017-01-13 19:24:28 -03:00
Rémi Verschelde
f19fd7a4c1
Reenable node name case setting + code cleanups
...
The method _generate_serial_child_name is indeed called relatively often
in editor mode, but that commented out code chunk hardly adds to its
slowness (and with the default setting, not at all).
Also did various related code cleanups and simplifications.
2017-01-13 22:38:43 +01:00
Juan Linietsky
e53c247cb1
Created new Engine singleton, and moved engine related OS functions to it.
2017-01-13 12:51:14 -03:00
BastiaanOlij
5e4dcb3b7f
Added support for getting gravity vector from iOS
2017-01-12 16:37:27 +11:00
Juan Linietsky
b7d69c2444
Added a BACK notification besides QUIT, so they go in separate channels.
2017-01-11 16:42:31 -03:00
Juan Linietsky
bc26f90581
Type renames:
...
Matrix32 -> Transform2D
Matrix3 -> Basis
AABB -> Rect3
RawArray -> PoolByteArray
IntArray -> PoolIntArray
FloatArray -> PoolFloatArray
Vector2Array -> PoolVector2Array
Vector3Array -> PoolVector3Array
ColorArray -> PoolColorArray
2017-01-11 00:52:51 -03:00
Andreas Haas
d963fa9a01
More fixes to Joypad renaming.
...
Windows did not compile anymore because DI8DEVTYPE_JOYPAD obviously isn't defined in the directx headers ^^
I also did the same renaming as in #7473 for the windows platform and reverted the changes in the gamepad
mappings.
2017-01-08 23:52:49 +01:00
Rémi Verschelde
8b7a86ec7b
Move tests again from core to main
...
As advised by @reduz, as tests depend on other libs.
2017-01-08 21:33:37 +01:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03:00
Rémi Verschelde
790f629e5e
Move core engine tests to core/
2017-01-08 14:08:18 +01:00
Juan Linietsky
2ab83e1abb
Memory pool vectors (DVector) have been enormously simplified in code, and renamed to PoolVector
2017-01-07 18:26:38 -03:00
Juan Linietsky
53ce643e52
-Changed memory functions, Memory::alloc_static*, simplified them, made them aligned to 16
...
-Changed Vector<> template to fit this.
2017-01-06 10:15:44 -03:00
Juan Linietsky
0f7af4ea51
-Changed most project settings in the engine, so they have major and minor categories.
...
-Changed SectionedPropertyEditor to support this
-Renamed Globals singleton to GlobalConfig, makes more sense.
-Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-05 09:16:00 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
...
All usages of "type" to refer to classes were renamed to "class"
ClassDB has been exposed to GDScript.
OBJ_TYPE() macro is now GDCLASS()
2017-01-02 23:03:46 -03:00
Juan Linietsky
ce26eb74bc
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-02 19:12:25 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
2017-01-01 22:03:33 +01:00
Rémi Verschelde
f0f04d5082
Merge pull request #6862 from Faless/fix_6388
...
Fix Keyboard Input Hangs when using modifiers
2016-11-11 10:47:10 +01:00
Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
George Marques
411faaa6f4
Rename remaining WinRT references to UWP
2016-11-03 14:51:08 -02:00
George Marques
b113c7b7a3
Rename WINRT_ENABLED to UWP_ENABLED
2016-11-03 14:51:08 -02:00
Tim Roes
c34aa331ec
Fix typos and missing newlines in --help
2016-11-03 16:27:40 +01:00
Rémi Verschelde
d4c17700aa
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-01 00:35:16 +01:00
Juan Linietsky
ab4126f510
Merge branch 'master' of https://github.com/godotengine/godot
2016-10-30 09:00:45 -03:00
Fabio Alessandrelli
17d7e6a142
Fix Keyboard Input Hangs when using modifiers
...
Main input parsing loop only update actions for keyboard if the state has changed.
`InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed.
Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs.
Fixes #6388 .
2016-10-19 17:52:49 +02:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Andreas Haas
fa502b7ccc
Allow whitespace in Gamepad mappings.
...
Previously, mappings that contained whitespace (most likely after a comma seperator) would not parse
correctly.
Consider the following mapping as an example:
"_test_guid_, test controller, a:b0, b:b1, leftx:a0 ,"
2016-10-15 17:55:15 +02:00
Rémi Verschelde
b675710b46
Merge pull request #6677 from J08nY/issue-pck-packer
...
PCKPacker: Move to core from tools, fixes #4129
2016-10-03 12:06:19 +02:00
Rémi Verschelde
90f4e76a46
Merge pull request #6479 from RandomShaper/improve-debug-focus
...
Improve debug focus behavior
2016-10-03 11:36:01 +02:00
J08nY
b1fba2e013
PCKPacker: moved from tools into core, fixes #4129
2016-10-01 22:07:07 +02:00
Rémi Verschelde
73a7b91459
Merge pull request #6568 from Hinsbart/joy_names
...
Add functions to get readable names for joystick events
2016-09-26 12:45:31 +02:00
Andreas Haas
e0fcd9331a
Add function to get readable names for joystick events
...
Closes #6476
2016-09-20 23:36:09 +02:00
Juan Linietsky
8b15b26eed
Click the inspected objet name to see all subresources.
2016-09-17 19:01:47 -03:00
Rémi Verschelde
1830b80719
Merge pull request #6504 from Hinsbart/joy_axis
...
Fix input action pressed state not changing for quick joystick moveme…
2016-09-17 18:37:15 +02:00
Andreas Haas
84783fe77b
Fix input action pressed state not changing for quick joystick movements.
...
fixes #6488
Also removes a bunch of dead code related to checking if a joystick axis is pressed.
2016-09-15 19:30:35 +02:00
Juan Linietsky
a75f5f039e
Added API version and hashing to ObjectTypeDB
2016-09-14 19:37:37 -03:00
Pedro J. Estébanez
66dac878ac
Improve debug focus behavior
...
Fix focusing debugged game on Windows
Add re-focusing editor on continue
2016-09-14 04:02:18 +02:00
Juan Linietsky
7a27d5d9e7
Merge pull request #6363 from vnen/winrt
...
Fix the support for WinRT/UWP
2016-09-10 11:47:42 -03:00
Juan Linietsky
c2b70fdd69
Merge pull request #6413 from caryoscelus/script_load_singletons
...
enable autoload for command-line scripts
2016-09-10 11:47:12 -03:00
George Marques
365f3d7a6e
Merge pull request #6442 from RandomShaper/fix-action-release
...
Fix Input.action_release() marking action as pressed
2016-09-10 11:12:59 -03:00
Pedro J. Estébanez
fae6dbc7f3
Fix Input.action_release() marking action as pressed
2016-09-10 04:57:21 +02:00
Andreas Haas
20bad652ef
x11: fix x360 wireless gamepad mapping.
...
Uses hat values instead of buttons for the dpad now.
Fixes #6419
2016-09-08 13:54:41 +02:00
caryoscelus
8ddc0b697b
enable autoload for command-line scripts
...
fixes #6360
2016-09-06 21:41:03 +03:00