X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=contrib%2Fprtview%2Fprtview.h;h=0028210252742d41e6665b182525ab2dd36fd7db;hb=HEAD;hp=6b0487826aff3b6b7834b80e9c5488c3e3c21d23;hpb=e984b9f54a0c733aab34a8ec19724dc4114ade28;p=xonotic%2Fnetradiant.git diff --git a/contrib/prtview/prtview.h b/contrib/prtview/prtview.h index 6b048782..00282102 100644 --- a/contrib/prtview/prtview.h +++ b/contrib/prtview/prtview.h @@ -20,7 +20,12 @@ #if !defined( INCLUDED_PRTVIEW_H ) #define INCLUDED_PRTVIEW_H -#define MSG_PREFIX "Portal Viewer plugin: " +#include + +#define PLUGIN_NAME "Portal Viewer" +#define PLUGIN_VERSION "1.0" + +#define MSG_PREFIX PLUGIN_NAME " plugin: " void InitInstance(); void SaveConfig(); @@ -28,8 +33,9 @@ void SaveConfig(); int INIGetInt( const char *key, int def ); void INISetInt( const char *key, int val, const char *comment = 0 ); +extern ui::Widget g_pRadiantWnd; + const int IDOK = 1; const int IDCANCEL = 2; - #endif