Elaztek Developer Hub
Blamite Game Engine - Tool (Library)
A command-line utility that aids in the creation of Blamite Cache (.map) Files.
console.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 #include <vector>
5 
6 #include "ToolCommand.hpp"
7 
8 #ifdef TOOL_LIB_EXPORTS
9 #define TOOL_LIB_API __declspec(dllexport)
10 #else
11 #define TOOL_LIB_API __declspec(dllimport)
12 #endif
13 
18 {
23 
33  TOOL_LIB_API int ExecuteCommandLine(std::vector<std::string> args, std::string name_label);
34 
40  TOOL_LIB_API std::vector<ToolCommand*> GetRegisteredCommands();
41 
49  TOOL_LIB_API ToolCommand* GetCommand(std::string name);
50 }
BulkImportModelFolderCommand.hpp
CompileTagCommand
Class for the Compile Tag command.
Definition: CompileTagCommand.hpp:24
DecompileTagCommand.hpp
TOOL_LIB_API
#define TOOL_LIB_API
Definition: console.h:11
CompileShadersCommand.hpp
HelpCommand::execute
int execute(std::vector< std::string > args)
Executes the command.
Definition: HelpCommand.hpp:44
ChooseProjectCommand.hpp
DecompileTagCommand
Class for the Decompile Tag command.
Definition: DecompileTagCommand.hpp:23
BlamTool::Console
Namespace containing functions for Tool's command-line input.
Definition: console.h:17
ListProjectsCommand
Class for the list-projects command.
Definition: ListProjectsCommand.hpp:21
console.h
GenerateScriptProjectCommand.hpp
ToolCommand::execute
virtual int execute(std::vector< std::string > args)
Executes the command.
Definition: ToolCommand.hpp:62
version.h
BlamTool::Console::GetCommand
TOOL_LIB_API ToolCommand * GetCommand(std::string name)
Retrieves a command based on its name.
Definition: console.cpp:129
MaterialCommand
Class for the Material command.
Definition: MaterialCommand.hpp:34
GenerateGameStubProjectCommand.hpp
ShadercCommand
Class for the Shaderc command.
Definition: ShadercCommand.hpp:21
ChooseProjectCommand
Class for the choose-project command.
Definition: ChooseProjectCommand.hpp:23
ToolCommand.hpp
BitmapsCommand.hpp
PrepareSurfaceShaderCommand
Class for the Prepare Surface Shader command.
Definition: PrepareSurfaceShader.hpp:22
RenderModelCommand
Class for the render-model command.
Definition: RenderModelCommand.hpp:28
BulkImportModelFolderCommand
Class for the bulk-import-model-folder command.
Definition: BulkImportModelFolderCommand.hpp:26
ListProjectsCommand.hpp
BlamTool::GetVersion
TOOL_LIB_API BlamVersion GetVersion()
Retrieves the current version of Tool.
Definition: version.cpp:8
HelpCommand
Class for the Help command.
Definition: HelpCommand.hpp:19
BlamTool::Console::RegisterDefaultCommands
TOOL_LIB_API void RegisterDefaultCommands()
Registers all default Tool commands.
Definition: console.cpp:28
HelpCommand::SetApplicationLabelName
void SetApplicationLabelName(std::string name)
Updates the application name label.
Definition: HelpCommand.hpp:39
ShowCommandGuide
int ShowCommandGuide(std::string app_name_label)
Definition: console.cpp:57
ShadercCommand.hpp
CompileShadersCommand
Class for the Compile Shaders command.
Definition: CompileShadersCommand.hpp:25
SetProjectCommand
Class for the set-project command.
Definition: SetProjectCommand.hpp:27
MaterialCommand.hpp
BuildCommand
Class for the build command.
Definition: BuildCommand.hpp:27
ParseScriptsCommand
Class for the parse-scripts command.
Definition: ParseScriptsCommand.hpp:28
GenerateGameStubProjectCommand
Class for the generate-game-stub-project command.
Definition: GenerateGameStubProjectCommand.hpp:32
BuildCommand.hpp
ExportTagClassCommand
Class for the Export Tag Class command.
Definition: ExportTagClassCommand.hpp:25
SetProjectCommand.hpp
ExportTagClassCommand.hpp
BitmapsCommand
Class for the Bitmaps command.
Definition: BitmapsCommand.hpp:30
GenerateScriptProjectCommand
Class for the generate-script-project command.
Definition: GenerateScriptProjectCommand.hpp:25
ParseScriptsCommand.hpp
BlamTool::Console::GetRegisteredCommands
TOOL_LIB_API std::vector< ToolCommand * > GetRegisteredCommands()
Retrieves the list of registered commands.
Definition: console.cpp:124
CompileTagCommand.hpp
GUICommand
Class for the GUI command.
Definition: GUICommand.hpp:23
PrepareSurfaceShader.hpp
ToolCommand
Base class representing a Tool command.
Definition: ToolCommand.hpp:15
HelpCommand.hpp
commands
std::vector< ToolCommand * > commands
Definition: console.cpp:26
GUICommand.hpp
BlamTool::Console::ExecuteCommandLine
TOOL_LIB_API int ExecuteCommandLine(std::vector< std::string > args, std::string name_label)
Parses and executes a given list of command-line arguments.
Definition: console.cpp:83
RenderModelCommand.hpp