Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::test::TestApp Class Reference
Inheritance diagram for smlt::test::TestApp:
smlt::Application

Public Member Functions

 TestApp (const AppConfig &config)
 
- Public Member Functions inherited from smlt::Application
 Application (const AppConfig &config)
 
int32_t run ()
 
int32_t run (int argc, char *argv[])
 
bool initialized () const
 
ProcessID process_id () const
 
smlt::thread::ThreadID thread_id () const
 
int64_t ram_usage_in_bytes () const
 
uint32_t stage_node_pool_capacity () const
 
uint32_t stage_node_pool_capacity_in_bytes () const
 
bool run_frame ()
 
void run_update (float dt)
 
void run_fixed_updates ()
 
void request_frame_time (float ms)
 
void start_coroutine (std::function< void()> func)
 
void update_coroutines ()
 
void stop_all_coroutines ()
 
void stop_running ()
 
bool is_shutting_down () const
 
void shutdown ()
 
LoaderPtr loader_for (const Path &filename, LoaderHint hint=LOADER_HINT_NONE)
 
LoaderPtr loader_for (const std::string &loader_name, const Path &filename)
 
LoaderTypePtr loader_type (const std::string &loader_name) const
 
void register_loader (LoaderTypePtr loader_type)
 
bool activate_language (const std::string &language_code)
 
std::string active_language () const
 
unicode translated_text (const unicode &source_text)
 
 S_DEFINE_PROPERTY (window, &Application::window_)
 
 S_DEFINE_PROPERTY (data, &Application::data_carrier_)
 
 S_DEFINE_PROPERTY (scenes, &Application::scene_manager_)
 
 S_DEFINE_PROPERTY (args, &Application::args_)
 
 S_DEFINE_PROPERTY (config, &Application::config_)
 
 S_DEFINE_PROPERTY (stage_node_pool, &Application::node_pool_)
 
 S_DEFINE_PROPERTY (shared_assets, &Application::asset_manager_)
 
 S_DEFINE_PROPERTY (time_keeper, &Application::time_keeper_)
 
 S_DEFINE_PROPERTY (stats, &Application::stats_)
 
 S_DEFINE_PROPERTY (vfs, &Application::vfs_)
 
 S_DEFINE_PROPERTY (sound_driver, &Application::sound_driver_)
 

Additional Inherited Members

- Protected Member Functions inherited from smlt::Application
bool _call_init ()
 

The documentation for this class was generated from the following file: