Closed ghost closed 5 years ago
Pretty sure my solution was more elegant, did TeslaRus not take all of my patches for MSVC?
For reference it was in #431. What exactly was merged is hard to say, but it looks like it was done on 7-8 April, 2017, so those commits might be worth looking at.
it not exist in the src of opentomb, hmm.. or you not patched the current change i add, i dont know myself :x ?
partially done in 6311fa374504efbb5494b9485990fbb5154da181 new timer - nope... using threads in codec module - stupid idea (my idea)... so timer / threading in codecs will be deleted.
timer will be fixed by other way. thanks for PR
the attributes(packed, aligned) not exist on windows compiler (stdc++17), because, if bullet not crash, windows compiler will align the variable correctly. i added some fix like config-opentomb for no cmake user, lua path "AL/". and added new cpp: "timer.cpp" that fix clock_gettime() and gettimeofday (and fix CLOCK_REALTIME too), and fixed "char image_name_buf[]" not compatible with c++17 (maybe need check about it).