/* $Revision Header *** Header built automatically - do not edit! ***********
 *
 *	(C) Copyright 1991 by Metalworx
 *
 *	Name .....: Credits.c
 *	Created ..: Sun 06-Oct-91 21:16
 *	Revision .: 0
 *
 *	Date		Author		Comment
 *	=========	========	====================
 *	     1990	Mtwx		Created this file!
 *
 * $Revision Header ********************************************************/
 #define REVISION 0

#include <intuition/intuitionbase.h>
#include <libraries/arpbase.h>
#include <clib/req_protos.h>
#include <proto/intuition.h>

#include <mtwx_defs.h>

#include "messages.h"
#include "credits.h"

struct Window *Window3;
extern struct Window *Window1;
extern struct Screen *FirstScreen;

void	  Credits()
{
  CreditsFenster.Screen = FirstScreen;
  CreditsFenster.TopEdge = (FirstScreen->Height - CreditsFenster.Height) / 2;
  if (!(Window3 = (struct Window *)
	OpenWindow(&CreditsFenster)))
  {
    SimpleRequest(NO_CREDITS_WIN);
    return;
  }
  Cls(Window3, 13);
  Shadow(Window3, CREDITS1, 15, 1, -1, 10);
  Shadow(Window3, CREDITS2, 1, 0, -1, 22);
  Shadow(Window3, CREDITS3, 1, 0, -1, 32);
  Shadow(Window3, CREDITS4, 1, 0, -1, 42);
  Shadow(Window3, CREDITS5, 1, 0, -1, 52);
  Shadow(Window3, CREDITS6, 6, 9, -1, 75);
  Shadow(Window3, CREDITS7, 6, 9, -1, 85);
  Shadow(Window3, CREDITS8, 15, 1, -1, 105);
  Shadow(Window3, CREDITS9, 3, 12, -1, 117);
  Shadow(Window3, CREDITS10, 3, 12, -1, 128);
  Shadow(Window3, CREDITS11, 12, 11, -1, 142);
  Shadow(Window3, CREDITS12, 12, 11, -1, 152);
  Shadow(Window3, CREDITS12a,12, 11, -1, 162);
  Shadow(Window3, CREDITS13, 9, 10, -1, 172);
  Shadow(Window3, CREDITS14, 14, 2, -2, 184);
  Nachricht(Window3);
  CloseWindowSafely(Window3, NULL);
}
