Changeset 233
- Timestamp:
- 03/24/08 06:13:02 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
GtkRadiant/branches/ZeroRadiant/radiant/preferences.cpp
r227 r233 3238 3238 fprintf( fg, " gametools=\"%sgames\"\n", g_strAppPath.GetBuffer() ); 3239 3239 fprintf( fg, " enginepath=\"%s\"\n", m_strEngine.GetBuffer() ); 3240 fprintf( fg, " prefix=\".q3a\"\n" );3241 3240 switch ( m_availGames[ m_nComboSelect ] ) { 3242 3241 case GAME_Q3: { 3242 fprintf( fg, " prefix=\".q3a\"\n" ); 3243 3243 Str source = g_strAppPath.GetBuffer(); 3244 3244 source += "installs/"; … … 3250 3250 } 3251 3251 case GAME_URT: { 3252 fprintf( fg, " prefix=\".q3a\"\n" ); 3252 3253 Str source = g_strAppPath.GetBuffer(); 3253 3254 source += "installs/"; … … 3259 3260 } 3260 3261 case GAME_UFOAI: { 3262 fprintf( fg, " prefix=\".ufoai\"\n" ); 3261 3263 Str source = g_strAppPath.GetBuffer(); 3262 3264 source += "installs/"; … … 3268 3270 } 3269 3271 case GAME_WARSOW: 3272 fprintf( fg, " prefix=\".warsow\"\n" ); 3270 3273 fprintf( fg, " basegame=\"basewsw\"\n" ); 3271 3274 break; … … 3294 3297 if ( stricmp( dirname, URT_PACK ) == 0 ) { 3295 3298 m_availGames[ iGame++ ] = GAME_URT; 3296 } 3299 } 3300 if ( stricmp( dirname, UFOAI_PACK ) == 0 ) { 3301 m_availGames[ iGame++ ] = GAME_UFOAI; 3302 } 3297 3303 } 3298 3304 }
