Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/engine tools #7

Merged
merged 92 commits into from
Apr 15, 2024

feat: add base files and code for chisel

63195c0
Select commit
Loading
Failed to load commit list.
Merged

Feat/engine tools #7

feat: add base files and code for chisel
63195c0
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Apr 15, 2024 in 0s

179 new issues (0 max.) of at least minor severity.

Annotations

Check warning on line 7 in Source/Engine/Core/Config.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/Core/Config.cs#L7

Implement 'IEquatable<T>' in value type 'ConVar'.

Check notice on line 37 in Source/Engine/Core/Config.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/Core/Config.cs#L37

Remove the unused local variable 'path'.

Check failure on line 39 in Source/Engine/Core/Engine.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/Core/Engine.cs#L39

Change the visibility of 'IsToolsMode' or make it 'const' or 'readonly'.

Check notice on line 30 in Source/Engine/Data/ModelResource.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/Data/ModelResource.cs#L30

Remove the field 'm_SceneTemplate' and declare it as a local variable in the relevant methods.

Check notice on line 49 in Source/Engine/GUI/DevUI/GameConsole.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/GUI/DevUI/GameConsole.cs#L49

Remove the array type; it is redundant.

Check notice on line 92 in Source/Engine/ToolsFramework/Gui/ModuleLoadPanel.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/ToolsFramework/Gui/ModuleLoadPanel.cs#L92

'o' is not used. Use discard parameter instead.

Check failure on line 22 in Source/Engine/ToolsFramework/ToolsFramework.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/ToolsFramework/ToolsFramework.cs#L22

Change the visibility of 'm_gtkApplication' or make it 'const' or 'readonly'.

Check notice on line 22 in Source/Engine/ToolsFramework/ToolsFramework.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Engine/ToolsFramework/ToolsFramework.cs#L22

Make this field 'private' and encapsulate it in a 'public' property.

Check warning on line 16 in Source/Tools/Console/MainWindow.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Tools/Console/MainWindow.cs#L16

Make 'LogBuffer' 'readonly'.

Check failure on line 37 in Source/Tools/LevelEditor/ChiselTool.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Tools/LevelEditor/ChiselTool.cs#L37

Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.

Check notice on line 17 in Source/Tools/MaterialEditor/MainWindow.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Tools/MaterialEditor/MainWindow.cs#L17

Remove this initialization to 'matedit_tb_SaveMaterial', the compiler will do that for you.

Check notice on line 19 in Source/Tools/MaterialEditor/MainWindow.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Tools/MaterialEditor/MainWindow.cs#L19

Remove this initialization to 'mat_OpenMaterialTabs', the compiler will do that for you.

Check failure on line 12 in Source/Tools/ModelConfEditor/ModelConfEditor.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Tools/ModelConfEditor/ModelConfEditor.cs#L12

Add a nested comment explaining why this method is empty, throw a 'NotSupportedException' or complete the implementation.

Check notice on line 8 in Source/Utilities/ModelCompiler/ModelConfig.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Utilities/ModelCompiler/ModelConfig.cs#L8

Make this field 'private' and encapsulate it in a 'public' property.

Check notice on line 15 in Source/Utilities/ModelCompiler/SMDData.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Utilities/ModelCompiler/SMDData.cs#L15

Make this field 'private' and encapsulate it in a 'public' property.

Check warning on line 19 in Source/Utilities/ModelCompiler/SMDData.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Utilities/ModelCompiler/SMDData.cs#L19

Implement 'IEquatable<T>' in value type 'SmdTriangle'.

Check notice on line 33 in Source/Veneer/Control.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Control.cs#L33

Remove this initialization to 'AutoSizeX', the compiler will do that for you.

Check notice on line 34 in Source/Veneer/Control.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Control.cs#L34

Remove this initialization to 'AutoSizeY', the compiler will do that for you.

Check warning on line 41 in Source/Veneer/Control.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Control.cs#L41

Make 'm_Guid' 'readonly'.

Check warning on line 9 in Source/Veneer/Controls/InputField.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Controls/InputField.cs#L9

Make 'Value' private.

Check warning on line 10 in Source/Veneer/Controls/InputField.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Controls/InputField.cs#L10

Make 'MaxChars' private.

Check warning on line 17 in Source/Veneer/Controls/InputField.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Controls/InputField.cs#L17

Remove this commented out code.

Check notice on line 13 in Source/Veneer/Controls/Menubar.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Controls/Menubar.cs#L13

Make this field 'private' and encapsulate it in a 'public' property.

Check failure on line 11 in Source/Veneer/GuiManager.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/GuiManager.cs#L11

Change the visibility of 'ShowImguiDemo' or make it 'const' or 'readonly'.

Check warning on line 22 in Source/Veneer/Panel.cs

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

Source/Veneer/Panel.cs#L22

Make 'm_StyleOptions' 'readonly'.