Terra Vitae 0.1 for Windows, built from latest source linked at top of the first post.
What I did to build this:1. Download source code into a folder on my desktop
2. Opened workspaces/game.sln in Microsoft Visual C++ 2010 Express Service Pack 1
3. Renamed the variables "min" and "max" in the Interval class to "_min" and "_max", and fixed all references, in order to avoid a conflict with PDCurses-defined macros of the same name (suggested alternative: try undefining the macros on about line 120 of includes.h)
4. Added additionalchars.cpp, stringconversion.cpp, creaturetype.cpp, and creaturetype.h to the solution to fix linker errors
5. Added explicit return values to several new functions that had no return value to fix compiler errors in the new files (I returned 0 in all cases, on the assumption that they were meant to be implicitly returning 0 to signify no error)
6. Fixed several runtime errors in configfile.cpp's readLine function, relating to code expecting the std::string to be null terminated
// readLine reads a line from the file, parses it
int readLine(std::ifstream& file, std::string& command, std::string& value)
{
std::string line;
int source=0;
// Search for a non-comment, non-empty line
do
{
if(file.eof()) return 0;
getline(file,line);
line.erase(std::remove(line.begin(), line.end(), '\r'), line.end());
line.erase(std::remove(line.begin(), line.end(), '\n'), line.end());
} while(line.empty() || line[0] == '#');
// Parse the line
command.clear();
value.clear();
// Leading whitespace
while(line.length() > source && (line[source]==' ' || line[source]=='\t'))
source++;
// Command
while(line.length() > source && (line[source]!=' ' && line[source]!='\t'))
command.push_back(line[source++]);
// Delimiting whitespace
while(line.length() > source && (line[source]==' ' || line[source]=='\t'))
source++;
// Value
while(line.length() > source && (line[source]!=' ' && line[source]!='\t'))
value.push_back(line[source++]);
return 1;
}
7. Switched the build mode from Debug to Release
8. Compiled and built the executable
9. Prepared a folder and zip file with the newly built Windows executable (workspaces/Release/crimesquad.exe) and updated data files in the art directory
10. Uploaded to my website