Commit Graph

41 Commits

Author SHA1 Message Date
James Moran
62ee759e31 Fix for incorrect character input in HTML5 UMG widgets. Also (hopefully) fixed keyboard mappings not working correctly.
Fixes UE-9555

[CL 2519443 by James Moran in Main branch]
2015-04-21 12:21:33 -04:00
Ankit Khare
79542f541b Allow HTML5 to download maps on the fly.
UPLAT-685 (Remove Virtual File System to reduce run-time memory overhead and allow for larger worlds in HTML5)

#codereview josh.adams, james.moran

[CL 2505577 by Ankit Khare in Main branch]
2015-04-08 14:53:36 -04:00
Ankit Khare
1dcc78cbb2 Allow HTML5 platform to properly create directories.
[CL 2499236 by Ankit Khare in Main branch]
2015-04-01 18:19:24 -04:00
James Moran
985859d32c HTML5 PlatformFile CIS fix
[CL 2481408 by James Moran in Main branch]
2015-03-17 07:57:07 -04:00
James Moran
94f2e53582 Fix for assert getting exe name on startup in HTML5.
Implements FPlatformProcess::ExecutableName()

[CL 2462334 by James Moran in Main branch]
2015-02-26 12:11:18 -05:00
James Moran
e442a260d5 Safari fullscreen fix. UE-10530
Implement LaunchURL for HTML5. UE-10852
Possible fix for bogus mouse coordinates in Safari

#codereview Ankit.Khare

[CL 2461964 by James Moran in Main branch]
2015-02-26 05:37:56 -05:00
Ankit Khare
fc415ab41c fix, probably legitimate, for UE-6890.
On browser pointerlock the mouse "jumps" from outside the canvas to "locked and hidden and inside the canvas". This causes the WindowEnter event to be skipped. Add code to generate a fake WindowEnter event which fixes the slate window state.

#codereview james.moran

[CL 2457323 by Ankit Khare in Main branch]
2015-02-23 18:42:15 -05:00
James Moran
f1320865f9 Many improvements to HTML5.
- Fixes to the Mac HTML5 Device selection. .app files now work correctly.
- Re-enabled HTML5 in Mac Editor.
- Added HTML5LaunchHelper executable to clean up the process of LaunchOn for HTML5.
- Improve HTML5 SDK Settings Editor interface. Only the emscripten install directory is needed now, SDK version are automatically picked up and selected for use.
- Change UnrealPak to also account for bytes saved (>64KB) and percentage size of original file (<90%) when choosing to automatically turn off compression.
- Added Server Port option for HTML5 deploy to stop clashes on port 8000
- Adding more logging for use during debugging & tracing.
- Added an option to turn on HTML5 tracing api and added calls to the api.
- Fix up check() macros to throw alert messages and be more clear that something has gone wrong on HTML5.

#codereview Ankit.Khare

[CL 2452979 by James Moran in Main branch]
2015-02-20 04:41:01 -05:00
Mikolaj Sieluzycki
bf1a1af268 Implement conditional and no stats version of Sleep.
#codereview Robert.Manuszewski

