[Scummvm-devel] scummvm/backends/dc/selector.cpp won't compile
Christian Herrmann
paras.rasmatazz at t-online.de
Mon Oct 27 06:34:12 CET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I noticed that common/gameDetector.h moved to base/gameDetector.h and I
changed it to the correct location:
line 26:
#include "base/gameDetector.h"
I also know that VersionSettings changed to GameSettings, so I did change
those too:
line 150:
const GameSettings *gnl = version_settings;
line 165:
const GameSettings *gnl = version_settings;
But I still can't compile, because I think more has changed than
'GameSettings' :
selector.cpp: In function `bool checkName(const char*, char*)':
selector.cpp:150: error: `version_settings' undeclared (first use this
function)
selector.cpp:150: error: (Each undeclared identifier is reported only once for
each function it appears in.)
selector.cpp:153: error: 'const struct GameSettings' has no member named '
filename'
selector.cpp:155: error: 'const struct GameSettings' has no member named '
gamename'
selector.cpp:158: error: 'const struct GameSettings' has no member named '
filename'
selector.cpp: In function `const char* checkDetect(const char*)':
selector.cpp:169: error: 'const struct GameSettings' has no member named '
filename'
selector.cpp:170: error: 'const struct GameSettings' has no member named '
filename'
What are the correct names for 'version_settings', 'filename' and 'gamename' ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE/nSreEWnTbOHIOJYRAjWpAKCC8l2ge4638XxCnpdo8YZA6qn4GgCglBQ3
1zshPq4ewAozPQtWyA5B1tE=
=r7JQ
-----END PGP SIGNATURE-----
More information about the Scummvm-devel
mailing list