Commit Graph

23 Commits

Author SHA1 Message Date
Ben Marsh
923e6b01a4 Renaming some plugin browser stuff for consistency, and removing a bunch of unnecessary abstractions.
[CL 2526080 by Ben Marsh in Main branch]
2015-04-26 10:27:46 -04:00
Ben Marsh
8be8504edc Remove some of the tedious layers of indirection from the plugin manager.
[CL 2521707 by Ben Marsh in Main branch]
2015-04-22 16:41:13 -04:00
Ben Marsh
1f5b1222c2 Remove GenerateNewProjectFile from IProjectManager.
[CL 2401854 by Ben Marsh in Main branch]
2015-01-09 08:08:13 -05:00
Jaroslaw Palczynski
17bd6bf781 Getting rid of unnecessary loading of UE4Game module.
[CL 2385799 by Jaroslaw Palczynski in Main branch]
2014-12-11 13:19:40 -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
Jaroslaw Palczynski
2df4ab4b49 [UE-4798] AutostartupModules is not working properly
The auto-startup module list is now compiled to:
1. Exe if the target is a program.
2. Game module binary if the target is game, editor etc.

#codereview Robert.Manuszewski

[CL 2344885 by Jaroslaw Palczynski in Main branch]
2014-10-30 10:07:51 -04:00
Ben Marsh
31618620c1 Include module names in dialog for recompiling on startup, and don't allow continuing if they are an incorrect version.
[CL 2292600 by Ben Marsh in Main branch]
2014-09-10 12:43:07 -04:00
Ben Marsh
7e47a9d047 Remove virtual function to return .uproject extension from IProjectManager.
[CL 2289650 by Ben Marsh in Main branch]
2014-09-08 13:51:36 -04:00
Ben Marsh
3bac51e396 Provide a proper error message if a file cannot be deleted during project upgrade, and fix offering to checkout the project file if necessary.
[CL 2227462 by Ben Marsh in Main branch]
2014-07-22 15:58:02 -04:00
Ben Marsh
e35719b0b4 Store whether a plugin is enabled by default in the uplugin file (rather than in the INI file). Simplifies checks for what is enabled in UE4Game and decentralizes everything.
[CL 2119957 by Ben Marsh in Main branch]
2014-06-27 16:38:50 -04:00
Ben Marsh
100dfb0b32 Store the list of enabled plugins in the uproject file (fixing TTP 335060), and enable all game plugins by default (TTP 339313).
[CL 2119810 by Ben Marsh in Main branch]
2014-06-27 15:23:15 -04:00
Ben Marsh
8d04b7998a Separate out project and plugin descriptors from each other, and the instance data maintained by their respective managers. Projects and plugins already only have superficial similarities, and will continue to diverge.
[CL 2119335 by Ben Marsh in Main branch]
2014-06-27 08:41:46 -04:00
Ben Marsh
46b651e4a7 Make a standalone class for module descriptors in .uproject and .uplugin files.
[CL 2116860 by Ben Marsh in Main branch]
2014-06-25 13:09:31 -04:00
Max Preussner
017837289f Modules: Module Manager API cleanup pass
There is now a consistent set of methods for module loading, unloading and lookup that all behave in the same expected way.

- renamed GetModuleInterface to GetModule and made it not assert
- removed GetModuleInterfaceRef
- namespace enums to enum classes, NULL to nullptr
- moved important public methods to the top, so they're easier to discover
- added missing & improved existing documentation
- cleaned up existing use cases

[CL 2109936 by Max Preussner in Main branch]
2014-06-18 19:23:34 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
Jamie Dale
c730fdef83 Added support for choosing which platforms your project will target
TTP# 332489 - TOOLS FEATURE: Editor: Allow user to designate which platforms a project is designed for; warn user when deploying to platforms that will result in a bad time

There is now a "Target Platforms" tab in the project settings which allows you to choose which platforms your project will target. This information is stored inside the .uproject file.

If you try and launch, cook, or package for a project that isn't on the supported list, then you'll see a suppressible warning notifying you that the project may not run as expected. This is also conveyed to you via a warning icon next to platforms which aren't set as a target.

Additionally the target platform icons are shown in the tooltip on the "Open Project" dialog, as well as in the tab area of the level editor.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2088161 by Jamie Dale in Main branch]
2014-05-29 17:37:19 -04:00
Ben Marsh
6251d1c57e Change project 'upgrades' to be based on the format of the project file and nothing to do with engine version or association, and allow the UpdateGameProject commandlet to always write latest version information to the file.
[CL 2072245 by Ben Marsh in Main branch]
2014-05-13 18:23:53 -04:00
Peter Sauerbrei
f83fcf5c96 fix for Memory Card, Black Jack, and Swing Ninja not launching properly after being packaged
TTP334744
#ue4

[CL 2068161 by Peter Sauerbrei in Main branch]
2014-05-09 10:52:15 -04:00
Andrew Rodham
053528c62e Out of date projects now appear faded-out on the project browser
This is to highlight that they will need to be upgraded before they can be used in the current version of the engine. Currently there is no upgrade step, but this will be implemented shortly. This addresses some of TTP #333190 (Project Browser: Improved workflow for opening projects from earlier versions of the editor)

Reviewed by Ben Marsh

[CL 2066916 by Andrew Rodham in Main branch]
2014-05-08 09:20:52 -04:00
Ben Marsh
3aff5a9cc1 Add methods to determine whether a project or plugin's modules are up-to-date.
[CL 2059943 by Ben Marsh in Main branch]
2014-04-30 10:48:13 -04:00
Peter Sauerbrei
7c39772019 #ue4
#ios
* add extra messaging which links to documentation when uproject is not found (IOS-only)

TTP330364

[CL 2045203 by Peter Sauerbrei in Main branch]
2014-04-23 18:40:57 -04:00
Ben Marsh
8835780db3 Move functions for querying engine installations from Core to DesktopPlatform.
[CL 2044626 by Ben Marsh in Main branch]
2014-04-23 18:32:52 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00