mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-25 21:31:12 +00:00
add *.ogg and *.wav to the sound types selection
This commit is contained in:
parent
a97c188cdb
commit
5d08c3e9ec
2 changed files with 3 additions and 3 deletions
|
@ -171,8 +171,6 @@ extern "C" const char* QERPlug_Init( void *hApp, void* pMainWidget ){
|
||||||
InitBackgroundDialog();
|
InitBackgroundDialog();
|
||||||
render.Register();
|
render.Register();
|
||||||
|
|
||||||
//TODO is it right ? is it wrong ? it works
|
|
||||||
//TODO figure out supported image types
|
|
||||||
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "all files", "*.*" ) );
|
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "all files", "*.*" ) );
|
||||||
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "jpeg files", "*.jpg" ) );
|
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "jpeg files", "*.jpg" ) );
|
||||||
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "targa files", "*.tga" ) );
|
GetFileTypeRegistry()->addType( FILETYPE_KEY, filetype_t( "targa files", "*.tga" ) );
|
||||||
|
|
|
@ -75,8 +75,8 @@ filetype_t g_pattern_modelmd3( "md3 models", "*.md3" );
|
||||||
filetype_t g_pattern_modelmdc( "mdc models", "*.mdc" );
|
filetype_t g_pattern_modelmdc( "mdc models", "*.mdc" );
|
||||||
filetype_t g_pattern_modelmd2( "md2 models", "*.md2" );
|
filetype_t g_pattern_modelmd2( "md2 models", "*.md2" );
|
||||||
filetype_t g_pattern_modelmdl( "mdl models", "*.mdl" );
|
filetype_t g_pattern_modelmdl( "mdl models", "*.mdl" );
|
||||||
//filetype_t g_pattern_modelea3("EA3 models", "*.ea3");
|
|
||||||
filetype_t g_pattern_soundwav( "PCM sound files", "*.wav" );
|
filetype_t g_pattern_soundwav( "PCM sound files", "*.wav" );
|
||||||
|
filetype_t g_pattern_ogg( "OGG sound files", "*.ogg" );
|
||||||
filetype_t g_pattern_regq3( "quake3 region", "*.reg" );
|
filetype_t g_pattern_regq3( "quake3 region", "*.reg" );
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
@ -133,6 +133,8 @@ void InitFileTypes(){
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GetFileTypeRegistry()->addType( "sound", g_pattern_soundwav );
|
GetFileTypeRegistry()->addType( "sound", g_pattern_soundwav );
|
||||||
|
GetFileTypeRegistry()->addType( "sound", g_pattern_ogg );
|
||||||
|
GetFileTypeRegistry()->addType( "sound", g_pattern_all );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue