Scarab
A thin, game-agnostic 2D engine host built on the sunlight tile-map engine
Loading...
Searching...
No Matches
enginehost.cpp File Reference
#include "host/enginehost.h"
#include "lua/luacryptoapi.h"
#include "filesystem/filesystemfactory.h"
#include <chrono>
#include <fstream>
#include <filesystem>
#include <vector>
#include <nlohmann/json.hpp>
#include "general/clock.h"
Include dependency graph for enginehost.cpp:

Namespaces

namespace  Scarab
 
namespace  Scarab::Host
 

Macros

#define __INACTIVE_SPRITE_QUEUE_CHECK_MILLI   2000
 
#define __FRAME_DELTA_MILLI   ( 1000 / 60 )
 
#define __SOUND_ID_NO_AUDIO   0
 

Enumerations

enum  __EngineStateHandlers { STATE_FATAL_ERROR_HANDLING = 0 , STATE_INIT_ENGINE , STATE_STAGE_RUNNING }
 All states machine supported by game. More...
 

Macro Definition Documentation

◆ __FRAME_DELTA_MILLI

#define __FRAME_DELTA_MILLI   ( 1000 / 60 )

◆ __INACTIVE_SPRITE_QUEUE_CHECK_MILLI

#define __INACTIVE_SPRITE_QUEUE_CHECK_MILLI   2000

◆ __SOUND_ID_NO_AUDIO

#define __SOUND_ID_NO_AUDIO   0

Enumeration Type Documentation

◆ __EngineStateHandlers

All states machine supported by game.

Enumerator
STATE_FATAL_ERROR_HANDLING 
STATE_INIT_ENGINE 
STATE_STAGE_RUNNING