summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.h
AgeCommit message (Collapse)Author
2017-07-09Fixed issues with borderless windows on WindowsMarcelo Fernandez
2017-05-23Fix a few issues compiling windows and using VS2015 and earlierBastiaanOlij
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
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-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-03added dlscript moduleKarroffel
This module was written by bojidar-bg and me, with the help of ClikCode and touilleMan. This adds a module to Godot that enables the use of dynamic libraries as a source for scripts. That also allows third party libraries to be linked to Godot more easily and without creating modules. For a readme see https://github.com/GodotNativeTools/godot_headers/blob/master/README.md
2017-03-29Added methods for opening dynamic libraries to OSKarroffel
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-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-04Add API to access battery power stateJulian Murgia
Done: - X11, server (tested) - Windows (developed, would be nice to retest) - OSX (not tested) Prepared (not developed): - Android (code is here, but may not compile) - iphone - winrt - bb10 - haiku - javascript
2017-02-12Merge pull request #7770 from Limb/removedx9Rémi Verschelde
Removed DX9 Rasterizer in windows
2017-02-09Removed DX9 Rasterizer in windows.Kenneth Lorthioir
This doesn't seem to be needed anymore and the code to free the unused rasterizer was throwing a memory violation since it was getting set to a value somehow.
2017-02-08Fixed compilation issues with Visual StudioKenneth Lorthioir
2017-01-25Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov
mode (#7162)
2017-01-16Adapt platforms to AudioServer refactoringRémi Verschelde
Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
2017-01-08More fixes to Joypad renaming.Andreas Haas
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-08renamed joystick to joypad everywhere around source code!Juan Linietsky
2017-01-08Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde
Passed as a compiler define to be sure it is always define before windows.h is loaded. This means that Godot officially requires Vista API or later, it will not work on Windows XP or earlier. Also fix a bogus check for Windows 7 API.
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2017-01-01Welcome in 2017, dear changelog reader!Rémi Verschelde
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!
2016-12-21Godot works on Windows again..reduz
2016-11-08vsnc --> vsyncISylvox
2016-10-17Isolate XAudio2 driverGeorge Marques
Now it's possible to compile for Windows platform if wanted. It's supported only for Windows 8 or later, so it's not enabled by default.
2016-09-14Improve debug focus behaviorPedro J. Estébanez
Fix focusing debugged game on Windows Add re-focusing editor on continue
2016-07-21Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde
Add OS.request_attention() for Windows
2016-07-10Merge pull request #5525 from SuperUserNameMan/window_get_latin_kb_variantJuan Linietsky
windows get_latin_keyboard_variant() implementation and gdscript binding, #5503
2016-07-05Add OS.request_attention() for WindowsGeorge Marques
2016-07-03windows get_latin_keyboard_variant() implementation and gdscript bindingSuperUserNameMan
2016-07-01Windows: prevent freeze while moving or resizing the game window.Andreas Haas
When moving or resizing the window, Windows spins up a seperate event-loop, effectively blocking the normal one. To work around this, we're starting a timer that will continue sending WM_TIMER messages which we can use to keep the mainloop running. fixes #4695
2016-06-05vsync supportJuan Linietsky
-works on windows -may not work on X11, if so please fix -OSX does not seem to support disabling vsync
2016-05-29DPI Detection supportJuan Linietsky
Windows only for now. Many builds may break (older visual studio, mingw32)
2016-05-21remove trailing whitespaceHubert Jarosz
2016-05-09Cursor hides only in client areaMattias Cibien
At the moment is however restored when going out and then in again.
2016-04-29Implement OS.get_process_ID for WindowsGeorge Marques
Based on code by @ratsdiov. Closes #1733
2016-03-12Borderless window support for the Win32 build. Default window position is ↵Saracen
now also centred.
2016-03-09remove trailing whitespaceHubert Jarosz
2016-02-04support horizontal mouse wheel, use in text editorhondres
2016-01-12Merge pull request #3272 from Hinsbart/joy-bindingpunto-
Add some joystick functions to input. Enables manipulation of mapping…
2016-01-10-Removed OS.get_system_time_msec(), this is undoable on Windows and also ↵Juan Linietsky
unusable from GDscript due to precision. -Added, instead an OS.get_system_time_secs(), which is 32 bits friendly, fixes #3143
2016-01-08Add some joystick functions to input. Enables manipulation of mappings at ↵hondres
runtime
2016-01-01Update copyright to 2016 in headersGeorge Marques
2015-12-18Better gamepad supporthondres
2015-09-24Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky
2015-08-06Add OS.get_system_time_msecMaximillian
2015-06-07Fix windows compilabilityest31
2015-06-06Add utc param to get_time and get_date methodsest31
If utc == false, we return the local time, like before. Otherwise, we return UTC time. utc defaults to false to not break behaviour.
2015-05-26ability to run 2D physics in a threadJuan Linietsky
also, 2D physics is now thread safe too. see physics_2d/thread_model
2015-04-18Updated copyright year in all headersJuan Linietsky
2015-03-23window managements functions workJuan Linietsky
but still side-functions, all API needs to be migrated to them