Elaztek Developer Hub
Blamite Game Engine - blam!  00398.09.22.23.2015.blamite
The core library for the Blamite Game Engine.
api.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <string>
4 
5 #ifdef BLAM_EXPORTS
6 #define BLAM_EXT_API __declspec(dllexport)
7 #else
8 #define BLAM_EXT_API __declspec(dllimport)
9 #endif
10 
11 class BlamTagClass;
12 
16 namespace Blam::API::v1
17 {
21  namespace Logger
22  {
30  BLAM_EXT_API void LogEvent(std::string message);
31  }
32 
36  namespace Tags
37  {
43  BLAM_EXT_API void LoadScenarioTag(std::string path);
44 
52  BLAM_EXT_API BlamTagClass* GetTagClass(std::string class_name);
53  }
54 
60  namespace HS
61  {
62  void Abort(std::string confirm = "");
63  void Classify(std::string command);
64  void Cls();
65  void Crash(std::string confirm);
66  void CreateCmdObj();
67  void DebugMenuRebuild();
68  void Drop(std::string tag_name);
69  void DxRenderTargetClear(bool enable);
70  void Explore(std::string mode, std::string path);
71  void GeneratePlugins();
72  void H2Help(std::string command);
73  void H2Print(std::string message);
74  void Help();
75  void History();
76  void ListColors();
77  void ListLevels();
78  void ListenerBugCheck();
79  void MapName(std::string scenario_name);
80  void NoU();
81  void OpenGameDir();
82  void OpenWebURL(std::string url);
83  void Print(std::string message);
84  void Quit();
86  void ScreenRes(std::string resolution);
87  void Screenshot(std::string filename = "");
88  void ScriptDoc(bool quiet = false);
89  void SentryTest();
90  void ShowStats();
91  void TagFieldSizes();
92  void TagLoadForce(std::string tag_path);
93  void ToggleImguiWindow(std::string window_name);
94  void Version();
95  void Win32DialogTest();
96  }
97 }
Blam::API::v1::HS::MapName
void MapName(std::string scenario_name)
Definition: hs.cpp:99
Blam::API::v1::HS::Classify
void Classify(std::string command)
Definition: hs.cpp:19
window_name
const wchar_t * window_name
Main window name (replaces what used to be called 'ver_conv').
Definition: main.cpp:71
Blam::API::v1::HS::Win32DialogTest
void Win32DialogTest()
Definition: hs.cpp:179
Blam::API::v1::HS::ToggleImguiWindow
void ToggleImguiWindow(std::string window_name)
Definition: hs.cpp:169
Blam::API::v1::HS::Cls
void Cls()
Definition: hs.cpp:24
Blam::API::v1::HS::H2Print
void H2Print(std::string message)
Definition: hs.cpp:69
Blam::API::v1::HS::NoU
void NoU()
Definition: hs.cpp:104
Blam::API::v1::HS::Drop
void Drop(std::string tag_name)
Definition: hs.cpp:44
Blam::API::v1::HS::OpenGameDir
void OpenGameDir()
Definition: hs.cpp:109
Blam::API::v1::HS::SentryTest
void SentryTest()
Definition: hs.cpp:149
Blam::API::v1::HS::Quit
void Quit()
Definition: hs.cpp:124
Blam::API::v1::HS::GeneratePlugins
void GeneratePlugins()
Definition: hs.cpp:59
Blam::API::v1::HS::Crash
void Crash(std::string confirm)
Definition: hs.cpp:29
Blam::API::v1::HS::ListLevels
void ListLevels()
Definition: hs.cpp:89
Blam::API::v1::HS::ScreenRes
void ScreenRes(std::string resolution)
Definition: hs.cpp:134
Blam::API::v1::HS::TagFieldSizes
void TagFieldSizes()
Definition: hs.cpp:159
BlamContentSource::Tags
@ Tags
The engine will load all content from tags.
Blam::API::v1::HS::ListColors
void ListColors()
Definition: hs.cpp:84
Blam::API::v1::Tags::LoadScenarioTag
BLAM_EXT_API void LoadScenarioTag(std::string path)
Attempts to load a scenario tag from a given tag path.
Definition: api.cpp:12
Blam::API::v1::HS::DebugMenuRebuild
void DebugMenuRebuild()
Definition: hs.cpp:39
Blam::API::v1::HS::ScriptDoc
void ScriptDoc(bool quiet=false)
Definition: hs.cpp:144
Blam::API::v1::HS::Version
void Version()
Definition: hs.cpp:174
Blam::API::v1::HS::Explore
void Explore(std::string mode, std::string path)
Definition: hs.cpp:54
Blam::API::v1
Namespace for version 1 of the Blamite Game Engine API.
Definition: api.h:16
Blam::API::v1::HS::Abort
void Abort(std::string confirm="")
Definition: hs.cpp:5
Blam::API::v1::Tags::GetTagClass
BLAM_EXT_API BlamTagClass * GetTagClass(std::string class_name)
Retrieves a tag class from either its short or long class name.
Definition: api.cpp:17
Blam::API::v1::HS::H2Help
void H2Help(std::string command)
Definition: hs.cpp:64
Blam::API::v1::HS::OpenWebURL
void OpenWebURL(std::string url)
Definition: hs.cpp:114
Blam::API::v1::HS::Help
void Help()
Definition: hs.cpp:74
Blam::API::v1::HS::CreateCmdObj
void CreateCmdObj()
Definition: hs.cpp:34
Blam::API::v1::Logger::LogEvent
BLAM_EXT_API void LogEvent(std::string message)
Writes a message to the game engine log.
Definition: api.cpp:7
Blam::API::v1::HS::ReloadMaterialDatablocks
void ReloadMaterialDatablocks()
Definition: hs.cpp:129
Blam::API::v1::HS::ShowStats
void ShowStats()
Definition: hs.cpp:154
BLAM_EXT_API
#define BLAM_EXT_API
Definition: api.h:8
Blam::API::v1::HS::TagLoadForce
void TagLoadForce(std::string tag_path)
Definition: hs.cpp:164
Blam::API::v1::HS::Print
void Print(std::string message)
Definition: hs.cpp:119
Blam::API::v1::HS::Screenshot
void Screenshot(std::string filename="")
Definition: hs.cpp:139
Blam::API::v1::HS::ListenerBugCheck
void ListenerBugCheck()
Definition: hs.cpp:94
Blam::API::v1::HS::History
void History()
Definition: hs.cpp:79
BlamTagClass
Class representing a tag class.
Definition: tags.h:131
Blam::API::v1::HS::DxRenderTargetClear
void DxRenderTargetClear(bool enable)
Definition: hs.cpp:49