mirror of
https://github.com/open-goal/jak-project
synced 2026-06-05 11:19:05 -04:00
9f53edae7a
This adds a new ImGUI menu to help filter out the clutter on screen. https://user-images.githubusercontent.com/13153231/210192912-b1c28319-bacb-449c-ad7f-e7308fb75f50.mp4 This also: - moves the imgui display bool into a game specific config file (you can hide it in jak1, and not in jak2) - the config file also persists the settings from this menu (except the filters for now, future TODO) - there is a new `ignore_imgui_hide_keybind` in this file to ignore hiding it when you press Alt
12 lines
402 B
C++
12 lines
402 B
C++
#include <string>
|
|
|
|
namespace str_util {
|
|
bool contains(const std::string& s, const std::string& substr);
|
|
bool starts_with(const std::string& s, const std::string& prefix);
|
|
std::string ltrim(const std::string& s);
|
|
std::string rtrim(const std::string& s);
|
|
std::string trim(const std::string& s);
|
|
int line_count(const std::string& str);
|
|
bool valid_regex(const std::string& regex);
|
|
} // namespace str_util
|