ok openbw, i get it you wanted to replicate the mechanics exactly, but did you also have to replicate the code quality of a 1998 video game?
https://github.com/OpenBW/openbw/blob/master/bwgame.h
why would you ever need aligned storage for a single object that just holds a couple of references?
the aligned storage
https://github.com/OpenBW/openbw/blob/master/sync.h#L1019
the class it's used with
https://github.com/OpenBW/openbw/blob/master/sync.h#L354
is it some kind of "as long as it's aligned it's atomic" x86 nonsense? tempted to just nuke it all...
@mew27
>I'm hard coded for unit_t and even with that barely useful, but I'm going to pretend to be generic and smort!
I'm going to make this ginormous file even more humongous!