mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
fix SDL_main windows thingy
This commit is contained in:
parent
8e5471480c
commit
9af3df5550
@ -4,6 +4,8 @@
|
|||||||
//#include <physfs.h>
|
//#include <physfs.h>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
|
||||||
|
#include <SDL.h> // SDL_main
|
||||||
|
|
||||||
#include <mm/fs_const_archiver.hpp>
|
#include <mm/fs_const_archiver.hpp>
|
||||||
|
|
||||||
#include <mm/logger.hpp>
|
#include <mm/logger.hpp>
|
||||||
|
@ -146,3 +146,8 @@ TEST(input_service, input_visualizer) {
|
|||||||
sdl_ss.destroyWindow();
|
sdl_ss.destroyWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -136,3 +136,8 @@ TEST(simple_spritesheet_render_task, it) {
|
|||||||
engine.run();
|
engine.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -121,3 +121,8 @@ TEST(tilemap_render_task_test, it) {
|
|||||||
engine.run();
|
engine.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -115,3 +115,8 @@ TEST(sdl_service, event_handle_reg) {
|
|||||||
engine.disableService<MM::Services::SDLService>();
|
engine.disableService<MM::Services::SDLService>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -36,3 +36,8 @@ TEST(simple_sdl_renderer, basic) {
|
|||||||
engine.run();
|
engine.run();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#include <mm/services/filesystem.hpp>
|
#include <mm/services/filesystem.hpp>
|
||||||
#include <mm/soloud_filesystem_file_impl.hpp>
|
#include <mm/soloud_filesystem_file_impl.hpp>
|
||||||
|
|
||||||
|
#include <SDL.h> // SDL_main
|
||||||
|
|
||||||
#include <soloud_wav.h>
|
#include <soloud_wav.h>
|
||||||
#include <soloud_wavstream.h>
|
#include <soloud_wavstream.h>
|
||||||
#include <soloud_monotone.h>
|
#include <soloud_monotone.h>
|
||||||
|
@ -51,3 +51,8 @@ TEST(player_velocity, basic_run) {
|
|||||||
// TODO: TEST
|
// TODO: TEST
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
::testing::InitGoogleTest(&argc, argv);
|
||||||
|
return RUN_ALL_TESTS();
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user