summaryrefslogtreecommitdiff
path: root/main
AgeCommit message (Collapse)Author
2017-07-11OUYA Controller for Version 3.0 input_default.cppCorruptinator
OUYA Game Controller for the Godot Game Engine version 3.0, allows the controller to be implemented in the if (ANDROID) part within input_default.cpp, hopefully fixing the problem that originated from #9390 on version 2.1.4 BETA as well.
2017-06-28Reworked translation systemJuan Linietsky
-Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
2017-06-26-Fixed SCREEN_TEXTURE and other related 2D shader parameters.Juan Linietsky
-Fixded BackBuffercopy object
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-06-22Fix possible crash in joy_axis (fixes #4944).Marcelo Fernandez
2017-06-16Godot 3.0 primitives as resources for use with MeshInstanceBastiaanOlij
Adds the following resources: - CapsuleMesh: a capsule object - CubeMesh: a cube that can be subdivided - CylinderMesh: a cylinder - PlaneMesh: a horizontal plane that can be subdivided - PrismMesh: a prism shape - SphereMesh: a sphere - QuadMesh: reintroduction of the original quadmesh Removes the old Quad and TestCube nodes
2017-06-10Fix `network/debug/remote_port` editor setting not working properlyFabio Alessandrelli
2017-06-04renamed all Rect2.pos to Rect2.positionalexholly
2017-06-03InputEvent: Renamed "pos" property to "position"Andreas Haas
Make the naming consistent with other classes.
2017-05-28-Added .hdr format supportJuan Linietsky
-Added default environment editor setting -Added environment created by default in new projects -Removed default light and ambient from spatial editor, to make the editor more PBR compliant
2017-05-27Fix InputEvent actions.Andreas Haas
The `InputEvent::is_action(pressed|released)` methods weren't implemented yet. Also fixed a typo in `InputDefault` that prevented `Input.is_action(pressed|released)` from working.
2017-05-25Fix echo key event handling.Andreas Haas
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Use new Godot icon consistently everywhereRémi Verschelde
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-05-09Allow selecting editor debug host and port.Fabio Alessandrelli
Possibly fixes various editor<->debugger connection related problems.
2017-05-01Rename project file to "project.godot"Rémi Verschelde
Slimmed down variant from the reverted #8375. The rationale behind the name change is to give Godot's project file a unique extension (".godot") that can be registered on the OS to be associated with the Godot binary (OS registration not implemented here). This PR also adds the possibility to start the game or editor if launched with the project.godot passed as argument, which paves the way for allowing a similar behaviour on a double-click in the OS file manager (code originally by @Hinsbart). Closes #6915.
2017-04-29Revert "Use .godot as file extension for project files."Juan Linietsky
2017-04-24Merge pull request #8277 from tagcup/math_checksRémi Verschelde
Added various functions basic math classes. Also enabled math checks …
2017-04-23Fix property warnings and hide some debug printsRémi Verschelde
"ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
2017-04-17Merge pull request #8375 from Hinsbart/project_extensionRémi Verschelde
Use .godot as file extension for project files.
2017-04-16[GD 3.0] Fix stretch mode 2d... againShockblast
Objects on the screen were not displayed when the project was played, because it looked for the values of width and height of menus with old names (godot 2.1?) For that reason delivered value (0, 0).
2017-04-16Use .godot as file extension for project files.Andreas Haas
Now project files don't have to be named "godot.cfg" anymore, they can have any name so as long as it ends with *.godot. Also godot will automatically start the editor now if launched with a project file as an argument. This allows for double-clicking of projects to open them :) Code-wise this should be complete, but there's still work to do: - Make a nice icon for godot projects. - Work on installers/packaging -> register the extension and icon with godot. - Update the 2.1 to 3.0 exporter. Tested on linux and windows so far.
2017-04-10Fix joystick crash when mapping is -1darkoff9
2017-04-10Re-add ouya gamepad mapping.Andreas Haas
Also adds yet another type of ps4 controller.
2017-04-10Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei
Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
2017-04-09Restored (And auto-generated) splash imageJuan Linietsky
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-07Merge pull request #8308 from RandomShaper/optimize-out-debug-n-non-toolsRémi Verschelde
Optimize-out some debug and/or non-tools methods
2017-04-07Optimize-out some debug and/or non-tools methodsPedro J. Estébanez
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible. is_node_being_edited() already showed a similar optimization effort and has been adapted to this change. Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds. This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
2017-04-06New particle system, mostly working, some small features missing.Juan Linietsky
2017-04-06Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn
for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
2017-04-03Fix warped mouse panning on LinuxPedro J. Estébanez
Fix/improve it also on certain edge cases for any platform
2017-04-02Input: Update Gamepad mappings.Andreas Haas
2017-03-31Initialize hat values for mapping and revert X360 mappings.Jordan Patterson
2017-03-26Input: Remove usage of platform dependent event IDs.Andreas Haas
The ID property for InputEvents is set by `SceneTree` when sending the event down the tree. So there's no need for the platform specific code to set this value when it will later be overriden anyway...
2017-03-24Merge pull request #8137 from Hinsbart/mbutton_posRémi Verschelde
Input: Update mouse position on mouse-button events.
2017-03-24Merge pull request #8109 from RandomShaper/warped-panningRémi Verschelde
Implement warped mouse panning for 2D & 3D editors
2017-03-24Input: Update mouse position on mouse-button events.Andreas Haas
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-22Implement warped mouse panning for 2D & 3D editorsPedro J. Estébanez
Enabled by default as in Blender, but can be disabled separately for 2D & 3D; the core functionality is in Input so this could be reused or even exposed to scripts in the future
2017-03-19Input: bind parse_input_event()Andreas Haas
When using get_tree().input_event(ev), the engine will JUST send the event down the SceneTree. However, you won't get any of the benefits of the Input singleton: - No InputMap actions will be emitted - The internal input state won't be modified, so methods like `Input.get_mouse_pos()` or `Input.is_joy_button_pressed` won't return the expected output after sending the event. This is fixed by using `Input.parse_input_event(ev)` instead. I guess we'll also have to update the docs to reflect that this is the preferred method of sending custom InputEvents.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
2017-03-04Implements modules documentsGeequlim
Editor can generate documents for modules in thier own xml files
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-26Merge pull request #7862 from Hinsbart/joypad_connectionsRémi Verschelde
Better handling of joypad device IDs.
2017-02-26Better handling of joypad device IDs.Andreas Haas
Now InputDefault is responsible for giving out joypad device IDs to the platform, instead of each platform handling this itself. This makes it possible for c++ modules to add their own "custom" gamepad devices, without the risk of messing up events in case the user also has regular gamepads attached (using the OS code). For now, it's implemented for the main desktop platforms. Possible targets for future work: android, uwp, javascript
2017-02-26Merge pull request #7851 from shlomif/fix-some-compilation-warningsRémi Verschelde
Get rid of some compilation warnings.