DBC now works and has a test.

This commit is contained in:
Zed A. Shaw 2024-09-16 09:20:35 -04:00
parent f632f2d5af
commit 2035a6dd00
8 changed files with 100 additions and 34 deletions

View file

@ -162,6 +162,13 @@ SFMLBackend::SFMLBackend(GameEngine &g) : window(sf::VideoMode(X_DIM, Y_DIM), "T
}
/*
* This makes my sould hurt. Make it stop.
*
* TODO: Make this more efficient, and don't display
* more than 10 or so errors since more than that is
* not very useful.
*/
void SFMLBackend::update_log(std::vector<string> &lines) {
log.clear();
for(string &line : lines) {