I had some adventures trying to compile this for windows myself. The first one is helpful enough that I want to share it! The compiler spat out a Fatal Error C1061 on the first attempt (just a blind build-hopelly attempt) and pointed to the stringconversion.cpp where there was a great deal of if/elseif code. The thing is, each of the elseifs have a return after them, so the expression doesn't need the elses.
short creaturetype_string_to_enum(const std::string& ctname)
{
if (ctname == "CREATURE_BOUNCER")
return CREATURE_BOUNCER;
else if (ctname == "CREATURE_SECURITYGUARD")
return CREATURE_SECURITYGUARD;
else if (ctname == "CREATURE_SCIENTIST_LABTECH")
return CREATURE_SCIENTIST_LABTECH;
else if (ctname == "CREATURE_SCIENTIST_EMINENT")
return CREATURE_SCIENTIST_EMINENT;
else if (ctname == "CREATURE_CORPORATE_MANAGER")
return CREATURE_CORPORATE_MANAGER;
else if (ctname == "CREATURE_CORPORATE_CEO")
return CREATURE_CORPORATE_CEO;
The above functions identically to...
short creaturetype_string_to_enum(const std::string& ctname)
{
if (ctname == "CREATURE_BOUNCER")
return CREATURE_BOUNCER;
if (ctname == "CREATURE_SECURITYGUARD")
return CREATURE_SECURITYGUARD;
if (ctname == "CREATURE_SCIENTIST_LABTECH")
return CREATURE_SCIENTIST_LABTECH;
if (ctname == "CREATURE_SCIENTIST_EMINENT")
return CREATURE_SCIENTIST_EMINENT;
if (ctname == "CREATURE_CORPORATE_MANAGER")
return CREATURE_CORPORATE_MANAGER;
if (ctname == "CREATURE_CORPORATE_CEO")
return CREATURE_CORPORATE_CEO;
The else if version made the compiler choke. The if version... still didn't compile, because there were other issues, but at least the compiler got past that sticking point. I couldn't figure any of the other errors out. I'm not really a programmer. I hope work continues on the windows port. I'll go over the code and post things that I find in hopes of finding something that helps. No promises. Still not a programmer.
Removing them is an annoying little task, so here's a copy of stringconversion.cpp with (what I believe to be) unnecessary else statements removed.
https://drive.google.com/open?id=0Bxgzjpxsul11V01QVjk2dlVndk0Update:
While playing the game (I am glad there is a windows port!) I have had many crashes and glitches during the "insidious corruption" phase. None of the corruption phases seem to work right. There also don't seem to be any Stalinists in office as a result of them, although I see them referred to in the insidious corruption code as what non-elite liberals ought to be ossifying into.
Update 2:
Of course there were no Stalinists... I turned them off. It didn't occur to me that they might be important, but I can see the relevance given the NEC. I'm not sure the mod handles that configuration well, though.
Update 3:
I have persisted through crashes to get that save to a point where it is on the brink of victory via elite liberalism. I think it may also be on the brink of failure via wilderness collapse. The mafia declared war on me in the most impressive multisite raiding that I've ever seen in this game, and while I was burning down their mansions in retaliation the CCS crushed the whatchams out of the wilderness and started burning it all down. It's a bit of a race condition. I'd love to see how it comes out - there've been some excellent hard-fought battles - but the crashing has gotten too bad. I'm starting to wonder if the win and lose conditions might be broken. Time to start over. I need to be more on top of the CCS... They've never gotten away from me like that before.
Update 4:
It appears that turning the Stalinists on fixed the insidious corruption effect in the mechanical sense, but the process is still visually glitchy. The Senate corruption effect is especially glitchy as hitting 'next key' appears to paste another copy of the event under the current copy. This happens again when 'next key' is hit again. After that the next few keypresses do nothing, but then after a few more the month continues processing.
Update 5:
I just had a crash when a character with superpowers attacked some gang members who attacked her while she was exercising. I tried to reproduce it, and the same thing happened, but this time and on all further reproduction attempts it got one frame farther before crashing (it got as far as showing that the attack missed or hit and did nothing, which is the only range of outcomes I've gotten; this mutant's stats are minimal).
There's also been a lot of "ActivityAthletics: Crime 9 has not been defined!" during all the exercising. I had seen that before, but it only just occurred to me to report it.
uPDATE 6:
I've discovered that I can't see which city my liberals are being held in. It just says "Police Station," which is somewhat less helpful than it should be. On a related note, there's a lot of Native American Cis running around at high L, and a few Native American Shs, too. Same display box length issue.
Also, prisons seem to be bugged. The down stairs always spawn in a wall, making them inaccessible for the return trip. You can never leave alive once you enter the second floor... Real bummer for the liberal who got sentenced to death for loitering.