135 strncpy(buff2,
getPakDir().c_str(), 1024);
178 static bool scroll =
false;
static std::string getAudioDir()
static std::string audioDir
static unsigned long frameTimeSum
static std::vector< float > history
IMGUI_API bool Checkbox(const char *label, bool *v)
IMGUI_API bool CollapsingHeader(const char *label, const char *str_id=NULL, bool display_frame=true, bool default_open=false)
String handling utilities.
static std::string pakDir
static std::string getPakDir()
static bool getFullscreen()
IMGUI_API bool SliderFloat(const char *label, float *v, float v_min, float v_max, const char *display_format="%.3f", float power=1.0f)
static KeyboardButton keyBindings[ActionEventCount]
static unsigned long lastTime
static void setPakDir(std::string dir)
static std::string getBaseDir()
static void setFullscreen(bool f)
static void setDataDir(std::string dir)
static unsigned long getFPS()
static std::string dataDir
static void setBaseDir(std::string dir)
IMGUI_API bool InputText(const char *label, char *buf, size_t buf_size, ImGuiInputTextFlags flags=0, ImGuiTextEditCallback callback=NULL, void *user_data=NULL)
static unsigned long frameTimeSum2
static unsigned long frameCount
static void setEnabled(bool on=true)
static void setKeyBinding(ActionEvents event, KeyboardButton button)
std::string expandHomeDirectory(std::string s)
static void setAudioDir(std::string dir)
Runtime Configuration Storage.
static std::string baseDir
IMGUI_API void SameLine(int column_x=0, int spacing_w=-1)
static KeyboardButton getKeyBinding(ActionEvents event)
static void setVolume(float vol=1.0f)
IMGUI_API void Text(const char *fmt,...)
#define assertLessThan(x, y)
static unsigned long lastFrameTime
static unsigned long frameCount2
static bool gameIsRunning
IMGUI_API void PlotLines(const char *label, const float *values, int values_count, int values_offset=0, const char *overlay_text=NULL, float scale_min=FLT_MAX, float scale_max=FLT_MAX, ImVec2 graph_size=ImVec2(0, 0), size_t stride=sizeof(float))
static void setSize(glm::i32vec2 s)
IMGUI_API bool InputInt(const char *label, int *v, int step=1, int step_fast=100, ImGuiInputTextFlags extra_flags=0)
or_time_t systemTimerGet()
Read the system timer.
static glm::i32vec2 getSize()
static std::string getDataDir()