|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
83 void DrawAttrStr(
const char* desc, std::string
const& str)
const;
Global forward declarations.
const float PREVIEW_SIZE_RATIO
void DrawAttrSpecial(bool val, const char *label) const
void UpdateDisplayLists()
Str< 50 > sde_filetime_str
int m_selected_sectionconfig
DisplayCategory(int id, std::string const &name, size_t usage)
void DrawAttrInt(const char *desc, int val) const
int m_selected_cid
Category ID.
DisplayCategoryVec m_display_categories
void Show(LoaderType type, std::string const &filter_guid="", CacheEntryPtr advertised_entry=nullptr)
int m_selected_category
Combobox position (uses display list)
const float LEFT_PANE_WIDTH
void DrawAttrFloat(const char *desc, float val) const
@ NONE
Ignore the search string and find all.
std::vector< DisplayCategory > DisplayCategoryVec
static bool CatComboItemGetter(void *data, int idx, const char **out_text)
Core data structures for simulation; Everything affected by by either physics, network or user intera...
A database of user-installed content alias 'mods' (vehicles, terrains...)
CacheEntryPtr m_advertised_entry
Always shown on top, even if not existing in modcache (i.e. dummy default skin)
void UpdateSearchParams()
LoaderType
< Search mode for ModCache::Query() & Operation mode for GUI::MainSelector
std::map< LoaderType, int > m_last_selected_entry
Stores the last manually selected entry index for each loader type.
Central state/object manager and communications hub.
CacheSearchMethod m_search_method
DisplayEntry(CacheEntryPtr entry)
Str< 50 > sde_driveable_str
std::vector< DisplayEntry > DisplayEntryVec
std::string m_filter_guid
Used for skins.
std::map< LoaderType, int > m_last_selected_cid
Last selected category-ID for each loader type.
static bool ScComboItemGetter(void *data, int idx, const char **out_text)
DisplayEntryVec m_display_entries
bool m_searchbox_was_active
std::map< LoaderType, int > m_last_selected_category
Last category-combobox position for each loader type.
Str< 500 > m_search_input
std::string m_search_string
void DrawAttrStr(const char *desc, std::string const &str) const
Str< 50 > sde_addtime_str