Rémi Verschelde
2a0ddc1e89
Style: Various fixes to play nice with clang-format
2017-01-16 08:49:52 +01:00
Juan Linietsky
b400c69cd4
Oops! Audio engine has vanished :D
2017-01-15 16:07:51 -03: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
Juan Linietsky
a97551902e
rename Input.get_mouse_speed() to Input.get_last_mouse_speed()
2017-01-13 19:24:28 -03:00
Andreas Haas
4a6428aaee
Rename "joypad_linux" class to "JoypadLinux"
...
Named this class in GodotCase, so it fits with the rest of the codebase.
2017-01-08 22:22:00 +01:00
Juan Linietsky
547a57777b
renamed joystick to joypad everywhere around source code!
2017-01-08 17:06:33 -03: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
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
Gustav Lund
2495e8a941
fix for crash when no ALSA or Pulse installed on linux
2016-12-12 10:47:41 +01:00
Rémi Verschelde
f18470c199
Revert "X11: Fix maximized boot splash"
...
This reverts commit 8d3efe2b7d
.
It introduced crashes for some users when trying to capture
the XConfigureNotify event.
2016-11-23 07:53:31 +01:00
Juan Linietsky
9d635f0629
Migrated from GLES to GLAD, fixes many issues.
2016-11-22 20:51:56 -03:00
Andreas Haas
8d3efe2b7d
X11: Fix maximized boot splash
...
When instructing the window manager to (un)maximize a window, the resulting resolution
is recieved via an XEvent of type "ConfigureNotify".
The problem here was that these events were only handled in the `OS_X11::process_xevents()` method,
which is initially called on the first iteration of the main loop.
Because of this, the VideoMode still hadn't been updated yet when doing the boot splash setup.
2016-11-16 02:04:39 +01:00
ISylvox
b5c383fd61
vsnc --> vsync
2016-11-08 21:06:57 +07:00
Juan Linietsky
22d83bc9f6
Begining of GLES3 renderer:
...
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
Andreas Haas
6fcf2b2bd8
x11: Fix event.is_action() for release of modifier keys
...
The bug was that the release events for these also had the modifier state set, so the event comparison
failed.
Fixes #5901
2016-09-22 12:24:44 +02:00
Andreas Haas
f59860f464
x11: Use proper sonames for loading libXrandr.
2016-08-11 17:40:59 +02:00
Rémi Verschelde
82d18f4c1c
Merge pull request #5845 from hurikhan/x11_cleanup
...
Code cleanup in platform/x11
2016-07-22 08:35:26 +02:00
Mario Schlack
503f9ab9d9
Code cleanup in platform/x11
2016-07-21 21:11:34 +02:00
Mario Schlack
d04ada3973
Implement OS.request_attention() for X11
2016-07-21 19:40:36 +02:00
Juan Linietsky
864c0e84de
line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
...
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky
7e3044981e
Avoid crash if setting modifiers fails, closes #5158
2016-07-08 11:28:09 -03:00
paper-pauper
dd1ad31757
Changes X11 res_name to "Godot_Engine"
...
Add additional/alternative WM_CLASS; only affects the game window, avoids redundancy and allows finer control in WMs (#5265 )
2016-06-25 07:15:21 +02:00
Dennis Brakhane
3d85a14404
fix memset calls
...
Order is "mem, val, count", not "mem, count, val"
2016-06-19 02:07:51 +02:00
Andreas Haas
eaa34f2123
x11: fix XRandr GetMonitors
2016-06-12 15:29:02 +02:00
Andreas Haas
18c941bbec
x11: Implemented dpi detection
...
depends on XRandR.
Had to dynamically load `XRRGetMonitors` as Ubuntu 12.04 doesn't have it.
Also removed libudev from travis install list.
2016-06-09 18:54:06 +02:00
Juan Linietsky
2420e46b44
vsync support
...
-works on windows
-may not work on X11, if so please fix
-OSX does not seem to support disabling vsync
2016-06-05 19:14:33 -03:00
Andreas Haas
2c9b28df13
xdnd: can handle more than 3 different target types
...
Now dropping also works with Nemo and PCManFM(gtk)
2016-05-29 17:40:08 +02:00
Andreas Haas
ae0a59731e
x11: Add support for filesystem drag & drop using xdnd
2016-05-28 21:35:42 +02:00
Ignacio Etcheverry
5907a007dc
x11: Flush the X output buffer after changing mouse mode
2016-04-12 16:20:28 +02:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Rémi Verschelde
cefca4429c
Merge pull request #3575 from Hinsbart/_net_wm_name
...
x11: set _net_wm_name property
2016-02-04 07:19:52 +01:00
hondres
61c1b6f60e
x11: set _net_wm_name property
2016-02-04 00:39:53 +01:00
Rémi Verschelde
c0aade4ba4
Merge pull request #3493 from Hinsbart/wm_class
...
x11: use different strings for WM_CLASS depending on context
2016-02-03 11:30:22 +01:00
hondres
f4fa74fe28
remove pc_joystick_map.h
2016-02-01 14:28:53 +01:00
hondres
11e4c128ac
x11: use different strings for WM_CLASS depending on context
2016-01-27 21:53:37 +01:00
George Marques
f4a39692b9
Change default window size for desktop
...
Fix #3149
2016-01-24 17:52:33 -02:00
hondres
c632c13c66
Add some joystick functions to input. Enables manipulation of mappings at runtime
2016-01-08 00:40:41 +01:00
hondres
c0e4d8fbfd
fix x11 crash on exit
2016-01-05 23:35:54 +01:00
Juan Linietsky
908f75c23f
having active items is pointless in input map
2016-01-03 18:52:42 -03:00
George Marques
5be9ff7b67
Update copyright to 2016 in headers
2016-01-01 11:50:53 -02:00
Juan Linietsky
586e482a98
-Fix parsing of comments in VariantParser, fixes #3175
2015-12-31 10:25:21 -03:00
hondres
541c9039c5
Check pkg-config for libudev and enable gamepad code only if found. Linux only for now
2015-12-21 22:39:03 +01:00
hondres
af633c7941
Better gamepad support
2015-12-18 06:12:53 +01:00
Juan Linietsky
cc7880fba5
-added windowed mode with -w, fixes #3020
...
-changed default windowed resolution to 1280x720
2015-12-12 12:06:53 -03:00
Anton Yabchinskiy
b14c90801f
Disable X11 joystick functions also for OpenBSD
2015-11-20 23:36:34 +03:00
Anton Yabchinskiy
523e64d30b
Include string.h for memset() on OpenBSD
2015-11-20 23:36:14 +03:00
Juan Linietsky
2769da7744
compile fixes
2015-11-19 20:24:43 -03:00
Juan Linietsky
dd09215c90
Revert "libao audio driver"
2015-11-19 20:05:26 -03:00
Juan Linietsky
43ce972ddb
Merge pull request #903 from a12n/libao
...
libao audio driver
2015-11-19 19:31:56 -03:00