Commit Graph

107 Commits

Author SHA1 Message Date
Peter Sauerbrei
548da9d74a fix for Mac compile
#ue4

[CL 2327678 by Peter Sauerbrei in Main branch]
2014-10-13 16:53:31 -04:00
Marc Audy
9125161195 Fix non-unity
[CL 2327527 by Marc Audy in Main branch]
2014-10-13 14:52:57 -04:00
Marc Audy
e26e577ccb Potential CIS fix for mac compile error
[CL 2327482 by Marc Audy in Main branch]
2014-10-13 14:22:42 -04:00
Marc Audy
2077f3a586 Expose ProjectHasCodeFiles, GenerateBasicSourceCode, GetCurrentProjectModules and DetermineModuleIncludePath from GameProjectGenerationModule
[CL 2327274 by Marc Audy in Main branch]
2014-10-13 11:47:21 -04:00
Michael Noland
74fec032b6 Editor: Fix hardware target settings being written into the wrong config file when creating a new project (and thus not taking effect)
- HW target settings now write to DefaultEngine.ini instead of DefaultEditor.ini when generating a project
- HW target settings now write their enum value as a string instead of an integer when generating a project
#Integrate change 2326075 from 4.5 to main

[CL 2326077 by Michael Noland in Main branch]
2014-10-10 18:18:31 -04:00
Jaroslaw Palczynski
cc0f6d9a4e UObject custom constructors.
In order to use new feature user have to change GENERATED_UCLASS_BODY() macro to the new GENERATED_BODY(). Then no constructor is implicitly declared. If there is no constructor declared in UCLASS then PCIP one is declared and defined that passes PCIP down to super-class. On the other hand if there is a constructor declared then UObject system expects to have one of the default or PCIP constructor to initialize a class during loading from disk, default object creation, etc. and it expects that user will declare and define one.

There is a possibility now to create UCLASS with the default constructor (i.e. no PCIP).

New macro is encouraged by standard classes and in-editor wizards templates.

#codereview Robert.Manuszewski

[CL 2325282 by Jaroslaw Palczynski in Main branch]
2014-10-10 04:34:56 -04:00
Andrew Rodham
4ad1b987fc Improved progress reporting in the editor
FScopedSlowTask has been refactored to better allow for nesting of slow operations. This allows us to cascade nested scopes and provide accurate feedback on slow tasks. FScopedSlowTasks now work together when nested inside sub functions. Break up long functions that contain calls to multiple nested FScopedSlowTasks with FScopedSlowTask::EnterProgressFrame().

Example Usage:
void DoSlowWork()
{
    FScopedSlowTask Progress(2.f, LOCTEXT("DoingSlowWork", "Doing Slow Work..."));
    // Optionally make this show a dialog if not already shown
    Progress.MakeDialog();

    // Indicate that we are entering a frame representing 1 unit of work
    Progress.EnterProgressFrame(1.f);

    // DoFirstThing() can follow a similar pattern of creating a scope divided into frames. These contribute to their parent's progress frame proportionately.
    DoFirstThing();

    Progress.EnterProgressFrame(1.f);
    DoSecondThing();
}

This addresses TTP#338602 - NEEDS REVIEW: Editor progress bars nearly always just show 100%, don't offer useful indication of progress

[CL 2322391 by Andrew Rodham in Main branch]
2014-10-08 04:42:34 -04:00
Andrew Rodham
5a37b2dcfe Added hardware targeting options and starter content to project creation analytics event
#codereview Michael.Noland

[CL 2318356 by Andrew Rodham in Main branch]
2014-10-03 05:17:13 -04:00
bruce nesbit
8d8bd2250c Revised behaviour of GenerateConfigFiles so that it will extract the EditorStartupMap and GameDefaultMap from the ini files in the startercontent config folder if they exist
#codereview Marc.Audy

[CL 2315973 by bruce nesbit in Main branch]
2014-10-01 10:58:58 -04:00
Andrew Rodham
629efa78d5 Tweaked the location of marketplace and refresh buttons on the project browser
[CL 2315875 by Andrew Rodham in Main branch]
2014-10-01 09:48:58 -04:00
Ben Marsh
9932a674ab Fix marketplace button visibility check being inverted.
#codereview Andrew.Rodham

