Files
oboe/test/catch.cpp
Celtic Minstrel 7f00d0c775 Change image resource type from sf::Image to sf::Texture
This includes an added optimization to the resource manager - it now uses unordered (hash) maps instead of ordered (tree) maps to keep track of loaded resources and paths, for the average constant lookup time.
2015-10-05 23:57:42 -04:00

16 lines
460 B
C++

#define CATCH_CONFIG_MAIN
#include "catch.hpp"
// After this are some globals that are referenced from common code but not defined, and not used in the test cases
#include "graphtool.hpp"
sf::RenderWindow mainPtr;
std::string scenario_temp_dir_name = "test_scenario";
cCustomGraphics spec_scen_g;
// And these are referenced from the scenario code, though not used in test cases
#include "scenario.hpp"
location cur_out;
short cur_town;
cScenario scenario;