So,
you'd like to have the
Non-Shareware Notice
back? Well, that's
possible. Not even
difficult.
Step 1. Go to your
source code directory
and open the file
WL_INTER.C .
Step 2. Go to line 1267.
You should now see
this:
#ifndef UPLOAD
#ifndef SPEAR
#ifndef JAPAN
////////////////////////////////////////////////////////
//
// NON-SHAREWARE
NOTICE
//
////////////////////////////////////////////////////////
void
NonShareware(void)
{
VW_FadeOut();
ClearMScreen();
DrawStripes(10);
CA_CacheGrChunk(STARTFONT+1);
fontnumber = 1;
SETFONTCOLOR(READHCOLOR,BKGDCOLOR);
PrintX=110;
PrintY=15;
#ifdef SPANISH %%%
US_Print("Atencion");
%%%
#else %%%
US_Print("Attention");
#endif %%%
SETFONTCOLOR(HIGHLIGHT,BKGDCOLOR);
WindowX=PrintX=40;
PrintY=60;
#ifdef SPANISH %%%
US_Print("Este juego NO
es gratis y\n"); %%%
US_Print("NO es
Shareware; favor de\n");
%%%
US_Print("no
distribuirlo.\n\n");
%%%
#else %%%
US_Print("This game is
NOT shareware.\n");
US_Print("Please do not
distribute it.\n");
US_Print("Thanks.\n\n");
#endif %%%
US_Print(" Id
Software\n");
VW_UpdateScreen ();
VW_FadeIn();
IN_Ack();
}
#endif
#endif
#endif
Step 3. Remove the lines
with %%% behind
them.
Step 4. Now your code
looks like this:
#ifndef UPLOAD
#ifndef SPEAR
#ifndef JAPAN
////////////////////////////////////////////////////////
//
// NON-SHAREWARE
NOTICE
//
////////////////////////////////////////////////////////
void
NonShareware(void)
{
VW_FadeOut();
ClearMScreen();
DrawStripes(10);
CA_CacheGrChunk(STARTFONT+1);
fontnumber = 1;
SETFONTCOLOR(READHCOLOR,BKGDCOLOR);
PrintX=110;
PrintY=15;
US_Print("Attention");
SETFONTCOLOR(HIGHLIGHT,BKGDCOLOR);
WindowX=PrintX=40;
PrintY=60;
US_Print("This game is
NOT shareware.\n");
US_Print("Please do not
distribute it.\n");
US_Print("Thanks.\n\n");
US_Print(" Id
Software\n");
VW_UpdateScreen ();
VW_FadeIn();
IN_Ack();
}
#endif
#endif
Step 5. Now, edit the
text within(don't remove
anything else than
text), save the file and
compile it.
Step 6. Open the file
WL_MAIN.C and go to line
1459. There you should
see the following:
#ifndef GOODTIMES
#ifndef SPEAR
#ifndef JAPAN
Step 7. Replace that
with :
#ifdef GOODTIMES
#ifndef SPEAR
#ifndef JAPAN
Step 8. Save the file
and Compile. Now you
have your own
Non-shareware
notice.
Get
back to the Dome
tutorials
Jump
to the
top
|