Commit Graph

71 Commits

Author SHA1 Message Date
Ben Marsh
b57c79c540 Allow C++ plugins to hook game project generation. Contributed by solid-angle, https://github.com/EpicGames/UnrealEngine/pull/336.
[CL 2251943 by Ben Marsh in Main branch]
2014-08-11 17:14:26 -04:00
Jamie Dale
392966e05f The class wizard now displays the modules listed in your .uproject file as available targets for the new class
TTP# 342920 - EDITOR: Cloned C++ projects do not compile correctly
TTP# 342762 - Editor: Feature Request: Relax the restrictions on what game modules can have new classes created within them

This has allowed the validation logic to be simplified, as it pushes the responsibility onto the user to say which module they want their new class to go into, rather than relying on the validation logic to correctly infer which module the class should be going into.

This also relaxes the previous naming restrictions due to assumptions about module names, as you're now able to add code to any module listed in your .uproject file.

I've tested:
 - Adding code to a normal project.
 - Adding code to a cloned project.
 - Creating a new code based project.
 - Adding code to an empty/blueprint based project.

All of these cases generated code which compiled correctly.

#codereview Ben.Marsh, Max.Preussner

[CL 2242790 by Jamie Dale in Main branch]
2014-08-04 18:21:05 -04:00
Marc Audy
aed24a8b93 Fix new class dialog class tooltips pointing to the wrong documentation page location
[CL 2237172 by Marc Audy in Main branch]
2014-07-30 13:01:03 -04:00
Dmitry Rekman
5cfd4c2019 Linux editor: minor fixes.
- Part of PR #306 by amigo and #ue4linux community.
- Mostly things like initialization order changes, but also platform-specific additions/improvements.

#codereview Josh.Adams

[CL 2235441 by Dmitry Rekman in Main branch]
2014-07-29 01:53:30 -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
Marc Audy
494f22bb33 Add the ability to link to object class documentation throughout the UI
[CL 2226010 by Marc Audy in Main branch]
2014-07-21 17:31:27 -04:00
Maciej Mroz
f5e794eea7 EditoronlyBP enabled in new Blank project.
#codereview Nick.Whiting, Bob.Tellez

[CL 2225503 by Maciej Mroz in Main branch]
2014-07-21 09:14:28 -04:00
Bob Tellez
e5e70fc715 UE4: Build fix. Since GameProjectGeneration now depends on the Documentation module, it is now in the DynamicallyLoadedModuleNames list.
[CL 2215357 by Bob Tellez in Main branch]
2014-07-14 21:21:53 -04:00
Bob Tellez
ac8885317e UE4: One more non-unity fix.
[CL 2215354 by Bob Tellez in Main branch]
2014-07-14 21:16:56 -04:00
Chris Gagnon
7fc0f342e5 '/' and '\\\\' are correctly not valid in project name at all as was intended.
Reversed the priority of the validity checks to give more consistent results.
Fixes TTP #341288

[CL 2215243 by Chris Gagnon in Main branch]
2014-07-14 18:22:08 -04:00
Marc Audy
1040af057a Add link to code from Add Code to Project window
[CL 2214916 by Marc Audy in Main branch]
2014-07-14 16:50:34 -04:00
Ben Marsh
e7767fdc6e Add a sort key to template definitions, and use it to position the 2D sidescroller sample next to the 3D version. Don't want to sort templates by display name because they all start with "Code" or "Blueprint", and at least this way we can hack it through data for now.
[CL 2130646 by Ben Marsh in Main branch]
2014-07-03 10:48:59 -04:00
Robert Manuszewski
f9bee4dda7 [GitHub] 263 : Search for project templates in plugin directories
[CL 2124323 by Robert Manuszewski in Main branch]
2014-07-02 07:33:17 -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
d0e6016bba Fixed opening solutions when creating a non-foreign project in a subdirectory of the engine root.
[CL 2114370 by Ben Marsh in Main branch]
2014-06-23 15:36:37 -04:00
Nick Darnell
2e2dcaa6b2 UMG - ESlateCheckBoxState is now an actual Enum. This required updating a lot of code that was using auto conversion from bool to int. Fixing a lot of issues with garbage collecting and circular references, old button/border widgets will be broken by this checkin. No longer crashing on exit of PIE.
[CL 2111919 by Nick Darnell in Main branch]
2014-06-20 12:37:24 -04:00
Jamie Dale
e3c6911737 Generating a new class will now include the module header relative to a known include path
If the module is inside the Public or Classes folder, it is included directly (since all these folders are on the include path), otherwise it's included relative to the module source root (which is now on the include paths due to a recent UBT change).

ReviewedBy Ben.Donatelli

[CL 2109096 by Jamie Dale in Main branch]
2014-06-18 06:45:20 -04:00
Jaroslaw Palczynski
3a35a8dd0e Deprecate and remove checkAtCompileTime.
#ttp 337754
#codereview Robert.Manuszewski

[CL 2106862 by Jaroslaw Palczynski in Main branch]
2014-06-16 08:04:54 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Ben Marsh
3a9ab4ba94 Remove an IsRocket() check - open the non-foreign solution file for non-foreign projects.
[CL 2100432 by Ben Marsh in Main branch]
2014-06-10 11:23:42 -04:00
Marc Audy
dcf6358a9f Default to using the GlobalDefaultGameMode if GlobalDefaultServerGameMode is not specified.
Cleared out places setting GlobalDefaultServerGameMode that need not do so.

[CL 2100415 by Marc Audy in Main branch]
2014-06-10 11:08:37 -04:00
Bob Tellez
1b57237405 UE4: Renamed FStatusMessageContext to FScopedSlowTask which describes its purpose much more clearly.
[CL 2099448 by Bob Tellez in Main branch]
2014-06-09 15:41:37 -04:00
Marc Audy
f8168e7e8d Fix BasicCode project not referencing custom game mode
TTP #336609

[CL 2097321 by Marc Audy in Main branch]
2014-06-06 14:15:04 -04:00
Dmitry Rekman
5b887fb484 Linux: more changes for the editor.
From PR #140,  contributed by sbc100 and #ue4linux community.

[CL 2096299 by Dmitry Rekman in Main branch]
2014-06-05 17:11:45 -04:00
Jamie Dale
9c3629d2a6 Re-added support for custom categories in the Project Browser
TTP# 327759 - Cannot set Project Browser Category on user-created projects

The code for it had been removed during some other changes.

ReviewedBy Max.Preussner

[CL 2095998 by Jamie Dale in Main branch]
2014-06-05 16:40:19 -04:00