The terrain directive names .txtf/.btf files in lowercase, as the parser
gives every token. The name is now taken as it is on disk, from the text
file first, so the binary file is made next to the text and the editor's
references and layers keep one name.
The textures, materials and sounds are kept by the names they're asked for.
Given back as named on the disk, a file in another case missed the bank and
was loaded again on every request.
- FileExists with names and extensions finds the file in any case but gives
back the name asked for; FileOnDisk gives the file to open, used where
textures, sounds and scripts are opened
- FileExists of a single name is a plain check again, the places checking
it and opening the same name stay as they were
- the texture format is told by the extension asked for again
- a folder changed shortly before it was read is read again for a name
missing from it, the time of a change being as coarse as the clock of the
file system; a listing cut short isn't kept
The parser and the loaders lowercase every name they read, while the data
made on Windows has files and folders named in any case (scenery/Braniewo,
textures/siec_trakcyjna_ph/.../STS_*.tga, sounds/sip/Gorki.wav). FileCased
matched the file name only, so a folder in another case wasn't found.
- FileCased walks every part of the path on Linux, the folder listings kept
by their lowercase and read again once the folder changed; Windows as it was
- FileExists finds the file in any case on Linux, and the variant with names
and extensions gives back the name as it's on the disk, so textures,
materials, sounds, station announcements and scripts open that name
- models, sound captions, timetables and nodebank previews open the file
as it's named on the disk; the texture format is told by the extension in
any case
The texts, numbers, random numbers, file names and times of utilities.cpp and utilities.h as they behave now. The table of Bezogonkow() is checked as the build has it: one byte for its plus-minus sign with MSVC, two with GCC and Clang, which give other letters.