Hi,
Thanks a lot Kevin Granade, I was able to compile game.cpp with c++98.
But unfortunately I`ve encountered another problem with map.cpp. I hope it will be the last problem to compile this already.
g++ -std=c++98 -O3 -c map.cpp -o obj/map.o
map.cpp: In member function ‘bool map::sees(int, int, int, int, int, int&)’:
[glow=red,2,300]map.cpp:1923:15: error: ‘x’ was not declared in this scope[/glow]
if (!trans(x, y))
^
[glow=red,2,300]map.cpp:1935:1: error: expected primary-expression before ‘bool’[/glow]
bool map::sees(int Fx, int Fy, int Tx, int Ty, int range, int &tc)
^~~~
[glow=red,2,300]map.cpp:2432:1: error: expected ‘}’ at end of input[/glow]
}
^
[glow=red,2,300]map.cpp:2432:1: error: expected ‘}’ at end of input[/glow]
Makefile:43: recipe for target 'obj/map.o' failed
make: *** [obj/map.o] Error 1
Also, after I will successfully compile the game I will write some kind of a little how to if someone else would want to see the original Cataclysm game.
Thanks!