[CL 2410728 by Mikolaj Sieluzycki in Main branch]
2015-01-19 06:13:39 -05:00
Michael Trepka
3844b0bd69 Back out changelist 2388497 (PR #677) - it caused WASD keys to stop working in game
[CL 2388918 by Michael Trepka in Main branch]
2014-12-15 15:31:03 -05:00
Michael Trepka
2a6189d9f7 PR #677: fix GetKeyFromCodes(0, 'A') == EKeys::A on Mac (Contributed by robert-wallis)
https://github.com/EpicGames/UnrealEngine/pull/677

Also applied the same fix to HTML5 and Linux

[CL 2388497 by Michael Trepka in Main branch]
2014-12-15 09:30:23 -05:00
Ankit Khare
d6cac24497 Gamepad for HTML5.
[CL 2383472 by Ankit Khare in Main branch]
2014-12-10 10:13:02 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Ankit Khare
f0430510cd SDL2 upgrade from the SDK provided SDL1.3 for HTML5 Platform.
[CL 2365228 by Ankit Khare in Main branch]
2014-11-19 13:56:35 -05:00
James Moran
543f71b299 Fixes for StrategyGame fullscreen UI on HTML5.
Added missing display metrics resize.
Added compile and directory iteration fixes for HTML5-win32

[CL 2358496 by James Moran in Main branch]
2014-11-13 10:56:11 -05:00
Ben Marsh
e5b4581e68 Back out changelist 2344886 - Files must be truncated if they're not opened for append.
#codereview Michael.Trepka

[CL 2347581 by Ben Marsh in Main branch]
2014-11-03 17:07:18 -05:00
Ben Zeigler
02a9e1dd4e Merging Dev -> Main using UE4-Fortnite-To-UE4 from CL 2340802
Includes following engine changes:

Getting display metrics only once at construct time when using SSafeZone. GetDisplayMetrics is expensive in Windows so it is impractical to call it every frame.
- Some AI API improvements, mostly switchig pointer function parameters to references.
- minor refactor of UCrowdFollowingComponent's queryinf functions:
    - IsCrowd*Enabled functions refactored to  IsCrowd*Active
    - implemented IsCrowd*Enabled that return acrual values of relevant properties
- Added a function to CrowdManager to query for location of agents neighbouring given agent
Added support for PS4 touchpad-based cursor
You can now choose to skip synchronously scanning for asset data in object libraries and just use the data that is currently in the asset registry. The data will be refereshed automatically later once the global scan completes. The only applies to non-commandlet editor instances.
Crash fixes for trying to access NULL Metal surfaces on IOS
Slate: Cleaned up some atlas code related to padding and corrected some comments

[CL 2347323 by Ben Zeigler in Main branch]
2014-11-03 15:47:28 -05:00
Michael Trepka
5b27a325ff Don't truncate files opened for write on Unix platforms, as we don't do this on Windows
[CL 2344886 by Michael Trepka in Main branch]
2014-10-30 10:08:04 -04:00
James Moran
a95a9399a8 CIS fix for HTML5 due to header move
[CL 2342063 by James Moran in Main branch]
2014-10-28 05:11:04 -04:00
Ben Marsh
f413055dc2 Make CorePrivatePCH.h Core module private PCH instead of Core.h. (Submitted for Mikolaj Sieluzycki due to ObjectVersion.cpp change)
#codereview Robert.Manuszewski, Mikolaj.Sieluzycki

[CL 2332997 by Ben Marsh in Main branch]
2014-10-17 09:52:58 -04:00
James Moran
0391f97b3e HTML5 crash handling & stack walking
#codereview Jaroslaw.Surowiec

[CL 2331318 by James Moran in Main branch]
2014-10-16 04:51:33 -04:00
Robert Manuszewski
55f4bd6581 Removed [URL] GameName=Name from ini as we no longer need it for anything else than fixing the game name case (passed from command line)
#change Removed GGameName usage from code and replaced it with FApp::*GameName API
#change Added FApp::SetGameName(), FApp::IsGameNameEmpty()
#change Added IFileManager::GetFilenameOnDisk to get the correct case of a filename on disk
#change Renamed GGameName to GInternalGameName

[CL 2328446 by Robert Manuszewski in Main branch]
2014-10-14 10:31:43 -04:00
James Moran
d7151aea51 Fix for not respecting alignment requirement.
[CL 2321522 by James Moran in Main branch]
2014-10-07 13:33:48 -04:00
James Moran
3af06ca3da Compile fix for HTML5.
#codereview Ankit.Khare

[CL 2321266 by James Moran in Main branch]
2014-10-07 10:23:56 -04:00
James Moran
e19652f51d Implement GetDefaultLocale for HTML5
[CL 2321130 by James Moran in Main branch]
2014-10-07 08:31:55 -04:00