summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
AgeCommit message (Collapse)Author
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06Revert "8145 - Mouse Position is unknown until first mouse event on X11"Juan Linietsky
2017-04-04Merge pull request #8246 from GodotNativeTools/dlscript-moduleRémi Verschelde
DLScript module
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-288145 - Mouse Position is unknown until first mouse event on X11 & WinSergey Pusnei
- X11 update input->pos on EnterNotify - X11 & Win call first-time events processing before main initialization
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-26Merge pull request #7854 from neikeq/pr-execute-iterRémi Verschelde
Replace misuse of list iteration
2017-02-26Merge pull request #7848 from hpvb/fix-7839Rémi Verschelde
Windows: Close audiodriver sooner on exit
2017-02-21-renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky
modified files) -.pck and .zip exporting redone, seems to be working..
2017-02-20Replace misuse of list iterationIgnacio Etcheverry
2017-02-19Windows: Close audiodriver sooner on exitHein-Pieter van Braam
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
2017-02-12Merge pull request #7782 from SaracenOne/windows_relative_cursor_fixRémi Verschelde
Fix relative cursor data in CAPTURED mouse mode on Windows.
2017-02-12Merge pull request #7771 from Limb/winaudiodriverRémi Verschelde
Close out audio drivers when exiting on Windows.
2017-02-12Merge pull request #7770 from Limb/removedx9Rémi Verschelde
Removed DX9 Rasterizer in windows
2017-02-11Fix glitches when sampling relative cursor data in CAPTURED mouse mode on ↵Saracen
Windows.
2017-02-09Close out audio drivers when exiting.Kenneth Lorthioir
Prevents a crash when closing the project manager.
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-16Merge pull request #7558 from Faless/fix_windows_outputRémi Verschelde
Fix gibberish output for windows/mingw.
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-16Fix gibberish output for windows/mingw.Fabio Alessandrelli
%ls should be used instead of %s or %S to speficy narrow/wide charstring in wprintf fwprintf Fixes #6252
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
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-13rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky
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-08Added missing readers writers lock to windows, should compile and run again..Juan Linietsky
2017-01-08fixes compilation in windows?Juan Linietsky
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-06-Changed memory functions, Memory::alloc_static*, simplified them, made them ↵Juan Linietsky
aligned to 16 -Changed Vector<> template to fit this.
2017-01-05Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
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
2017-01-04First set of changes to fix compilation errors and initialise the gles3 ↵BastiaanOlij
renderer for Mac OS X. Still broken at this point.
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-28Fix console output for MinGW compilersRémi Verschelde
Reworked patch from @jay3d (#7116).
2016-11-08vsnc --> vsyncISylvox
2016-10-20Fix the hiding of mouse cursor before interactionGeorge Marques
Fix part of #6633
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-10-14Drop nedmalloc which is apparently not used anymoreRémi Verschelde
2016-10-102D Shaders are working again using the new syntax, though all is buggy in ↵Juan Linietsky
general
2016-10-03Begining of GLES3 renderer:Juan Linietsky
-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-03Merge pull request #6479 from RandomShaper/improve-debug-focusRémi Verschelde
Improve debug focus behavior
2016-09-29Windows: prevent huge prints from crashing the engineMarc Gilleron