-extern "C" void QERPlug_Dispatch (const char *p, vec3_t vMin, vec3_t vMax, bool bSingleBrush)
-{
- if( !strcmp( p, "Flush & Reload Selected" ) )
- DoFlushReloadSelected();
- else if( !strcmp( p, "Flush & Reload Models" ) )
- DoFlushReloadAll();
- else if( !strcmp( p, "About" ) ) {
- const picoModule_t** modules = PicoModuleList( NULL );
- char about_buf[1024];
- strncpy(about_buf, PLUGIN_ABOUT, sizeof(about_buf) - 1);
- while(*modules != NULL) {
- const picoModule_t* module = *modules++;
- strncat(about_buf, module->displayName, sizeof(about_buf) - 1);
- strncat(about_buf, " (", sizeof(about_buf) - 1);
- strncat(about_buf, module->defaultExts[0], sizeof(about_buf) - 1);
- strncat(about_buf, ")\n\t", sizeof(about_buf) - 1);
- strncat(about_buf, module->copyright, sizeof(about_buf) - 1);
- strncat(about_buf, "\n", sizeof(about_buf) - 1);
- }
- g_FuncTable.m_pfnMessageBox(NULL, about_buf, "About", MB_OK, NULL);
- }
+extern "C" void QERPlug_Dispatch( const char *p, vec3_t vMin, vec3_t vMax, bool bSingleBrush ){
+ if ( !strcmp( p, "Flush & Reload Selected" ) ) {
+ DoFlushReloadSelected();
+ }
+ else if ( !strcmp( p, "Flush & Reload Models" ) ) {
+ DoFlushReloadAll();
+ }
+ else if ( !strcmp( p, "About" ) ) {
+ const picoModule_t** modules = PicoModuleList( NULL );
+ char about_buf[1024];
+ strncpy( about_buf, PLUGIN_ABOUT, sizeof( about_buf ) - 1 );
+ while ( *modules != NULL ) {
+ const picoModule_t* module = *modules++;
+ strncat( about_buf, module->displayName, sizeof( about_buf ) - 1 );
+ strncat( about_buf, " (", sizeof( about_buf ) - 1 );
+ strncat( about_buf, module->defaultExts[0], sizeof( about_buf ) - 1 );
+ strncat( about_buf, ")\n\t", sizeof( about_buf ) - 1 );
+ strncat( about_buf, module->copyright, sizeof( about_buf ) - 1 );
+ strncat( about_buf, "\n", sizeof( about_buf ) - 1 );
+ }
+ g_FuncTable.m_pfnMessageBox( NULL, about_buf, "About", MB_OK, NULL );
+ }