GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
MainLoopPriv Struct Reference

#include <GameApi_h.hh>

Collaboration diagram for MainLoopPriv:

Public Attributes

Low_SDL_Surface * screen
unsigned long long time
unsigned long long time2
unsigned long long frame_time
unsigned int avg_time
float current_time
float delta_time
unsigned int previous_frame_time
int count
int frame
std::map< std::string, std::chrono::high_resolution_clock::duration > profile_sums
std::map< std::string, int > profile_count
std::map< std::string, std::chrono::time_point< std::chrono::high_resolution_clock > > profile_start_time
int screen_width
int screen_height
int corner_x =0
int corner_y =0
int screen_rect_sx =800
int screen_rect_sy =600
int last_error =0

Member Data Documentation

◆ avg_time

unsigned int MainLoopPriv::avg_time

◆ corner_x

int MainLoopPriv::corner_x =0

◆ corner_y

int MainLoopPriv::corner_y =0

◆ count

int MainLoopPriv::count

◆ current_time

float MainLoopPriv::current_time

◆ delta_time

float MainLoopPriv::delta_time

◆ frame

int MainLoopPriv::frame

◆ frame_time

unsigned long long MainLoopPriv::frame_time

◆ last_error

int MainLoopPriv::last_error =0

◆ previous_frame_time

unsigned int MainLoopPriv::previous_frame_time

◆ profile_count

std::map<std::string, int> MainLoopPriv::profile_count

◆ profile_start_time

std::map<std::string, std::chrono::time_point<std::chrono::high_resolution_clock> > MainLoopPriv::profile_start_time

◆ profile_sums

std::map<std::string, std::chrono::high_resolution_clock::duration > MainLoopPriv::profile_sums

◆ screen

Low_SDL_Surface* MainLoopPriv::screen

◆ screen_height

int MainLoopPriv::screen_height

◆ screen_rect_sx

int MainLoopPriv::screen_rect_sx =800

◆ screen_rect_sy

int MainLoopPriv::screen_rect_sy =600

◆ screen_width

int MainLoopPriv::screen_width

◆ time

unsigned long long MainLoopPriv::time

◆ time2

unsigned long long MainLoopPriv::time2

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