 |
Blamite Game Engine - blam!
00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
|
Go to the documentation of this file.
5 #define IDC_ERR_SAFEMODE 3
7 #define IDD_FORMVIEW 101
9 #define firstboot_notice 102
11 #define IDD_ABOUTBOX 103
12 #define IDC_POINTER 104
13 #define IDD_PROPPAGE_MEDIUM 106
17 #define IDD_FIRSTBOOT_NOTICE 115
18 #define error_notice 118
19 #define IDD_ENGINE_INFORMATION 120
21 #define IDR_CSS_STYLE 127
22 #define IDR_REPORT_TEMPLATE 128
23 #define IDR_ENGINE_CFG 129
24 #define IDR_PLACEHOLDERS_XML 130
25 #define IDR_LOG_TEMPLATE_H2V 133
26 #define IDR_LOG_TEMPLATE_NEW 134
27 #define IDR_CON_COL_BUNGIE 135
28 #define IDR_CON_COL_NEW 136
29 #define IDR_CSS_STYLE_W95 138
30 #define IDR_CSS_STYLE_PLAIN 139
31 #define IDR_CSS_STYLE_VSDARK 140
32 #define IDB_THEME_DEFAULT_ICON 141
33 #define IDB_THEME_PLAIN_ICON 142
34 #define IDB_THEME_VSDARK_ICON 143
35 #define IDB_THEME_WIN95_ICON 144
36 #define IDR_GLOBALS_XML 146
38 #define IDR_DEBUG_MENU_INIT_XML 147
39 #define IDD_DIALOG1 148
40 #define IDD_SENTRY_EVENT_NOTICE 148
41 #define IDR_CSS_STYLE_BLAM 151
43 #define IDB_THEME_BLAM_ICON 152
45 #define IDR_GAME_ENGINE_TEXT_XML 153
47 #define IDR_MENU_BAR_INIT_XML 154
48 #define IDC_BLAMITE 155
49 #define IDC_BLAMITE_CURSOR 155
50 #define IDD_SPLASH_TEMP 156
51 #define IDD_DIALOG2 158
52 #define IDD_RASTERIZER 158
53 #define IDC_BUTTON1 1001
54 #define IDC_ERR_DONT_SHOW_AGAIN 1001
56 #define IDC_MFCBUTTON1 1004
57 #define IDC_ERR_CONTINUE 1004
58 #define IDC_ERR_EXIT 1005
59 #define IDC_RICHEDIT21 1006
60 #define IDC_ERR_MESSAGE 1006
61 #define IDC_ERR_MORE_INFO 1007
62 #define IDC_MFCVSLISTBOX1 1009
63 #define IDC_ERR_MACHINE_INFO 1009
64 #define IDC_LIST1 1010
65 #define IDC_BUTTON2 1011
66 #define IDC_COMBO1 1018
67 #define IDC_TREE1 1020
68 #define lbl_notice_message 1027
69 #define EI_DUMP_TO_FILE 1028
70 #define EI_GBOX_ENGINE_INFO 1029
71 #define EI_GBOX_GAME_INFO 1030
72 #define EI_GBOX_ENGINE_SETTINGS 1031
73 #define EI_UI_VERSION 1032
74 #define IDC_AB_COPYRIGHT 1033
75 #define IDC_AB_VERSION_TITLE 1034
76 #define EI_ENGINE_VER 1035
77 #define IDC_AB_ENGINE_INFO 1035
78 #define EI_PRODUCT_ID 1036
79 #define EI_PLATFORM 1037
80 #define EI_CACHE_DIR 1038
81 #define IDC_CHECK1 1039
82 #define EI_DEV_MODE_ENABLED 1039
83 #define FT_CB_ITALIC 1039
84 #define EI_REL_TYPE 1040
86 #define EI_GAME_TITLE 1041
87 #define EI_PUBLISHER 1042
88 #define FT_CB_UNDERLINE 1042
89 #define EI_DEVELOPER 1043
90 #define FT_CB_STRIKEOUT 1043
91 #define EI_AFFILIATES 1044
92 #define EI_COPYRIGHT 1045
93 #define FT_TB_HEIGHT 1046
94 #define EI_MOVIES_DIR 1046
95 #define FT_TB_WIDTH 1047
96 #define FT_SLIDE_HEIGHT 1048
97 #define FT_SLIDE_WIDTH 1049
98 #define FT_CBOX_ESCAPEMENT 1050
99 #define FT_CBOX_ORIENTATION 1051
100 #define FT_TB_WEIGHT 1052
101 #define FT_SLIDE_WEIGHT 1053
102 #define FT_CBOX_CHARSET 1054
103 #define FT_CBOX_OUTPREC 1055
104 #define FT_CBOX_CLIPPREC 1056
105 #define FT_CBOX_QUALITY 1057
106 #define FT_CBOX_PITCHFAM 1058
107 #define FT_CBOX_PITCH 1058
108 #define FT_TB_PREVIEWTEXT 1059
109 #define FT_REFRESH 1060
110 #define FT_FONT_PREVIEW_BOX 1061
111 #define FT_TB_FONTNAME2 1062
112 #define FT_TB_FONTNAME 1062
113 #define FT_CBOX_FAMILY 1063
114 #define IDC_ERR_MSG 1063
115 #define IDC_ERR_MSG_EDITBOX 1063
116 #define FT_TB_ORIENTATION 1064
117 #define IDC_SENTRY_EVENT_ID 1064
118 #define FT_SLIDE_ORIENTATION 1065
119 #define IDC_SPLASH_TEMP_TEXT 1065
120 #define FT_TB_ESCAPEMENT 1070
121 #define FT_SLIDE_ESCAPEMENT 1071
122 #define ID_FILE_EXIT 40001
123 #define ID_BUTTON2 40002
124 #define ID_BUTTON3 40004
125 #define ID_BUTTON4 40005
126 #define ID_BUTTON7 40009
127 #define ID_SPIN2 40010
128 #define ID_CHECK2 40011
129 #define ID_COMBO2 40012
130 #define ID_COMBO3 40013
131 #define ID_PROGRESS2 40014
132 #define ID_BUTTON8 40015
133 #define ID_COMBO4 40016
134 #define ID_EDIT2 40017
135 #define ID_HELP_ABOUT 40018
136 #define ID_HELP_CREDITS 40019
137 #define ID_TEST_IDD 40020
138 #define ID_TEST_IDD40021 40021
139 #define ID_TEST_SHOW_FIRSTBOOT 40022
140 #define ID_TEST_ERROR 40023
141 #define ID_TEST_FONTTEST 40024
142 #define ID_TEST_RESTOREIMGUI 40027
143 #define IDC_ERR_PROBLEM_LABEL 65535
144 #define IDC_ERR_MACHINE_INFO_LABEL 65535
148 #ifdef APSTUDIO_INVOKED
149 #ifndef APSTUDIO_READONLY_SYMBOLS
150 #define _APS_NEXT_RESOURCE_VALUE 160
151 #define _APS_NEXT_COMMAND_VALUE 40028
152 #define _APS_NEXT_CONTROL_VALUE 1066
153 #define _APS_NEXT_SYMED_VALUE 101
#define IDR_MENU1
Definition: resource.h:10
BLAM void Shutdown()
Shuts down the Discord API.
Definition: discord.cpp:78
BLAM void MainLoop()
Main loop for the Discord API.
Definition: discord.cpp:68
void ClearCachedFiles()
Clears all files from the cache.
Definition: cache.cpp:81
BLAM void RegisterBuiltinCommands()
Registers all hard-coded engine commands.
Definition: console.cpp:365
BLAM BlamConfigurationFile * GetEngineConfiguration()
Retrieves the main engine configuration file.
Definition: config.cpp:60
BLAM void InitializeModules()
Definition: modules.cpp:6
#define ENGINE_CFG_SECTION(section_name)
Macro to quickly access a configuration section from the engine configuration file.
Definition: config.h:27
UINT16 port
Definition: socket.h:16
BLAM void AboutDialogProcedure(HINSTANCE hInst, HWND hWnd)
Dialog procedure for the About dialog.
Definition: about.cpp:14
BLAM bool Init()
Definition: socket.cpp:248
const wchar_t * window_name
Main window name (replaces what used to be called 'ver_conv').
Definition: main.cpp:64
HINSTANCE hInst
Application instance handle.
Definition: main.cpp:62
BLAM void LogEvent(std::string message)
Logs a message to the log and/or console.
Definition: aliases.cpp:130
@ DataRoot
The root of all game engine data. Defaults to ./
BLAM HMODULE GetEngineDLLHandle()
Retrieves the module handle for the engine.
Definition: main.cpp:564
SDL_MouseMotionEvent motion
Mouse motion event data.
Definition: SdlEmulationLayer.h:739
SDL_MouseButtonEvent button
Mouse button event data.
Definition: SdlEmulationLayer.h:740
BLAM void StartSentry()
Definition: sentry.cpp:42
BLAM void LoadDefaultClasses()
Loads all built-in tag classes available to the engine.
Definition: tagclass.cpp:118
BLAM UINT32 ClientHelloMessage(UINT8 *buffer)
Definition: messages.cpp:116
BLAM void FirstbootDialogProcedure(HINSTANCE hInst, HWND hWnd)
Dialog procedure for the Firstboot dialog.
Definition: firstboot.cpp:15
BLAM BlamGlobalUpdateResult UpdateGlobal(std::string name, std::string new_value)
Updates the value of a String global.
Definition: globals.cpp:574
BLAM void TickThread()
Function containing the tick loop.
Definition: tick.cpp:120
BLAM void ProcessSDLEvent(SDL_Event event)
Passes an SDL event to ImGUI for proper handling.
Definition: imgui.cpp:216
@ Log
Writes the error to the game log.
Definition: errors.h:16
BLAM HWND GetWin32MainWindowHandle()
Retrieves the main window handle of the application.
Definition: main.cpp:555
BLAM void HandleWindowReisze(int width, int height)
Instructs OGRE to handle a window resize.
Definition: ogre.cpp:497
BLAM int EngineThreadInit()
Performs any additional engine initialization that needs to be called within the engine loop thread.
Definition: main.cpp:482
UINT8 * socketBuffer
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:67
BLAM bool LoadGlobalsFromFile()
Loads any globals from #GVARS_FILE.
Definition: globals.cpp:202
#define ID_TEST_FONTTEST
Definition: resource.h:141
BLAM void Initialize()
Initializes the Discord API.
Definition: discord.cpp:32
UINT32 bytesReceived
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:70
BLAM void linearAllocCreate(Blam::LinearAllocator *alloc, UINT64 size)
Definition: socket.cpp:157
BLAM void Cleanup()
Releases all font package data from memory.
Definition: fonts.cpp:754
BLAM void ShutdownSentry()
Definition: sentry.cpp:109
#define USER_DATA_PATH(path)
Macro to quickly access a user data folder.
Definition: config.h:41
BLAM void LoadExtensions()
Attempts to load all available extensions.
Definition: extensions.cpp:29
BLAM void RenderThread()
Function used to handle the render thread.
Definition: ogre.cpp:422
#define IDD_PROPPAGE_MEDIUM
Definition: resource.h:13
#define ID_TEST_RESTOREIMGUI
Definition: resource.h:142
bool use_separate_render_thread
Whether or not to perform rendering tasks on a separate thread.
Definition: main.cpp:76
Blam::LinearAllocator allocator
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:69
#define ID_TEST_SHOW_FIRSTBOOT
Definition: resource.h:139
BLAM void ProcessSDLEvents(SDL_Event *event)
Function used to allow OGRE to handle SDL events.
Definition: ogre.cpp:476
HMODULE dll_handle
The module handle of the Engine library.
Definition: main.cpp:59
BLAM BlamResult Initialize()
Initialize ImGUI.
Definition: imgui.cpp:21
BLAM void PrepareTick()
Prepares required data for the tick loop.
Definition: tick.cpp:34
#define ENGINE_VERSION
Definition: version_data.h:32
BLAM void RunInitCommands()
Attempts to read init.txt and runs any commands added to it.
Definition: console.cpp:406
#define ID_HELP_ABOUT
Definition: resource.h:135
#define ENGINE_CFG
Macro to allow quicker access to the main configuration file.
Definition: config.h:20
bool isConnected
Whether or not the socket is currently connected.
Definition: socket.cpp:14
BLAM bool Send(Socket *socket, UINT8 *packet, UINT32 packetSize, Endpoint *endpoint)
Definition: socket.cpp:304
Add a fourth parameter to bake specific font ranges NULL
Definition: README.txt:57
#define ENGINE_DATA_PATH(path)
Macro to quickly access a game engine data folder.
Definition: config.h:34
BLAM void UnloadExtensions()
Unloads all loaded extensions.
Definition: extensions.cpp:128
HCURSOR cursor
Main window cursor.
Definition: main.cpp:63
BLAM bool ShowEngineFirstbootDialog()
Shows the engine first boot notice dialog.
Definition: keystone.cpp:93
std::thread render_thread
The thread used for rendering.
Definition: main.cpp:75
BLAM void ShowErrorDialog(const char *title, const char *message)
Shows a simple error dialog created using ImGUI.
Definition: debug_ui.cpp:167
BLAM void RegisterSignalExceptions()
Registers all signal handlers.
Definition: errors.cpp:58
BLAM bool Start(Socket *socket, LinearAllocator *allocator)
Definition: socket.cpp:263
SDL_KeyboardEvent key
Keyboard event data.
Definition: SdlEmulationLayer.h:738
BLAM UINT8 * linearAlloc(Blam::LinearAllocator *alloc, UINT64 size)
Definition: socket.cpp:164
#define ID_FILE_EXIT
Definition: resource.h:122
BLAM void GenerateAllPlugins(bool require_switch)
Instructs the engine to generate Assembly/Guerilla plugins at startup.
Definition: tagclass.cpp:89
@ DefaultConfigs
Directory containing default configuration files. Defaults to ./content/blam/default_configs/
BLAM bool Initialize()
Initializes the OGRE rendering library.
Definition: ogre.cpp:88
#define ID_HELP_CREDITS
Definition: resource.h:136
BLAM void ErrorDialogProcedure(HINSTANCE hInst, HWND hWnd, const char *error_text)
Dialog procedure for the Error dialog.
Definition: error_notice.cpp:37
Blam::Network::Socket sock
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:68
BLAM void EndTickLoop()
Terminates the tick loop.
Definition: tick.cpp:193
BLAM void Shutdown()
Flushes the queue and may later be used to perform other shutdown tasks.
Definition: queue.cpp:39
BLAM void Shutdown()
Shuts down ImGUI and cleans up any data related to it.
Definition: imgui.cpp:196
std::thread tick_thread
The thread used to handle game tick.
Definition: main.cpp:77
BOOL APIENTRY DllMain(HMODULE module_handle, DWORD reason, LPVOID reserved)
Definition: main.cpp:80
BLAM BlamResult LoadEngineConfiguration()
Loads the default game engine configuration (engine.cfg).
Definition: config.cpp:13
BLAM bool HasTickStopped()
Determines whether or not the tick loop has finished terminating.
Definition: tick.cpp:198
BLAM void ShowLastErrorInfo(const char *function, BlamErrorDisplayType display_type)
Displays the last error information from the Windows APIs.
Definition: errors.cpp:67
BLAM void MainLoop()
Function for the engine's main loop.
Definition: main.cpp:499
#define ENGINE_TEXT(string_id)
Definition: engine_text.h:7
BLAM void StartFlushThread()
Starts the logger queue flush thread.
Definition: queue.cpp:231
BLAM bool MainWindowProcedure(SDL_Event event)
Window procedure for the main application window.
Definition: main.cpp:90
#define ID_TEST_ERROR
Definition: resource.h:140
SDL_Keycode sym
SDL virtual key code - see SDL_Keycode for details.
Definition: SdlEmulationLayer.h:668
#define ID_TEST_IDD
Definition: resource.h:137
const IMGUI_API char * GetVersion()
Definition: imgui.cpp:3235
Ogre::int32 y
Y coordinate, relative to window.
Definition: SdlEmulationLayer.h:699
BLAM void CleanupTagData()
Releases all memory used by tags.
Definition: tags.cpp:135
Ogre::uint32 type
Event type, shared with all events.
Definition: SdlEmulationLayer.h:737
BLAM bool LoadGameEngineStrings()
Loads all strings from the default game engine text file.
Definition: engine_text.cpp:11
BLAM void CleanupEngineResources()
Instructs the engine to clean up any resources.
Definition: main.cpp:512
Ogre::int32 x
X coordinate, relative to window.
Definition: SdlEmulationLayer.h:698
@ DataRoot
The root of all user data. Defaults to BlamStrings::Utils::IO::GetEngineDataRoot().
BLAM void FontTestDialogProcedure(HINSTANCE hInst, HWND hWnd)
Dialog procedure for the Font Test dialog.
Definition: font_test.cpp:14
BLAM void LoadExtensionClasses()
Loads all tag classes that are included through engine extensions.
Definition: tagclass.cpp:130
Definition: SdlEmulationLayer.h:735
BLAM void FlushThread()
Function for the logger queue flush thread.
Definition: queue.cpp:215
BLAM std::string LookupErrorString(int error_code)
Finds a string message associated with a given error code.
Definition: engine_text.cpp:46
UINT32 address
Definition: socket.h:15
BLAM void Initialize()
Initializes the logger queue.
Definition: queue.cpp:32
BLAM void SetPresenceStatus(std::string details, std::string status)
Updates the current Discord rich presence status.
Definition: discord.cpp:88
#define IDC_POINTER
Definition: resource.h:12
BLAM int StartEngine(int args_count, char *args[], SDL_Window *window)
Entry point for the engine.
Definition: main.cpp:220
BLAM void Initialize()
Prepares the logger for use.
Definition: logger.cpp:127
SDL_Window * engine_window
Pointer to the window handle that the engine is utilizing.
Definition: main.cpp:58
BLAM void Cleanup()
Cleans up all console command data.
Definition: console.cpp:355
Blam::Endpoint from
– TO BE FILLED IN BY VERTIGO –
Definition: main.cpp:71
SDL_Keysym keysym
The key that was pressed or released.
Definition: SdlEmulationLayer.h:685
BLAM void LoadAllFonts()
Loads all available font packages within the fonts directory.
Definition: fonts.cpp:127
BLAM void Shutdown()
Shuts down OGRE and cleans up any memory used by it.
Definition: ogre.cpp:451
BLAM SDL_Window * GetMainWindowHandle()
Retrieves the main window handle of the application, when using SDL.
Definition: main.cpp:550
BLAM void RenderLoop()
Function to handle the render loop.
Definition: ogre.cpp:273
std::thread log_flush_thread
The thread used for flusing log contents to disk.
Definition: main.cpp:78
BLAM void ReleaseModules()
Definition: modules.cpp:12