You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Editor/Util
Artur K 56904d1799
Cry Legacy: the Lessening (#5961)
* Generic Cleanup

Removals:

* Unused cvars,member variables and defines
* Windows media center edition support routines
* CSystem - removed debug_GetCallStackRaw/GetRootWindowMessageHandler/
UnloadDLL/ShutdownModuleLibraries

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix CryMessageBox return values in Windows build

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove named selection group and a few smaller unused functionalities

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager export functionality + 2 deprecated functions

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove object legacy freeze/hide support from ObjectManager

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager duplicate name dection, as well as object renaming

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove ObjectManager serialization and selection callbacks

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - remove MoveObjects/HitTestObject/EndEditParams and related members/functions

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove a bunch of unused clone related functionality + misc

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - misc removals

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* ObjectManager - more removals

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused object selection/retrieval in ObjectManager and LoadObjects in ObjectLoader

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove unused material layers mask support

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More CBaseObject cleanups.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove SubObj functions and IMouseCreateCallback

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused procedural floor management, helper scale and tags.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject - remove more unused methods.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Removals in multiple places.

CBaseObject - unused `OBJTYPE_DUMMY` flag removed, member `IsSameClass`
CObjectArchive removed unused methods/members
CObjectManager removed unused `Update` method

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More removals

IDisplayViewport - HitTestLine/GetGridStep/setHitcontext/
GetConstructionPlane
Unused Cry_Matrix44 template specializations.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* O3DE.exe Project-Centric "Open Editor" fix (#5852)

* The O3DE.exe Open Editor button now attempts to open the Editor in the
build directory of the project being opened.

If their is no Editor within the build directory of the Project, it uses
the Editor.exe in the current O3DE.exe executable directory if it exists

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Engine .gitignore now ignores the build directory if placed in the
AutomatedTesting project

Previously it was just ignoring a `[Bb]uild` directory if it was
directly within the engine root.
This change matches the behavior of the project templates.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Renamed the ProjectUtils GetEditorDirectory function to
GetEditorExecutablePath

Added a platform specific implementation for retrieving the path to the
Editor executable in the GetEditorExectuablePath function.

It first attempts to locate the Editor via checking the project build
directory for an Editor executable before falling back to checking the
binary directory of the currently running O3DE executable.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Correct the MacOS GetEditorExecutablePath to return the Editor path

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Adding missing C++20 std::erase implementations (#5735)

There were already implementations for std::erase_if.
This adds the counterpart AZStd::erase versions

resolves #5734

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* More removals and refactors

`ShowMessage` and `CryMessageBox` return void now
Simplify code in `CSystem::WarningV`
Remove unused `CryGetTicksPerSec`
Remove unused WinBase functionality
Replace `nanosleep` call in WinBase with `std::this_thread::sleep_for`
Remove unused Win32Wrapper routines
Remove unused IFunctorBase.h and IEntityObjectListener.h
Fix VectorAndArray.cpp compilation
Use QMessageBox instead of CryMessageBox in the editor.
Remove empty ArchiveVars platform specific files

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Fix test code.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove an unused  function

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* CBaseObject and undo description removals.

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* A bunch of removals

* Remove IRenderNode
* Remove editor's KDTree
* Remove StatObjBus, InstanceStatObjEventBus::ReleaseData is redundant (
same functionality in the only available handler is triggered by
`OnCryEditorCloseScene`)
* Remove CExportManager::AddStatObj/AddMeshes/AddMesh,
IExportManager::ExportSingleStatObj
* Remove CIconManager/IIconManager::GetObject
* Remove CBaseObject::IntersectRayMesh
* Remove IIndexedMesh and related structs.
* Unused IUndoObject::GetDescription and all derived implementations.
* Unused CUndoBaseLibrary/CUndoBaseLibraryManager
* Unused Matrix34_tpl typedefs
* Legacy Xml classes cleanup

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* Remove unused `Vec3ToVector3D` helper

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

* fix - remove unused static variable

Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>

Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
Contrib Code/Editor 4 years ago
3DConnexionDriver.cpp PR comments 4 years ago
3DConnexionDriver.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AbstractGroupProxyModel.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AbstractGroupProxyModel.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AbstractSortModel.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AbstractSortModel.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AffineParts.cpp Code/Editor 4 years ago
AffineParts.h Fixing typos in comments in AffineParts.h file (#2407) 4 years ago
AutoDirectoryRestoreFileDialog.cpp Code/Editor 4 years ago
AutoDirectoryRestoreFileDialog.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AutoLogTime.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
AutoLogTime.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColorUtils.cpp Legacy cleanup (#3383) 4 years ago
ColorUtils.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupHeaderView.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupHeaderView.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupItemDelegate.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupItemDelegate.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupProxyModel.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupProxyModel.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupTreeView.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnGroupTreeView.h Code/Editor 4 years ago
ColumnSortProxyModel.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ColumnSortProxyModel.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
CryMemFile.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
DynamicArray2D.cpp Legacy cleanup, part 2 (#3659) 4 years ago
DynamicArray2D.h Legacy cleanup, part 2 (#3659) 4 years ago
EditorAutoLevelLoadTest.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EditorAutoLevelLoadTest.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
EditorUtils.cpp Legacy cleanup (#3383) 4 years ago
EditorUtils.h Legacy code cleanup - part 3 (#3903) 4 years ago
FileChangeMonitor.cpp Editor code: tidy up BOOLs,NULLs and overrides pt4. 4 years ago
FileChangeMonitor.h Editor code: tidy up BOOLs,NULLs and overrides pt4. 4 years ago
FileEnum.cpp Editor code: tidy up BOOLs,NULLs and overrides pt4. 4 years ago
FileEnum.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
FileUtil.cpp Fixed all errors with default seeds (#5489) 4 years ago
FileUtil.h [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
FileUtil_impl.cpp [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
FileUtil_impl.h [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
GdiUtil.cpp Legacy cleanup, part 2 (#3659) 4 years ago
GdiUtil.h Code/Editor 4 years ago
GeometryUtil.cpp Add AZ_BUDGET_DEFINE/AZ_BUDGET_DECLARE and remove driller 4 years ago
GeometryUtil.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GuidUtil.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
GuidUtil.h Fixes Guid formatting 4 years ago
IObservable.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Image.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Image.h Code/Editor 4 years ago
ImageASC.cpp fixes windows warnings 4 years ago
ImageASC.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageBT.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageBT.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageGif.cpp Fix clang 13 compilation problems (#5791) 4 years ago
ImageGif.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageHistogram.cpp Legacy cleanup, part 2 (#3659) 4 years ago
ImageHistogram.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImagePainter.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImagePainter.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageTIF.cpp Code/Editor 4 years ago
ImageTIF.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageUtil.cpp fixes windows warnings 4 years ago
ImageUtil.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageUtil_impl.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ImageUtil_impl.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Mailer.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Math.h Legacy cleanup (#3383) 4 years ago
MemoryBlock.cpp enabling warn format security and some fixes 4 years ago
MemoryBlock.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ModalWindowDismisser.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
ModalWindowDismisser.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
NamedData.cpp More fixes for Code/Editor 4 years ago
NamedData.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Observable.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PakFile.cpp Implemented C++23 deleted nullptr_t constructor/assignment for AZStd string classes (#4158) 4 years ago
PakFile.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PathUtil.cpp [LYN-8041] Enable relocation of the Project Game Release Layout (#5380) 4 years ago
PathUtil.h Update the FileIO Aliases (#4186) 4 years ago
PredefinedAspectRatios.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
PredefinedAspectRatios.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
RefCountBase.h Merge branch 'development' into cmake/SPEC-7179 5 years ago
StringHelpers.cpp Legacy cleanup (#3383) 4 years ago
StringHelpers.h fix for non-unity mac build (#3118) 4 years ago
TRefCountBase.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Triangulate.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
Triangulate.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UIEnumerations.cpp Editor code: tidy up BOOLs,NULLs and overrides pt4. 4 years ago
UIEnumerations.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UndoUtil.cpp Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
UndoUtil.h Fixes failing tests and linux compile error 5 years ago
Util.h more fixes, will merge fixes for w4245 and w4389 4 years ago
Variable.cpp More fixes for Code/Editor 4 years ago
Variable.h Code/Editor 4 years ago
VariablePropertyType.cpp Code/Editor 4 years ago
VariablePropertyType.h Remove ResourceSelectorHost and clean up/refactor related bits (#3050) 4 years ago
XmlArchive.cpp Cry Legacy: the Lessening (#5961) 4 years ago
XmlArchive.h Cry Legacy: the Lessening (#5961) 4 years ago
XmlTemplate.cpp Editor code: tidy up BOOLs,NULLs and overrides pt4. 4 years ago
XmlTemplate.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
bitarray.h Code/Editor 4 years ago
fastlib.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
smartptr.h Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago