/programs/bcc32/games/blocks/bin/blocks.kex |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
/programs/bcc32/games/blocks/blocks.cpp |
---|
199,6 → 199,10 |
k = strlen(CurrentDirectoryPath); |
while(CurrentDirectoryPath[k] != '\\' && CurrentDirectoryPath[k] != '/' && k) {k--;}; |
memcpy(library_path,CurrentDirectoryPath,k); |
if(library_path[k-1] != '/'){ |
library_path[k] = '/'; |
k++; |
} |
strcpy(library_path+k,"block.bin"); |
file = FileOpen(library_path); |