Habe jetzt den Teleporter von Mentus eingebaut, geht auch alles. Aber wie öffne ich den Teleporter Ingame?
MFG DerJumbo
MFG DerJumbo
#ifdef __APP_TELEPORTER //Definierung
DECLAREAPPLET( AppMain_WndTELEPORTER , new CWndTELEPORTER );
#endif
#ifdef __NEW_WEB_BOX
DECLAREAPPLET( AppMain_WndHelperWebBox , new CWndHelperWebBox );
#endif // __NEW_WEB_BOX
#ifdef __APP_TELEPORTER //Definierung
AddAppletFunc( AppMain_WndTELEPORTER, APP_TELEPORTER, _T( "WndTELEPORTER"), _T( "Icon_Applet.dds"), "Teleporter", 'V'); //Der Hotkey wird nun auf "Z" festgelegt und das Fenster wird auch mit der Taste "Z" geöffnet, sofern keine andere Funktion mit "Z" belegt ist.
#endif
#ifdef __NEW_WEB_BOX
AddAppletFunc( AppMain_WndHelperWebBox , APP_WEBBOX2 , _T( "HelperWebBox" ) , _T( "Icon_HelperHelp.dds" ) , GETTEXT( TID_GAME_HELPER_WEB_BOX_ICON_TOOLTIP ), 0 );
#endif // __NEW_WEB_BOX
#define __TELEPORTER
In der Neuz/VersionCommon.h muss das rein:Quote:
class CWndTeleporter : public CWndNeuz
c:\Users\Eric\Desktop\Source\Program\_Interface\Wn dField.h(2982): error C2011: 'CWndTeleporter' : 'class' type redefinition
DECLAREAPPLET( AppMain_WndTELEPORTER , new CWndTELEPORTER );