I've tried downloading the battleutils file multiple times but it's always the same errors i would be grateful for any help.
Code: Select all
1>------ Build started: Project: DSGame-server, Configuration: Debug x64 ------
1>battleutils.cpp
1>synthutils.cpp
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C3646: 'uint8': unknown override specifier
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C3646: 'distribution': unknown override specifier
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C2061: syntax error: identifier 'GetRandomNumber'
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2464): error C2761: 'GetRandomNumber': redeclaration of member is not allowed
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2467): error C2059: syntax error: 'switch'
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2468): error C2447: '{': missing function header (old-style formal list?)
1>e:\darkstar\darkstar\src\map\utils\battleutils.cpp(2521): error C2059: syntax error: 'return'
1>Done building project "DSGame-server.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========