summaryrefslogtreecommitdiffstats
path: root/platform/winrt
Commit message (Collapse)AuthorAgeFilesLines
* Rename WinRT files to UWPGeorge Marques2016-11-0316-5318/+0
|
* scons: Reorder options for clarityRémi Verschelde2016-11-031-2/+0
| | | | Also prefix all thirdparty-related toggles with `builtin`.
* style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-011-1/+1
| | | | | | | | | | | | Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-2/+4
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-012-119/+119
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Merge pull request #6855 from vnen/xaudio2-driverRémi Verschelde2016-10-185-357/+3
|\ | | | | Isolate XAudio2 driver
| * Isolate XAudio2 driverGeorge Marques2016-10-175-357/+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.
* | SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
|/ | | | Also switch existing shebangs to "better" /usr/bin/env python.
* zlib: Split thirdparty files, simplify scons optionRémi Verschelde2016-10-151-0/+1
|
* Drop nedmalloc which is apparently not used anymoreRémi Verschelde2016-10-141-1/+0
|
* Change winrt build to be less dependent on ANGLEGeorge Marques2016-09-202-7/+8
| | | | | | | | | Now it does not try to build if the solution is not found. This way it's possible to provide a minimal package with includes and libs and make it build correctly. Also remove messages from detect.py since it is ran for every platform target.
* Fix UWP gamepadGeorge Marques2016-09-121-1/+2
|
* Fix build error in WinRT exportGeorge Marques2016-09-101-10/+10
|
* Add Windows Universal export to editorGeorge Marques2016-09-062-0/+2420
| | | | | | - Use OPENSSL_ENABLED definition to the whole source to detect it anywhere. - Add WinRT/UWP template files with manifest and default images.
* Remove embedded ANGLE headersGeorge Marques2016-09-0315-5943/+0
| | | | | There's now a dependency on external ANGLE code, those are not needed anymore.
* Implement missing WinRT functionsGeorge Marques2016-09-0313-232/+1466
| | | | | | | | - Fix buildsystem for WinRT/UWP platform. - Add audio driver and joystick mapping for WinRT. - Enable thread class for WinRT. - Refactor MSVC compiler architecture detection to methods.py, so it can be used by Windows and WinRT.
* WinRT: Add missing license file for ANGLERémi Verschelde2016-07-142-213/+32
| | | | | Also drop the unused "All rights reserved" FunctionDiscoveryKeys_devpkey.h Fixes #4859.
* Added function to notify ScriptLanguage when a thread is created/freed, ↵Juan Linietsky2016-06-251-0/+2
| | | | allows scripts to allocate a stack there via TLS
* Fixed iCCp chunk in pngsJ08nY2016-06-221-0/+0
| | | | neccesary for libpng 1.6.27 to work silently
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-187-3/+142
| | | Also removes a couple wrong Godot headers from third-party source files.
* Remove trailing spacesRémi Verschelde2016-04-021-5/+5
|
* remove trailing whitespaceHubert Jarosz2016-03-099-69/+69
|
* remove pc_joystick_map.hhondres2016-02-011-1/+0
|
* Remove unnecessary null pointer checksEmmanuel Leblond2016-01-041-2/+1
|
* Update copyright to 2016 in headersGeorge Marques2016-01-012-2/+2
|
* Added missing \n in script error output.ZuBsPaCe2015-11-191-1/+1
|
* Nice error output padding. Code location behind " At: " is now aligned with ↵ZuBsPaCe2015-11-191-3/+3
| | | | the error message above. Also removed the dot after the file location.
* Removed ANSI error codes from windows terminal error output. Windows does ↵ZuBsPaCe2015-11-191-6/+6
| | | | | | | not support them. See: http://stackoverflow.com/questions/16755142/how-to-make-win32-console-recognize-ansi-vt100-escape-sequences See: http://stackoverflow.com/questions/22777142/is-there-a-way-to-make-windows-output-ansi-escape-sequences?lq=1
* Inconsistent code formatting in print_error (Newlines and spaces)ZuBsPaCe2015-11-191-9/+9
|
* Merge pull request #2718 from SaracenOne/audio_system_crash_fixJuan Linietsky2015-11-181-1/+2
|\ | | | | Fixed Audio System Crash
| * Moved deleting sample player in OS finalize methods to before deleting audio ↵Saracen2015-11-021-1/+2
| | | | | | | | server to prevent crash when exiting.
* | Fix error messages forcing a white font for subsequent messagesRémi Verschelde2015-11-101-6/+6
| | | | | | | | | | | | | | | | This is achieved using the "no specific formatting" \E[0m tag. Fixes #2566. Also remove the hardcoded black background colour and use default bolded terminal font for error message. Error logs should now look good both on terminals with a dark and light background colour.
* | Display error type (error, warning, script error) in OS::print_errorRémi Verschelde2015-11-101-8/+18
|/ | | | | | Previously all types of errors would be shown as ERROR, thus making for example warnings (WARN_PRINT) somewhat aggressive. ERROR is displayed in red, WARNING in yellow and SCRIPT ERROR in magenta (though the latter does not seem used so far). Fixes #1127.
* newline fixesreduz2015-10-0817-6513/+6513
|
* Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky2015-09-241-0/+2
|
* Complete fix for windows compilabilityest312015-06-071-1/+2
| | | | Thanks @volzhs for testing :)
* Fix windows compilabilityest312015-06-072-7/+9
|
* Add OS.get_time_zone_info functionest312015-06-061-0/+16
| | | | | | The returned dictionary maps "name" to the name of the current time zone, and "bias" to a bias from UTC in minutes.
* Add utc param to get_time and get_date methodsest312015-06-062-6/+12
| | | | | | If utc == false, we return the local time, like before. Otherwise, we return UTC time. utc defaults to false to not break behaviour.
* Use local time for both time and date on winest312015-06-061-2/+2
| | | | On unix and nacl, both date and time are expressed in local time.
* support for light and normal mapping in 2DJuan Linietsky2015-02-181-3/+2
|
* -Work in progress visual shader editor *DOES NOT WORK YET*Juan Linietsky2015-01-031-0/+37
|
* FixesJuan Linietsky2014-12-2010-214/+286
| | | | | | | | -=-=-= -Added missing quaternion constructor -code completion fixes -winrt fixes
* Small batch of fixesJuan Linietsky2014-12-156-23/+278
| | | | | | | -=-=-=-=-=-=-=-=-=-= -Fixed looping error in AudioStreamResampled -winrt port progress -fixes in material in ambient light
* Huge Amount of BugFixJuan Linietsky2014-10-038-159/+464
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -Fixes to Collada Exporter (avoid crash situtions) -Fixed to Collada Importer (Fixed Animation Optimizer Bugs) -Fixes to RigidBody/RigidBody2D body_enter/body_exit, was buggy -Fixed ability for RigidBody/RigidBody2D to get contacts reported and bodyin/out in Kinematic mode. -Added proper trigger support for 3D Physics shapes -Changed proper value for Z-Offset in OmniLight -Fixed spot attenuation bug in SpotLight -Fixed some 3D and 2D spatial soudn bugs related to distance attenuation. -Fixed bugs in EventPlayer (channels were muted by default) -Fix in ButtonGroup (get nodes in group are now returned in order) -Fixed Linear->SRGB Conversion, previous algo sucked, new algo works OK -Changed SRGB->Linear conversion to use hardware if supported, improves texture quality a lot -Fixed options for Y-Fov and X-Fov in camera, should be more intuitive. -Fixed bugs related to viewports and transparency Huge Amount of New Stuff: -=-=-=-=-=-=-=-==-=-=-=- -Ability to manually advance an AnimationPlayer that is inactive (with advance() function) -More work in WinRT platform -Added XY normalmap support, imports on this format by default. Reduces normlmap size and enables much nice compression using LATC -Added Anisotropic filter support to textures, can be specified on import -Added support for Non-Square, Isometric and Hexagonal tilemaps in TileMap. -Added Isometric Dungeon demo. -Added simple hexagonal map demo. -Added Truck-Town demo. Shows how most types of joints and vehicles are used. Please somebody make a nicer town, this one is too hardcore. -Added an Object-Picking API to both RigidBody and Area! (and relevant demo)
* 3D Physics Rework, Other StuffJuan Linietsky2014-09-1522-0/+7293
-=-=-=-=-=-=-=-=-=-=-=-=-=- 3D Physics: -Fixed "Bounce" parameter in 3D -Fixed bug affecting Area (sometims it would not detect properly) -Vehicle Body has seen heavy work -Added Query API for doing space queries in 3D. Needs some docs though. -Added JOINTS! Adapted Bullet Joints: and created easy gizmos for setting them up: -PinJoint -HingeJoint (with motor) -SliderJoint -ConeTwistJoint -Generic6DOFJoint -Added OBJECT PICKING! based on the new query API. Any physics object now (Area or Body) has the following signals and virtual functions: -input_event (mouse or multitouch input over the body) -mouse_enter (mouse entered the body area) -mouse_exit (mouse exited body area) For Area it needs to be activated manually, as it isn't by default (ray goes thru). Other: -Begun working on Windows 8 (RT) port. Compiles but does not work yet. -Added TheoraPlayer library for improved to-texture and portable video support. -Fixed a few bugs in the renderer, collada importer, collada exporter, etc.