Rémi Verschelde
3102dc17ee
Merge pull request #13437 from xsellier/bugfix/mouse-cursor-lag
...
Implement hardware cursor acceleration for Godot Engine 2.1
2018-01-03 08:36:44 +01:00
Rémi Verschelde
2712014744
Update copyright statements to 2018
...
Happy new year to the wonderful Godot community!
2018-01-02 11:27:24 +01:00
Xavier Sellier
377fdc1e33
Hardware cursor implementation for Godot Engine 2.1
...
- Remove all references to the variable 'custom_mouse_cursor_hotspot' and 'custom_mouse_cursor' from the project settings.
- Indeed, to implement a custom cursor we need to define a sprite for each 'state' of the cursor. Using those variables in the projects settings would define only the _main_ cursor.
- Cleanup the VirtualServer (Remove references to cursor_set_visible, cursor_set_texture and cursor_set_pos)
- Cleanup the Input (set_mouse_in_window should not be used anymore)
- Update the documentation
- Implement it for windows, X11, Javascript, BB 10, OSx, iOS, server, android
- NOT IMPLEMENTED FOR WINRT (As of today, I'm not able to implement this one, this post might help)
- NOT IMPLEMENTED FOR HAIKU (Support of this platform seems perfunctory)
- Build it for Windows, Android and OSX
2017-12-15 11:37:36 -05:00
Xavier Sellier
487773ed24
Remove funny output during when exporting a project or loading Godot Engine
2017-12-11 11:13:04 -05:00
Rémi Verschelde
6a4e7198c5
Style: apply clang-format (5.0.0) to current source
2017-12-11 15:31:49 +01:00
Rémi Verschelde
9d598833d2
Use HTTPS URL for Godot's website in the headers
2017-08-27 14:11:45 +02:00
Rémi Verschelde
886c7d82d0
Re-apply clang-format to all files
...
Some badly formatted code has managed to pass through our CI...
2017-08-27 14:11:11 +02:00
AlexHolly
b18049c2aa
fix dummy rasterizer
2017-08-24 15:13:37 +02:00
Marcelo Fernandez
647c4ae5bf
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 12:10:21 -03:00
Rémi Verschelde
938dc07b2b
Merge pull request #7912 from RandomShaper/pause-rasterizer-2.1
...
Implement time scaling for the rasterizer (2.1)
2017-08-17 11:43:58 +02:00
Pedro J. Estébanez
184ef18420
Add optimizing AT_LIGHT_PASS builtin to canvas shaders
...
This one allows for complex shaders paired with a simple lighting shader to skip code that would otherwise be pointlessly (and wastefully) run during the light pass.
You can use `if (AT_LIGHT_PASS) , negated or not, and that will be converted to a preprocessed #if when the shader is compiled.
Depending on your game (number of items and lights), this can be a *significant* performance gain, or at least avoids relying on the driver's optimizing abilities.
2017-06-15 02:03:25 +02:00
Rémi Verschelde
e9b045d9e5
Add "Godot Engine contributors" copyright line
2017-04-08 00:45:24 +02:00
Pedro J. Estébanez
b4119f4fe9
Implement time scaling for the rasterizer
...
which affects 3D particles and the TIME uniform
2017-03-20 19:58:22 +01:00
Rémi Verschelde
f8db8a3faa
Bring that Whole New World to the Old Continent too
...
Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6
.
2017-03-19 00:36:26 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
Pedro J. Estébanez
1e79f80b90
Finish fix for POSITION in 2D shaders
2017-03-06 18:31:29 +01:00
Rémi Verschelde
d8223ffa75
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!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Patrick Reh
ff3891f88e
small improvement to y_sort: make clear which item has to be drawn first when two have the same y-coordinate
...
(cherry picked from commit 4118b21e43
)
2017-01-12 19:15:27 +01:00
Rémi Verschelde
e259bf8bbb
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-02 22:28:28 +01:00
Rémi Verschelde
1185da656f
Merge pull request #6988 from RandomShaper/2.1
...
Fix shader tokenizer/compiler reporting wrong error location (2.1)
2016-11-02 22:10:00 +01:00
Pedro J. Estébanez
887b1de1db
Add/expose VisualServer::get_default_clear_color()
...
(cherry picked from commit 753ba67d65
)
2016-10-31 00:00:55 +01:00
Pedro J. Estébanez
a130520a7c
Fix shader tokenizer/compiler reporting wrong error location
...
Raname shader tokenizer methods for clarity
2016-10-30 22:09:23 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Ovnuniarchos
5653ac41f9
Mouse hotspot is not honored.
...
(cherry picked from commit 8fcd92c38a
)
2016-09-18 23:15:32 +02:00
Pedro J. Estébanez
c44757c2b7
Expose light shadow color to canvas item shaders
...
(cherry picked from commit 0960887625
)
2016-09-18 23:11:08 +02:00
Juan Linietsky
0e6e0ed0e5
Merge pull request #5533 from Hinsbart/cursor_atex
...
Can use AtlasTextures as custom mouse cursor.
2016-07-10 12:41:57 -03:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Andreas Haas
91add16300
Can use AtlasTextures as custom mouse cursor.
...
fixes #3957
2016-07-03 19:36:12 +02:00
Rémi Verschelde
c3bf11d4d4
Drop fully commented-out files
...
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Juan Linietsky
d3495b128a
-Improve resource previews
...
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Juan Linietsky
89d87294db
ability to shrink all images x2 on load
...
this is for extreme cases when running on devices with very low video
memory, so you can still retain compatibility.
2016-05-04 12:37:07 -03:00
Rémi Verschelde
aec4f57f95
Merge pull request #3528 from SaracenOne/baked_light_realtime_colourize
...
Ability to colourize baked lighting in real time.
2016-03-15 10:22:09 +01:00
Saracen
24bc7d8db7
Fix 'FLAG_RECEIVE_SHADOWS' flag for GeometryInstances so that turning it off now correctly disables shadows from affecting the instance.
2016-03-12 16:51:17 +00:00
Hubert Jarosz
7b07bcaf44
fix six possible "divide by zero"
2016-03-09 00:18:23 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Saracen
7fecebd8a8
Added extra controls to GeometryInstances to control how they should cast shadows: double-sided and shadows only.
...
Conflicts:
servers/visual/visual_server_raster.h
2016-03-07 23:14:14 +00:00
Nuno Donato
2d1de83434
refix particles3d issue, bringing down the amount limit to 1024
2016-02-16 08:56:31 +00:00
Nuno Donato
b3fadd66c8
* raised the max amount of particles to match the max number allowed in the inspector (prevents crash)
2016-02-12 11:45:26 +00:00
Saracen
de5281c398
Ability to colourize baked lighting in real time.
2016-02-06 18:03:20 +00:00
Juan Linietsky
199a29b353
Merge pull request #3184 from vnen/update-copyright-2016
...
Update copyright to 2016 in headers
2016-01-01 11:03:29 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
7879efc50b
Make both lights and occluders stop working if hidden, fixes #2437
2016-01-01 10:45:24 -03:00
Juan Linietsky
428984ec0c
-New mask mode for lights, makes using masks MUCH easier.
2015-12-08 20:25:08 -03:00
Juan Linietsky
38ab47d2f9
Merge pull request #2865 from hurikhan/pr_fix_2791
...
Added additional token checks for the shader if..else.. statement.
2015-12-08 17:09:58 -03:00
Juan Linietsky
4b1f0afb01
-several fixes to Android to work better on Tegra 3/4 devices, uses 16 bits FBOs so all 2D shader effects should now work in every single Android device.
2015-12-02 11:15:48 -03:00
Andrea Chua
67a1c3f136
Bug Fix #2541 : Shader language function validation logic
...
ensures that it finds the correct function to validate.
2015-11-27 21:27:06 +08:00