Commit Graph

32 Commits

Author SHA1 Message Date
James Moran
1e09f3b5bd Add -Wshadow on HTML5. Fixed errors relating to it. UE-14250
Fixed some potential issues from incoming SDK release. Removed unnecessary js lib.

[CL 2524336 by James Moran in Main branch]
2015-04-24 10:49:50 -04:00
Sneagan
8de0fe67c6 PR #1020: Normalized JS style. No functional change. (Contributed by Sneagan)
[CL 2524272 by James Moran in Main branch]
2015-04-24 10:15:50 -04:00
Ankit Khare
f6875911b2 HTML5: Correctly gate map downloading. Use a progress bar with real progress instead of an infinite throbber.
[CL 2514434 by Ankit Khare in Main branch]
2015-04-16 12:11:10 -04:00
Ankit Khare
3493522c66 HTML5 - UE-13069 - wrong http headers and UE-13431 (unexpected characters at end of POST string)
#codereview james.moran

[CL 2506161 by Ankit Khare in Main branch]
2015-04-08 20:25:32 -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
Ben Marsh
86067c45ca Remove Windows third party libraries for VS2012.
[CL 2493588 by Ben Marsh in Main branch]
2015-03-27 07:55:36 -04:00
Aaron McLeran
5d9396bec0 CIS build fix for HTML5
-initialization list typo

[CL 2477824 by Aaron McLeran in Main branch]
2015-03-12 19:27:15 -04:00
Aaron McLeran
c21f478693 Fixing Platform Builds
#codereview Marc.Audy

[CL 2477328 by Aaron McLeran in Main branch]
2015-03-12 15:40:07 -04:00
Aaron McLeran
d2729ee628 Supporting multiple audio devices for multiple PIE and other potential use-cases.
- Created audio device manager which manages weak ref handles to audio devices
- Audio device handles are created with WorldContexts and accessed through UWorld objects
- All access to audio devices are now through audio device handles
- There is a main/default audio device for GEngine for use with the Editor and single worldcontext games

#codereview marc.audy, matthew.griffin

[CL 2477046 by Aaron McLeran in Main branch]
2015-03-12 12:59:33 -04:00
Ankit Khare
9cff0ef500 Fix HTML5 load game logic when no saved game exists, needed to make ShooterGame work.
[CL 2460532 by Ankit Khare in Main branch]
2015-02-25 13:18:09 -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
Bart Bressler
a818b25d70 Fix UE-4390 - convert gethostbyname function calls to getaddrinfo function calls.
[CL 2363558 by Bart Bressler in Main branch]
2014-11-18 12:24:38 -05:00
Matthew Griffin
e529148280 Added config setting for audio volume when app is unfocused
Removed GVolumeMultiplier and added an equivalent to FApp to contain the code to load the unfocused volume multiplier from config.

UE-4449 - Allow users to choose whether audio can be heard when focus is lost

#codereview Robert.Manuszewski

[CL 2341022 by Matthew Griffin in Main branch]
2014-10-27 08:15:41 -04:00
Ankit Khare
7a5cd45172 Github Pull Request : 345 Feature: Implement a basic HTTP request support for the HTML5 platform
#codereview james.moran

[CL 2321802 by Ankit Khare in Main branch]
2014-10-07 16:49:35 -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
Michael Noland
2f0a414b41 Engine: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316338 by Michael Noland in Main branch]
2014-10-01 14:45:04 -04:00
Ankit Khare
4e9a5cb6ba Rocket: Enable HTML5 for rocket builds on Win64.
#codereview ben.marsh

[CL 2295409 by Ankit Khare in Main branch]
2014-09-12 15:56:47 -04:00
Ankit Khare
10622199f7 FPlatformMisc::MessageBoxExt implimentation for HTML5
[CL 2289953 by Ankit Khare in Main branch]
2014-09-08 17:17:15 -04:00
Ankit Khare
3011aa6448 #UE4 #HTML5 Fix up Win32 Simulator Build for HTML5.
[CL 2247484 by Ankit Khare in Main branch]
2014-08-07 16:34:10 -04:00
Matthew Griffin
c28dea244e Splitting format specific classes out of AudioDecompress.cpp/h
New files added to contain FVorbisAudioInfo and FOpusAudioInfo, added all necessary includes
Added a few more checks for whether the target platform supports audio streaming where appropriate
Moved #define to .h file as it was being used in two .cpp files (working because of unity build)

[CL 2137973 by Matthew Griffin in Main branch]
2014-07-04 09:47:36 -04:00
Matthew Griffin
f92177afd9 Removing more duplicated variables from audio sub classes
Duplicate ResourceID would have caused the same problems in HTML5 and Linux as Android. Other duplications are errors waiting to happen, there are a couple of stats functions that could be using the base class versions and not displaying the correct information.

[CL 2119229 by Matthew Griffin in Main branch]
2014-06-27 05:15:16 -04:00
Ankit Khare
ba01b4d00a #UE4 #HTML5
HTML5 browser build fixes for NFS over http.
Todo: Correctly generate html5 file when serving via NFS.
howto:
- flip relevant bools in UEBuildHTML5.cs
- build html5/cooker.
- run cook on the fly server via UFE.
- Remove .data/.data.js references from .html ( see todo)
- point browser at http://cookserver:DEFAULT_FILE_SERVING_PORT/gamename.html

#codereview peter.sauerbrei

[CL 2109950 by Ankit Khare in Main branch]
2014-06-18 19:38:50 -04:00
Matthew Griffin
551379cad2 Fixing issues with SoundWave memory and duplicated variables in some platforms.
Moved most of the contents of FAudioDevice::FreeResource to USoundWave::FreeResources so that we can be sure that all memory is cleared up during teardown.
Removed FreeResource function from some subclasses of audio device, as they weren't doing anything different than the base one.
Also removed ListSounds function from these same classes as that seems to have fallen behind current base class version and isn't used anyway.
Removed platform specific audio buffer storage so that there isn't confusion about which is being used and ensured that casts are used when necessary.
Fixed compile issue with STAT_AudioResourceCreationTime for HTML5.

[CL 2109273 by Matthew Griffin in Main branch]
2014-06-18 10:31:15 -04:00
Ankit Khare
3a59dafefa #UE4 #HTML5 TTP: 318779 HTML5: Network File System.
Build Improvements, HTML5Win32 Build fix. Re-fix how HTTP headers were being sent on the wire.
             WIP:  TCP/HTTP Toggle is in flux and may get changed again depending on feedback, currently its driven from HTML5 Build Files.

#codereview peter.sauerbrei

[CL 2104759 by Ankit Khare in Main branch]
2014-06-13 13:25:24 -04:00