* support Quake3 and Quake in -gamedetect (autodetects by availability of "baseq3/pak0.pk3" and "id1/pak0.pak" in folders prior to radiant's)

This commit is contained in:
Garux 2020-01-24 02:47:33 +03:00
parent a258ebf887
commit 37ae7f0794

View File

@ -126,6 +126,12 @@ void gamedetect(){
{
// TODO add more games to this
if ( gamedetect_check_game( "q3.game", "baseq3/pak0.pk3", NULL, buf, p - buf ) ) {
return;
}
if ( gamedetect_check_game( "q1.game", "id1/pak0.pak", NULL, buf, p - buf ) ) {
return;
}
// try to detect Nexuiz installs
#if defined( WIN32 )
if ( gamedetect_check_game( "nexuiz.game", "data/common-spog.pk3", "nexuiz.exe", buf, p - buf ) )