aboutsummaryrefslogtreecommitdiff
path: root/platform/windows/os_windows.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * Moved deleting sample player in OS finalize methods to before deleting audio ↵Saracen2015-11-021-1/+2
| | | | | | | | server to prevent crash when exiting.
* | Merge pull request #2737 from akien-mga/type-specific-error-outputJuan Linietsky2015-11-181-7/+18
|\ \ | | | | | | Display error type (error, warning, script error) in OS::print_error + cleanup error ANSI coloring
| * | 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-7/+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.
* / windows crash and bind placeholder methodAriel Manzur2015-11-141-3/+3
|/
* Added ability to set custom mouse cursors. Not hardware accelerated yet.Juan Linietsky2015-09-241-0/+10
|
* Add OS.get_system_time_msecMaximillian2015-08-061-0/+6
|
* Complete fix for windows compilabilityest312015-06-071-1/+2
| | | | Thanks @volzhs for testing :)
* Fix windows compilabilityest312015-06-071-17/+4
|
* Add OS.get_time_zone_info functionest312015-06-061-0/+30
| | | | | | 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-061-4/+10
| | | | | | 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-1/+1
| | | | On unix and nacl, both date and time are expressed in local time.
* ability to run 2D physics in a threadJuan Linietsky2015-05-261-2/+5
| | | | | also, 2D physics is now thread safe too. see physics_2d/thread_model
* Merge remote-tracking branch 'origin/master'Juan Linietsky2015-05-041-1/+8
|\ | | | | | | | | Conflicts: drivers/windows/dir_access_windows.cpp
| * add missing WM_RBUTTONDBLCLK messagesanikoyes2015-03-251-1/+8
| |
* | small unicode fixesJuan Linietsky2015-05-041-5/+6
|/
* window managements functions workJuan Linietsky2015-03-231-19/+100
| | | | but still side-functions, all API needs to be migrated to them
* fixes to new window management APIJuan Linietsky2015-03-221-0/+188
| | | | | | -needs testing on Linux -needs testing on Windows -NEED SOMEONE TO IMPLEMENT IT ON OSX!! PLEASE HELP!
* New option to send canvas to render bufferJuan Linietsky2015-03-161-0/+1
| | | | | allows to use 3D environment effects for post processing such as Glow, Bloom, HDR, etc. in 2D.
* fix get joystick name from registry on some systemsHinsbart2015-02-251-3/+8
|
* begin new serialization frameworkJuan Linietsky2015-02-151-1/+0
| | | | also got rid of STL dependency on triangulator
* fixes to mouse warpJuan Linietsky2015-02-141-1/+6
| | | | | | | | | -can warp now from viewport and control, in their respective coordinate systems -warp is now local to the window on Windows and OSX. IF YOU RUN OSX, PLEASE TEST THIS! And make sure it works!, new code is in OS_OSX::warp_mouse_pos. I don't have OSX so i can't test!
* fix get_joy_name() on windowsHinsbart2015-02-121-1/+51
|
* Merge pull request #1259 from laganojunior/feature/fix_modifier_key_unpressJuan Linietsky2015-02-091-3/+4
|\ | | | | Modifiers are unset on events for the modifier key itself
| * Fix whitespace on previous commitManuel Lagang2015-01-171-1/+1
| | | | | | | | Choose tabs or spaces, not both!
| * Modifiers are unset on events for the modifier key itselfManuel Lagang2015-01-171-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes modifiers when processing key events for the particular modifier key. For example, previously a Shift keypress would register as a Shift + Shift modifier event. This would cause issues when a modifier key as the action key in the input map, because unpresses of the modifier key don't match as matching inputs for that action. E.g. if Shift is used as an action, the stored action event is Shift + Shift modifier (as indicated in the editor as "Shift + Shift". The unpress event does not have the Shift modifier set, so the event of unpressing Shift + no modifier doesn't match the action which has the modifier set. This patch removes the shift modifier on just pressing the Shift key down, so the action event is registered as just Shift with no modifier (as indicated in the editor as "Shift"), which matches the unpress event.
* | Fix mingw windows build errormarynate2015-01-181-0/+4
|/
* added nvidia optimus enablementthe_mech2015-01-171-0/+3
|
* -Initial (untested) implementation of 2D shaders. Probably broken, will be ↵Juan Linietsky2015-01-111-1/+1
| | | | | | fixed later. -fixed issue of opacity not working
* 2D Rewrite Step [1]Juan Linietsky2015-01-101-3/+3
| | | | | | | | -=-=-=-=-=-=-=-=-=- -Moved drawing code to a single function that takes linked list (should make it easier to optimize in the future). -Implemented Z ordering of 2D nodes. Node2D and those that inherit have a visibility/Z property that affects drawing order (besides the tree order) -Removed OpenGL ES 1.x support. Good riddance!
* New Code CompletionJuan Linietsky2014-12-161-1/+2
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=- -Massive improvement to code completion -Argument hinting for functions If you manage to out-smart the code-completion in a situation where completion should be possible to guess, let me know. Please enter the commit message for your changes. Lines starting
* -Ability to ask for documents/pictures/etc system dirs.Juan Linietsky2014-12-021-0/+42
| | | | | -Fixes to animationplayer -fixes to collada importer
* missing navmesh demo and small fixesJuan Linietsky2014-11-191-1/+1
|
* 3D Import Import & UDPJuan Linietsky2014-11-121-0/+2
| | | | | | | | | -=-=-=-=-=-=-=-=-=-=- -Animation Import filter support -Animation Clip import support -Animation Optimizer Fixes, Improvements and Visibile Options -Extremely Experimental UDP support.
* SceneMainLoop -> SceneTreeJuan Linietsky2014-11-051-1/+1
| | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
* - On Windows, Godot now goes fullscreen without video mode change.Guy Rabiller2014-10-281-2/+5
|
* -variables with export in script are now IMMEDIATELY AND ALWAYS visible in ↵Juan Linietsky2014-09-221-20/+49
| | | | | | | | | | | 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
* Fixed too many little issues, check the issues closed today.Juan Linietsky2014-09-211-1/+1
|
* - more fixes on #672 on windowsJuan Linietsky2014-09-191-1/+15
| | | | | | - 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 () )
* Fixing Issues...Juan Linietsky2014-09-191-1/+5
| | | | | | | - #672 (default user:// in $HOME/.godot/app_userdata (linux/osx) and $APPDATA/Godot/app_userdata (Windows) - #676 (draw both tiles and octants in order from top to bottom, left to right ) - #686 (unicode escape sequences work now) - #702 (was not a bug, but a test was added to see if bodies went too far away)
* Merge pull request #573 from marynate/PR-fix-get-data-dirJuan Linietsky2014-09-171-1/+1
|\ | | | | Make OS_Windows::get_data_dir return unix path
| * Make OS_Windows::get_data_dir return unix path to be consistent with ↵marynate2014-07-061-1/+1
| | | | | | | | get_resource_path
* | 3D Physics and Other StuffJuan Linietsky2014-09-021-15/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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!
* | Small Issues & MaintenanceJuan Linietsky2014-08-011-11/+38
|/ | | | | | | | | -=-=-=-=-=-=-=-=-=-=-=-=-= -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
* -Fixed viewport stretch bugsJuan Linietsky2014-04-181-0/+7
| | | | | -Fixed input in viewport stretch bugs -Fixed tilemap pixel overlap (really?)
* Add display/resizable to project setting to prevent windwo from resizingmarynate2014-03-271-0/+4
|
* fix-multi-char-ime-input-chinesesanikoyes2014-03-111-0/+22
|
* -fixed bug in Button now exporting font propertyJuan Linietsky2014-02-151-2/+15
| | | | | | | | -made GUI Theme editor usable -editor does not allow to export or create .pck in the same path as a project -changed .pck format (lacked support for versioning so couldn't change it), previous was causing crashes and is now incompatible, just re-export. -will not look for .pck files recursively, was causing unexpected behaviors -fixed execution of Godot in paths with non unicode characters in Windows, OSX and Linux.
* -fixed export templates not loading/exporting on WindowsJuan Linietsky2014-02-131-2/+8
| | | | | | | | | | | | -fixed TouchScreenButton with stretch2d -fixed(?) OSX crash on startup (test!!) -compilation fixes on windows -CollisionPolygon editor works again -find buttons en find dialog -TileMap editor cleanup (removed "error", made nicer) -viewport flicker fixed -make .scn default extension for saving scenes -export the rest of the network classes to gdscript
* GODOT IS OPEN SOURCEJuan Linietsky2014-02-091-0/+1732