Radiant:
binds... * douplicated basic shortcuts: arrows - camera freemove, ESC - deSelect, backSpace - delete menus... * modify+: snap to grid (ctrl+g) misc... * fixed warning on import (q3map2_type not found) * patch thicken * removed douplicate accelerators registering * trigger_* entities get textures/common/trigger tex on creation ( unless different is set in .game file via shader_trigger key ) * opening *.map, sent via cmd line (can assign *.map files in system to be opened with radiant) * -aero cmd line key to enable aero transparency * opening maps with bad tex defs (.#QNAN, .#IND, .#INF) (happens sometimes after rotating & often scaling with tex lock (in BP mode)); error->warning
This commit is contained in:
@@ -257,6 +257,18 @@ void environment_init( int argc, char* argv[] ){
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
char openCmdMap[260];
|
||||
|
||||
void cmdMap(){
|
||||
openCmdMap[0] = '\0';
|
||||
for ( int i = 1; i < g_argc; ++i )
|
||||
{
|
||||
if ( !stricmp( g_argv[i] + strlen(g_argv[i]) - 4, ".map" ) ){
|
||||
strcpy( openCmdMap, g_argv[i] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void environment_init( int argc, char* argv[] ){
|
||||
args_init( argc, argv );
|
||||
|
||||
@@ -294,6 +306,7 @@ void environment_init( int argc, char* argv[] ){
|
||||
home_path = home.c_str();
|
||||
}
|
||||
gamedetect();
|
||||
cmdMap();
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user