aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add API to access battery power stateJulian Murgia2017-03-041-0/+14
| | | | | | | | | | | | | | 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
* Merge pull request #7854 from neikeq/pr-execute-iterRémi Verschelde2017-02-261-3/+3
|\ | | | | Replace misuse of list iteration
| * Replace misuse of list iterationIgnacio Etcheverry2017-02-201-3/+3
| |
* | Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde2017-02-261-6/+5
|\ \ | | | | | | Windows: Close audiodriver sooner on exit
| * | Windows: Close audiodriver sooner on exitHein-Pieter van Braam2017-02-191-6/+5
| |/ | | | | | | | | | | | | | | In #7839 I see the same error that was fixed in #7833 occuring on the Windows platform. This moves the audio driver closing to the same place in OS_Windows::finalize() as it is in OS_X11::finalize() This fixes #7839
* / -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-211-1/+1
|/ | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Merge pull request #7782 from SaracenOne/windows_relative_cursor_fixRémi Verschelde2017-02-121-2/+3
|\ | | | | Fix relative cursor data in CAPTURED mouse mode on Windows.
| * Fix glitches when sampling relative cursor data in CAPTURED mouse mode on ↵Saracen2017-02-111-2/+3
| | | | | | | | Windows.
* | Merge pull request #7771 from Limb/winaudiodriverRémi Verschelde2017-02-121-0/+5
|\ \ | | | | | | Close out audio drivers when exiting on Windows.
| * | Close out audio drivers when exiting.Kenneth Lorthioir2017-02-091-0/+5
| |/ | | | | | | Prevents a crash when closing the project manager.
* | Merge pull request #7770 from Limb/removedx9Rémi Verschelde2017-02-121-7/+0
|\ \ | | | | | | Removed DX9 Rasterizer in windows
| * | Removed DX9 Rasterizer in windows.Kenneth Lorthioir2017-02-091-7/+0
| |/ | | | | | | | | | | 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.
* / Fixed compilation issues with Visual StudioKenneth Lorthioir2017-02-081-0/+5
|/
* Added focus tracking in X11 and Windows classes, added new confined mouse ↵Ilija Boshkov2017-01-251-11/+30
| | | | mode (#7162)
* Merge pull request #7558 from Faless/fix_windows_outputRémi Verschelde2017-01-161-10/+2
|\ | | | | Fix gibberish output for windows/mingw.
| * Fix gibberish output for windows/mingw.Fabio Alessandrelli2017-01-161-10/+2
| | | | | | | | | | | | | | %ls should be used instead of %s or %S to speficy narrow/wide charstring in wprintf fwprintf Fixes #6252
* | Adapt platforms to AudioServer refactoringRémi Verschelde2017-01-161-30/+5
|/ | | | | | Fixes compilation on Windows and likely other platforms (at least as far as AudioServer changes were concerned), though they were not tested.
* Oops! Audio engine has vanished :DJuan Linietsky2017-01-151-5/+5
|
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-12/+16
| | | | | 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.
* rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* More fixes to Joypad renaming.Andreas Haas2017-01-081-1/+1
| | | | | | 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.
* renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-5/+5
|
* Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-081-1/+1
| | | | | | | | 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.
* Added missing readers writers lock to windows, should compile and run again..Juan Linietsky2017-01-081-0/+2
|
* fixes compilation in windows?Juan Linietsky2017-01-081-14/+2
|
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-1/+1
| | | | renamed to PoolVector
* -Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky2017-01-061-4/+0
| | | | | | aligned to 16 -Changed Vector<> template to fit this.
* Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2017-01-051-3/+5
|\
| * First set of changes to fix compilation errors and initialise the gles3 ↵BastiaanOlij2017-01-041-3/+5
| | | | | | | | renderer for Mac OS X. Still broken at this point.
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-051-2/+2
|/ | | | | | | | 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
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-12/+25
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Godot works on Windows again..reduz2016-12-211-11/+16
| |
| * 2D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky2016-10-101-0/+9
| | | | | | | | general
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-2/+2
| | | | | | | | | | | | | | | | -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
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
| | | | | | | | | | | | | | | | 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!
* | Fix console output for MinGW compilersRémi Verschelde2016-11-281-2/+10
| | | | | | Reworked patch from @jay3d (#7116).
* | vsnc --> vsyncISylvox2016-11-081-1/+1
| |
* | Fix the hiding of mouse cursor before interactionGeorge Marques2016-10-201-2/+5
| | | | | | | | Fix part of #6633
* | Isolate XAudio2 driverGeorge Marques2016-10-171-0/+3
| | | | | | | | | | 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.
* | Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-141-1/+0
|/
* Merge pull request #6479 from RandomShaper/improve-debug-focusRémi Verschelde2016-10-031-1/+6
|\ | | | | Improve debug focus behavior
| * Improve debug focus behaviorPedro J. Estébanez2016-09-141-1/+6
| | | | | | | | | | Fix focusing debugged game on Windows Add re-focusing editor on continue
* | Windows: prevent huge prints from crashing the engineMarc Gilleron2016-09-291-2/+5
|/
* Hide the mouse cursor when MOUSE_MODE_CAPTURED is activated.Mario Schlack2016-08-291-0/+2
|
* Windows: Make alert message box use MB_TASKMODALRémi Verschelde2016-07-261-1/+1
| | | | | | | This flag pauses the current running thread, allowing for the user to see the alert and acknowledge it before the thread continues (and e.g. crashes :)). Thanks to @SuperUserNameMan for finding it. Ref: https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
* Avoid changing position when the window is fullscreenGeorge Marques2016-07-241-0/+1
|
* Merge pull request #5841 from vnen/fix-windows-wheelRémi Verschelde2016-07-211-4/+7
|\ | | | | Fix mouse wheel event position on Windows
| * Fix mouse wheel event position on WindowsGeorge Marques2016-07-211-4/+7
| |
* | Merge pull request #5560 from vnen/os-request-attentionRémi Verschelde2016-07-211-0/+11
|\ \ | |/ |/| Add OS.request_attention() for Windows
| * Add OS.request_attention() for WindowsGeorge Marques2016-07-051-0/+11
| |