[CL 2315750 by Ben Marsh in Main branch]
2014-10-01 08:18:36 -04:00
Andrew Rodham
59859b54a1 Added line break iterator to text display on template project tiles
This addresses TTP#347914 - Project Browser: TP_VehicleAdv: Display name is cut off

[CL 2315698 by Andrew Rodham in Main branch]
2014-10-01 06:08:05 -04:00
Andrew Rodham
c3e6568441 Made starter content button on New Project dialog a real drop down.
This is more consistent with the other combos, and addresses TTP#347917 - PROJECT BROWSER: Starter Content buttons has a dropdown arrow, but no list.

[CL 2315697 by Andrew Rodham in Main branch]
2014-10-01 06:07:53 -04:00
Ben Marsh
5a461554bd Added a cancel button to Convert project -> Open a copy, so that you have an option to cancel project copying/duplication process.
GitHub PR 445, authored by nejclesek.

[CL 2310948 by Ben Marsh in Main branch]
2014-09-26 11:29:33 -04:00
Michael Noland
b7f7292606 Editor: Improve the 'starter content' button in the new project dialog
- Add warning bubble to starter content button when Mobile/Tablet is picked
- Add a fake down arrow to make the button look more interactive

[CL 2310662 by Michael Noland in Main branch]
2014-09-25 22:44:16 -04:00
Andrew Rodham
b5ca510692 List and tile views that have no scroll bar now support overscroll.
Also added an option to control whether overscroll is allowed on STableViewBase derivatives;
This partly addresses TTP#346682 - Need to support overscroll when items are not enough to allow scrolling (consistency with ListViews)

Reviewed by Nick Atamas

[CL 2309585 by Andrew Rodham in Main branch]
2014-09-25 06:35:19 -04:00
Ben Marsh
0f78891b7d Add a program to bootstrap packaged games, which checks for dependencies being installed (an option to include prerequisites in the game is in the packaging settings), then starts the engine with the right commandline for the project. Takes an icon from Build/Windows/Application.ico if present (which allows setting the icon for content-only projects) or the game executable being launched. Resource files added to code projects now use this icon instead.
[CL 2307139 by Ben Marsh in Main branch]
2014-09-23 13:55:06 -04:00
Michael Noland
ec1aa13008 Editor: Add tooltips to New Project Wizard sections, clarified Target Hardware choices / where you can edit them in the future, and added an explicit prompt for the destination picker to separate it out from the settings choices
[CL 2304575 by Michael Noland in Main branch]
2014-09-19 18:16:03 -04:00
Andrew Rodham
058e21069d Asset labels in the content browser can now fill beyond the width of the thumbnails.
The font has also been reduced in size to reduce the amount of wrapping on asset labels at small sizes.

Also polished the asset borders and shadows.

This addresses TTP 345457 and 345452.

[CL 2297910 by Andrew Rodham in Main branch]
2014-09-15 05:59:46 -04:00
Ben Marsh
79c9fc038e Fix comment which UnrealDocTool can't parse.
[CL 2290954 by Ben Marsh in Main branch]
2014-09-09 12:22:06 -04:00
Andrew Rodham
85b61bda9e Added HardwareTargeting module and tidied up project browser dialogs
Also removed tabs from the project browser dialogs when they're not necessary. Fixed up some incorrect icon sizes to work with the new layout.

[CL 2290664 by Andrew Rodham in Main branch]
2014-09-09 12:16:36 -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
bb17aef300 Move functionality to invoke UBT into DesktopPlatform.
[CL 2286483 by Ben Marsh in Main branch]
2014-09-05 13:31:22 -04:00
Andrew Brown
90265639c0 Seperated out the New Project icon and overlay images into seperate brushes so they could easily be replaced
[CL 2275974 by Andrew Brown in Main branch]
2014-08-28 06:52:46 -04:00
Max Preussner
9a5e9a0610 Slate: Moved SWizard into AppFramework module
[CL 2275535 by Max Preussner in Main branch]
2014-08-27 21:25:34 -04:00