OpenXcom Forum

Contributions => Programming => Topic started by: sir_nacnud on November 02, 2010, 03:07:21 am

Title: Problems with r189
Post by: sir_nacnud on November 02, 2010, 03:07:21 am
I got a compile error on Linux.  #include <string> needs to be added to RuleSet.h.

I also noticed a warning with SavedBattleGrame.cpp, _terrian needs to be the first variable initialized in the constructor.

Lastly I ran into a problem where terrain data was failing to load due to case sensitive filenames.

The attached patch fixes all of these issues.

Title: Re: Problems with r189
Post by: zear on November 02, 2010, 11:37:19 am
I confirm this problem occurs on my linux machine and that this patch fixes it.
Thanks sir_nacnud :)
Title: Re: Problems with r189
Post by: Daiky on November 02, 2010, 12:51:47 pm
I'm doing some cleanup in the battlescape code, so I'll add this one, thanks.