summaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.h
AgeCommit message (Collapse)Author
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
2015-03-22fixes to new window management APIJuan Linietsky
-needs testing on Linux -needs testing on Windows -NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
2015-02-12fix get_joy_name() on windowsHinsbart
2014-12-02-Ability to ask for documents/pictures/etc system dirs.Juan Linietsky
-Fixes to animationplayer -fixes to collada importer
2014-09-22-variables with export in script are now IMMEDIATELY AND ALWAYS visible in ↵Juan Linietsky
properties (#718) -WorldEnvironment cleanup issues fixed (#563) -Text Editor improvement to shift-mouse selection (#648) -(Hopefully) fixed rare (but horrible) indexing bug in GDScript compiler (#652) -Some changes to PhysicsBody API, renamed property "active" to "sleeping", which makes more sense -Added add_collision_exception() API in PhysicsBody (more accessible) -ability to select and copy in the output messages panel
2014-09-19- more fixes on #672 on windowsJuan Linietsky
- added #660, but need help on osx, help please I don't have a mac! - fixed #667 and #668 (eol detection in comments) - added #670 (hint when using method without () )
2014-09-023D Physics and Other StuffJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -New Vehicle (Based on Bullet's RaycastVehicle) - Vehiclebody/VehicleWheel. Demo will come soon, old vehicle (CarBody) will go away soon too. -A lot of fixes to the 3D physics engine -Added KinematicBody with demo -Fixed the space query API for 2D (demo will come soon). 3D is WIP. -Fixed long-standing bug with body_enter/body_exit for Area and Area2D -Performance variables now includes physics (active bodies, collision pairs and islands) -Ability to see what's inside of instanced scenes! -Fixed Blend Shapes (no bs+skeleton yet) -Added an Android JavaClassWrapper singleton for using Android native classes directly from GDScript. This is very Alpha!
2014-08-01Small Issues & MaintenanceJuan Linietsky
-=-=-=-=-=-=-=-=-=-=-=-=-= -Begin work on Navigation Meshes (simple pathfinding for now, will improve soon) -More doc on theme overriding -Upgraded OpenSSL to version without bugs -Misc bugfixes
2014-04-18-Fixed viewport stretch bugsJuan Linietsky
-Fixed input in viewport stretch bugs -Fixed tilemap pixel overlap (really?)