***********************************************************************
*
* busybox globals.aii -- Version 3.0
*
* Copyright (c)
* Apple Computer, Inc.  1986-1990
* All Rights Reserved.
*
* This file contains the global variables used by the busybox program
* and the code which intializes the global variables.
*
************************************************************************

	case on
	longi on
	longa on

	INCLUDE 'busybox.equ'

********************

	EXPORT initGlobals
initGlobals	PROC

	stz staggerCount
	rts

	EXPORT userID
userID		;       
	DC.W 0

	EXPORT quitFlag
quitFlag		;       
	DC.W 0

	EXPORT event
event		;       
	DC.W 0	;wmWhat
	DC.L 0	;wmMessage
	DC.L 0	;wmWhen
	DC.L 0	;wmWhere
	DC.W 0	;wmModifiers
	DC.L 0	;wmTaskData
	DC.L $001FFFFF	;wmTaskMask
	DC.L 0	;wmLastClickTick
	DC.W 0	;wmClickCount
	DC.L 0	;wmTaskData2
	DC.L 0	;wmTaskData3
	DC.L 0	;wmTaskData4
	DC.L 0	;wmLastClickPt

	EXPORT staggerCount
staggerCount		;       
	DC.W 0

	EXPORT windowList
windowList		;       
	DS.B NumWindows*4

	ENDP

	END