File main.h
FileList > engine > include > main.h
Go to the source code of this file
#include "DrawContext.h"
#include "InputContext.h"
#include "Network.h"
#include <stdbool.h>
Classes
Public Types
Public Attributes
Public Functions
Public Types Documentation
typedef ArgHandlerFn
typedef void(* ArgHandlerFn) (int argc, char **argv, int *onArg);
typedef GameInitFn
typedef void(* GameInitFn) (InputContext *, DrawContext *);
Public Attributes Documentation
variable gCmdArgs
struct CommandLineArgs gCmdArgs;
Public Functions Documentation
function EngineStart
int EngineStart (
int argc,
char ** argv,
GameInitFn init,
ArgHandlerFn argHandler
)
function Engine_ParseCmdArgs
void Engine_ParseCmdArgs (
int argc,
char ** argv,
ArgHandlerFn handlerFn
)
function GetDrawContext
DrawContext * GetDrawContext ()
function GetInputContext
InputContext * GetInputContext ()
function Mn_GetScreenHeight
int Mn_GetScreenHeight ()
function Mn_GetScreenWidth
int Mn_GetScreenWidth ()
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/include/main.h