Elaztek Developer Hub
Blamite Game Engine - Foundry (Stub Executable)  00361.08.25.22.0004.blamite
A small stub executable used to launch the Foundry editor.
main.cpp File Reference
#include <Windows.h>
#include <Strings/components/logger/logger.h>
#include <HEKFoundry/components/settings/config/config.h>
#include "components/modules/modules.h"
#include "components/modules/keystone/keystone.h"

Functions

bool startup ()
 Performs all Foundry startup tasks. More...
 
void cleanup ()
 Performs all Foundry cleanup tasks. More...
 
int main (int args_count, char *args[])
 Entry point for foundry.exe. More...
 

Function Documentation

◆ cleanup()

void cleanup ( )

Performs all Foundry cleanup tasks.

◆ main()

int main ( int  args_count,
char *  args[] 
)

Entry point for foundry.exe.

Parameters
args_count- The number of command-line arguments passed to the application.
args- The arguments passed to the application.
Returns
The application exit code, will be 0 when exiting without any error.

◆ startup()

bool startup ( )

Performs all Foundry startup tasks.

Returns
true if initialization completed successfully, or false if an unrecoverable error was encountered. If this function returns false, the program should exit.