mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Merge pull request #75 from mrwonko/JKAConfig
Fixed wrong shaderpath and lack of shaderlist.txt for Jedi Academy
This commit is contained in:
commit
94aefb8f4c
1 changed files with 9 additions and 0 deletions
|
@ -3572,7 +3572,16 @@ void CGameInstall::Run() {
|
|||
source += "/install/";
|
||||
Str dest = m_strEngine.GetBuffer();
|
||||
radCopyTree( source.GetBuffer(), dest.GetBuffer() );
|
||||
// Hardcoded fix for "missing" shaderlist in gamepack
|
||||
dest += "/base/shaders/shaderlist.txt";
|
||||
if(CheckFile(dest.GetBuffer()) != PATH_FILE) {
|
||||
source += "base/scripts/default_shaderlist.txt";
|
||||
radCopyFile(source.GetBuffer(),dest.GetBuffer());
|
||||
}
|
||||
fprintf( fg, " basegame=\"base\"\n" );
|
||||
fprintf( fg, " shaderpath=\"shaders\"\n" );
|
||||
fprintf( fg, " default_scale=\"0.25\"\n" );
|
||||
fprintf( fg, " caulk_shader=\"textures/system/caulk\"\n" );
|
||||
break;
|
||||
}
|
||||
case GAME_REACTION: {
|
||||
|
|
Loading…
Reference in a new issue