dhewm3/neo
Daniel Gibson aa77e49de7 Fix handling of paths with dots in dir names, fix #299, #301
idStr::StripFileExtension() (and SetFileExtension() which uses it) and
others didn't work correctly if there was a dot in a directory name,
because they just searched from last to first char for '.', so if the
current filename didn't have an extension to cut off, they'd just cut off
at any other '.' they found.
So D:\dev\doom3.data\base\maps\bla could turn into D:\dev\doom3
(or, for SetFileExtension(), D:\dev\doom3.map)

While at it, I made most of the idStr code that explicitly checked for '\\'
and '/' (and maybe ':' for AROS) use a little "bool isDirSeparator(int c)"
function so we don't have the #ifdefs for different platforms all over
the place.
2020-07-21 05:58:44 +02:00
..
cm Disable Assertions in Release builds 2018-11-11 23:21:23 +01:00
d3xp Support reproducible builds, fixes #172 2020-07-13 01:33:40 +02:00
framework Make sure / or C:\ doesn't get search by idFileSystemLocal::ListMods() 2020-07-20 02:19:11 +02:00
game Support reproducible builds, fixes #172 2020-07-13 01:33:40 +02:00
idlib Fix handling of paths with dots in dir names, fix #299, #301 2020-07-21 05:58:44 +02:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer (Hopefully) fix Editors messing up game viewport for good, fix #300 2020-07-20 05:01:51 +02:00
sound Update sounds at ~60Hz instead of ~10Hz, fixes #141 2020-07-12 04:43:53 +02:00
sys Make switching from Radiant to game work 2020-07-20 05:06:57 +02:00
tools (Hopefully) fix Editors messing up game viewport for good, fix #300 2020-07-20 05:01:51 +02:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Fixed SIGSEGV caused to references to already deleted data values in idWindow ops and updateVars 2020-05-30 05:28:40 +02:00
CMakeLists.txt Support reproducible builds, fixes #172 2020-07-13 01:33:40 +02:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00