From be96c43b4b81fee15218a57d6c57743625eb9c76 Mon Sep 17 00:00:00 2001 From: maride Date: Sat, 2 Apr 2016 15:15:38 +0200 Subject: [PATCH] Remove teaser screen --- source/interfaceutil.cpp | 57 ---------------------------------------- source/interfaceutil.h | 1 - 2 files changed, 58 deletions(-) diff --git a/source/interfaceutil.cpp b/source/interfaceutil.cpp index c6733f9..1512d5d 100644 --- a/source/interfaceutil.cpp +++ b/source/interfaceutil.cpp @@ -17,9 +17,7 @@ #include "random.h" #include "interfacemultiplayer.h" #include "log.h" -#include "reg_tool_3.h" #include "initexit.h" -#include "ASWRegistrationCarbonAPI.h" int gJoinFlag=false; int gInterfaceType=false; @@ -1148,59 +1146,4 @@ void TextScrollFile(tFileRef fileId) SystemPoll(false); } FlushKeys(); -} - -void TeaserScreen() -{ - if(RT3_IsRegistered()) - return; - - tInterfaceMenuDescribtion menu; - InterfaceInitMenu(&menu,2,"Get the full version now!"); - -// menu.userData=text; - menu.image=FileGetReference("teaser.png"); - menu.imageXScale=0.2; - menu.imageYScale=0.2; - menu.imageXPos+=0.2; - menu.imageYPos+=0.1; - - char itemStrings[][32]={"Later...","Buy It Now!"}; - for(int i=0;ifullscreen) - { - gConfig->fullscreen=false; - ScreenReInit(); - gConfig->fullscreen=true; - } - ASWReg_Initialization(); - ASWReg_ShowDialog(true); - if(gConfig->fullscreen) - ScreenReInit(); - -// RT3_LaunchRegisterApp(); -// Exit(); - } - InterfaceDisposeMenu(&menu); } \ No newline at end of file diff --git a/source/interfaceutil.h b/source/interfaceutil.h index e311b88..773823c 100644 --- a/source/interfaceutil.h +++ b/source/interfaceutil.h @@ -122,7 +122,6 @@ void InterfaceFadeInInterfaceFromImage(tFileRef image,float maxTime); void InterfaceFadeInImageFromImage(float xSize,float ySize,tFileRef image,float xSize2,float ySize2,tFileRef image2,float maxTime); void InterfaceDrawBackgroundFade(float opacity,int showtop); void InterfaceDrawStatusBar(char *stringBuffer,char *secondaryStringBuffer,float status); -void TeaserScreen(); void InterfaceRenderReplay(void *userData,int selection,void *menu);