some valgrind bullshit
This commit is contained in:
@ -13,9 +13,9 @@
|
||||
#include <tracy/Tracy.hpp>
|
||||
#endif
|
||||
|
||||
// TODO: Graph interaction
|
||||
// - Click states to display them in the board
|
||||
// TODO: Add a move history and backspace to go back
|
||||
// TODO: Click states to display them in the board
|
||||
|
||||
// NOTE: Tracy uses a huge amount of memory. For longer testing disable Tracy.
|
||||
|
||||
auto main(int argc, char *argv[]) -> int {
|
||||
std::string preset_file;
|
||||
|
||||
@ -86,7 +86,9 @@ auto StateManager::NextPath() -> void {
|
||||
}
|
||||
|
||||
auto StateManager::FillGraph() -> void {
|
||||
#ifdef TRACY
|
||||
ZoneScoped;
|
||||
#endif
|
||||
|
||||
ClearGraph();
|
||||
|
||||
@ -178,7 +180,9 @@ auto StateManager::FindWinningStates() -> void {
|
||||
}
|
||||
|
||||
auto StateManager::FindTargetDistances() -> void {
|
||||
#ifdef TRACY
|
||||
ZoneScoped;
|
||||
#endif
|
||||
|
||||
if (springs.size() == 0 || winning_states.size() == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user