shengine pre-release
shengine by mrsinho
Loading...
Searching...
No Matches
shEditor.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Declares the shEditorMain function for interacting with the engine from the editor.
4 *
5 * The shEditorMain function is responsible for the main functionality of the editor, interacting with the @ref ShEngine structure.
6 */
7
8#ifndef SH_EDITOR_H
9#define SH_EDITOR_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif//__cplusplus
14
15#include "shengine/shEngine.h"
16
17
18
19/**
20 * @brief Main function for the editor to interact with the `shengine` module.
21 *
22 * @param p_engine Valid pointer to a @ref ShEngine structure.
23 * @return Integer status code indicating the success or failure of the operation.
24 */
25extern int shEditorMain(
26 ShEngine* p_engine
27);
28
29
30
31#ifdef __cplusplus
32}
33#endif//__cplusplus
34
35#endif//SH_EDITOR_H
int shEditorMain(ShEngine *p_engine)
Main function for the editor to interact with the shengine module.
Definition shEditor.c:24
Declares the ShEngine structure and associated functions for managing the engine.
Represents the ShEngine structure, which is the main instance of the engine.
Definition shEngine.h:78