Using MCS's tutorial on enabling seamless level progression renders some compilation errors. The errors basically stop me dead in my tracks at WL_MENU.CPP. I get the following
Its all centered in the block:
I am not sure what the problem is and I highly doubt he would post code that doesn't work, so I am assuming it is a thin with SDL because of some changed code somewhere. Doing a search (with the whole msvc solution as the scope) for any the missing vars renders no results, including the findfirst function. So I am assuming something has seriously changed.
Thanks,
Dr.Zin
- Code:
c:\documents and settings\nickolas\desktop\my ****\project\blackwolf\source\wl_menu.cpp(3913) : error C2065: 'f' : undeclared identifier
c:\documents and settings\nickolas\desktop\my ****\project\blackwolf\source\wl_menu.cpp(3913) : error C2065: 'FA_ARCH' : undeclared identifier
c:\documents and settings\nickolas\desktop\my ****\project\blackwolf\source\wl_menu.cpp(3913) : error C3861: 'findfirst': identifier not found
c:\documents and settings\nickolas\desktop\my ****\project\blackwolf\source\wl_menu.cpp(3922) : error C2065: 'gfilename' : undeclared identifier
c:\documents and settings\nickolas\desktop\my ****\project\blackwolf\source\wl_menu.cpp(3923) : error C2065: 'aheadname' : undeclared identifier
Its all centered in the block:
- Code:
void
CheckForEpisodes (void)
{
struct stat statbuf;
if (!findfirst("*.WL6",&f,FA_ARCH))
{
strcpy(extension,"WL6");
}
else
Quit("NO WOLFENSTEIN DATA FILES TO BE FOUND!");
strcat(configname,extension);
strcat(SaveName,extension);
strcat(gfilename,extension);
strcat(aheadname,extension);
strcat(demoname,extension);
strcat(helpfilename,extension);
strcat(endfilename,extension);
}
I am not sure what the problem is and I highly doubt he would post code that doesn't work, so I am assuming it is a thin with SDL because of some changed code somewhere. Doing a search (with the whole msvc solution as the scope) for any the missing vars renders no results, including the findfirst function. So I am assuming something has seriously changed.
Thanks,
Dr.Zin