#include "ui/menudef.h"

// Defines //
#define WINDOW_X		16
#define WINDOW_Y		16
#define WINDOW_WIDTH	608
#define WINDOW_HEIGHT	448
#define GROUP_NAME		"grpCreditsNoQuarter"

// Macros //
#include "ui/menumacros.h"
		
// Additional Menu //
menuDef {
	name		"credits_no_quarter2"
	visible		0
	fullscreen	0
	rect		WINDOW_X WINDOW_Y WINDOW_WIDTH WINDOW_HEIGHT
	style		WINDOW_STYLE_FILLED
	
	onESC {
		close credits_no_quarter2 ;
		open options_nq
	}

// Window //

	itemDef {
		name		"window"
		group		GROUP_NAME
		rect		0 0 WINDOW_WIDTH WINDOW_HEIGHT
		style		WINDOW_STYLE_FILLED
		backcolor	0.01 0.01 0.01 .95
		border		WINDOW_BORDER_FULL
		bordercolor	.5 .5 .5 .5
		visible		1
		decoration
	}
	
// Logo //

#define LOGOBAR_WIDTH 96+16+96+16+64+16+64

	
	itemDef {
		name		"logoNQShadow"
		rect		$evalfloat(.5*(WINDOW_WIDTH-(LOGOBAR_WIDTH))+57+1) $evalfloat(10+1) 216 27
		style		WINDOW_STYLE_SHADER
		background	"ui/assets/logo_nq"
		forecolor	0 0 0 1
		visible		1
		decoration
	}

	itemDef {
		name		"logoNQ"
		rect		$evalfloat(.5*(WINDOW_WIDTH-(LOGOBAR_WIDTH))+57-1) $evalfloat(10-1) 246 27
		style		WINDOW_STYLE_SHADER
		background	"ui/assets/logo_nq"
		forecolor	1 1 1 1
		visible		1
		decoration
	}
	itemDef {
		name		"logoSSShadow"
		rect		$evalfloat(.5*(WINDOW_WIDTH-(LOGOBAR_WIDTH))+110+16+1+6) $evalfloat(10+130+1) 108 54
		style		WINDOW_STYLE_SHADER
		background	"ui/assets/logo_ss"
		forecolor	0 0 0 1
		visible		1
		decoration
	}

	itemDef {
		name		"logoSS"
		rect		$evalfloat(.5*(WINDOW_WIDTH-(LOGOBAR_WIDTH))+110+16-1+6) $evalfloat(10+130-1) 108 54
		style		WINDOW_STYLE_SHADER
		background	"ui/assets/logo_ss"
		forecolor	1 1 1 1
		visible		1
		decoration
	}


#define CREDITS_Y	32+4
	
// OSP //

	LABELWHITE( 6, CREDITS_Y+180, .5*(WINDOW_WIDTH-36), 10, "antman", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+180, .5*(WINDOW_WIDTH-36), 10, "creator of location files", .2, ITEM_ALIGN_LEFT, 0, 8 )

	LABELWHITE( 6, CREDITS_Y+198, .5*(WINDOW_WIDTH-66), 10, "Dr. Evil & jaskot", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+198, .5*(WINDOW_WIDTH-66), 10, "omni-bot support", .2, ITEM_ALIGN_LEFT, 0, 8 )
	
	LABELWHITE( 6, CREDITS_Y+216, .5*(WINDOW_WIDTH-36), 10, "^7mcfw", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+216, .5*(WINDOW_WIDTH-36), 10, "supplied geoip code", .2, ITEM_ALIGN_LEFT, 0, 8 )

	LABELWHITE( 6, CREDITS_Y+234, .5*(WINDOW_WIDTH-66), 10, "^BMr^P.^GMxyzptlk", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+234, .5*(WINDOW_WIDTH-66), 10, "for developing ^8Muskoka^7, a Maya MD3 plugin", .2, ITEM_ALIGN_LEFT, 0, 8 )
	
	LABELWHITE( 6, CREDITS_Y+252, .5*(WINDOW_WIDTH-66), 118, "ReyalP", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+252, .5*(WINDOW_WIDTH-66), 10, "supplied ETPro command map, shader fix", .2, ITEM_ALIGN_LEFT, 0, 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+264, .5*(WINDOW_WIDTH-66), 10, "and crosshairs to No Quarter.", .2, ITEM_ALIGN_LEFT, 0, 8 )

	LABELWHITE( 6, CREDITS_Y+282, .5*(WINDOW_WIDTH-66), 10, "Zinx", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+282, .5*(WINDOW_WIDTH-66), 10, "supplied realhead code from", .2, ITEM_ALIGN_LEFT, 0, 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+294, .5*(WINDOW_WIDTH-36), 10, "ETPro for accurate head hitboxes.", .2, ITEM_ALIGN_LEFT, 0, 8 )

	LABELWHITE( 6, CREDITS_Y+312, .5*(WINDOW_WIDTH-66), 10, "ETPub", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+312, .5*(WINDOW_WIDTH-66), 10, "their open source mod was used as starting", .2, ITEM_ALIGN_LEFT, 0, 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+324, .5*(WINDOW_WIDTH-66), 10, "base", .2, ITEM_ALIGN_LEFT, 0, 8 )
	
	LABELWHITE( 6, CREDITS_Y+342, .5*(WINDOW_WIDTH-66), 10, "The ^8SplashDamage^7 community", .2, ITEM_ALIGN_RIGHT, .5*(WINDOW_WIDTH-100), 8 )
	LABELWHITE( 6+.5*(WINDOW_WIDTH-100)+12, CREDITS_Y+342, .5*(WINDOW_WIDTH-66), 10, "for answering our noob questions", .2, ITEM_ALIGN_LEFT, 0, 8 )
	
	
	itemDef {
		name		"headerBetaTester"
		group		GROUP_NAME
		rect		6 $evalfloat(CREDITS_Y+8) $evalfloat(WINDOW_WIDTH-12) 12
		text		"^?Thanks to the Shit Storm clan for all their support"
		textfont	UI_FONT_ARIBLK_16
		textstyle	ITEM_TEXTSTYLE_SHADOWED
		textscale	.25
		textalign	ITEM_ALIGN_CENTER
		textalignx	$evalfloat(.5*(WINDOW_WIDTH-12))
		textaligny	10
		forecolor	1 1 1 1
		visible		1
		decoration
	}
	
// Beat Testers //

	itemDef {
		name		"headerBetaTester"
		group		GROUP_NAME
		rect		6 $evalfloat(CREDITS_Y+165) $evalfloat(WINDOW_WIDTH-12) 12
		text		"^?... and to the following contributors for all their help"
		textfont	UI_FONT_ARIBLK_16
		textstyle	ITEM_TEXTSTYLE_SHADOWED
		textscale	.25
		textalign	ITEM_ALIGN_CENTER
		textalignx	$evalfloat(.5*(WINDOW_WIDTH-12))
		textaligny	10
		forecolor	1 1 1 1
		visible		1
		decoration
	}

itemDef {
		name		"headerBetaTester"
		group		GROUP_NAME
		rect		6 $evalfloat(CREDITS_Y+363) $evalfloat(WINDOW_WIDTH-12) 12
		text		"^?AND   ^7Arkox, juby, Mortis, ^8Nullskillz^7, PACK, ^?|>^9B^?<|^9peyote^7, StM"
		textfont	UI_FONT_ARIBLK_16
		textstyle	ITEM_TEXTSTYLE_SHADOWED
		textscale	.18
		textalign	ITEM_ALIGN_CENTER
		textalignx	$evalfloat(.5*(WINDOW_WIDTH-12))
		textaligny	10
		forecolor	1 1 1 1
		visible		1
		decoration
	}

// Special Thanks //
	LABELWHITE( 0, CREDITS_Y+51, .5*(WINDOW_WIDTH), 10, "^>S.S.Druid", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+24, .5*(WINDOW_WIDTH), 10, "^>S.S.BoZo", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+24, .5*(WINDOW_WIDTH), 10, "^>S.S.N", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+51, .5*(WINDOW_WIDTH), 10, "^>S.S.Mayhem", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+64, .5*(WINDOW_WIDTH), 10, "^>S.S.Wilson", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+24, .5*(WINDOW_WIDTH), 10, "^>S.S.Tool", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+142, .5*(WINDOW_WIDTH), 10, "^>S.S.Doug The Unforgiven", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+64, .5*(WINDOW_WIDTH), 10, "^>S.S.Stryker", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+77, .5*(WINDOW_WIDTH), 10, "^>S.S.Easykill", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+37, .5*(WINDOW_WIDTH), 10, "^>S.S.Shining", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+37, .5*(WINDOW_WIDTH), 10, "^>S.S.Latron", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+77, .5*(WINDOW_WIDTH), 10, "^>S.S.Empulse", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+90, .5*(WINDOW_WIDTH), 10, "^>S.S.Serpentor", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+50, .5*(WINDOW_WIDTH), 10, "^>S.S.Kamikaze", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+50, .5*(WINDOW_WIDTH), 10, "^>S.S.MadMan", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+90, .5*(WINDOW_WIDTH), 10, "^>S.S.CrazyMex", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+103, .5*(WINDOW_WIDTH), 10, "^>S.S.WhoopsAzz", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+63, .5*(WINDOW_WIDTH), 10, "^>S.S.jetPilot", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+63, .5*(WINDOW_WIDTH), 10, "^>S.S.Catcher", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+103, .5*(WINDOW_WIDTH), 10, "^>S.S.Hot Rocks", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+116, .5*(WINDOW_WIDTH), 10, "^>S.S.Meatshield", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+76, .5*(WINDOW_WIDTH), 10, "^>S.S.AtRocitY", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+76, .5*(WINDOW_WIDTH), 10, "^>S.S.Warlord", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+116, .5*(WINDOW_WIDTH), 10, "^>S.S.The_Shadow", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+129, .5*(WINDOW_WIDTH), 10, "^>S.S.GilrodTheSlayer", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+87, .5*(WINDOW_WIDTH), 10, "^>S.S.Meyerinchains", .2, ITEM_ALIGN_CENTER, .4*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+87, .5*(WINDOW_WIDTH), 10, "^>S.S.Kurai*Samurai", .2, ITEM_ALIGN_CENTER, .6*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+129, .5*(WINDOW_WIDTH), 10, "^>S.S.Baron Von Grinch", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

	LABELWHITE( 0, CREDITS_Y+24, .5*(WINDOW_WIDTH), 10, "^>S.S.Shag", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+37, .5*(WINDOW_WIDTH), 10, "^>S.S.Daaxx", .2, ITEM_ALIGN_CENTER, .2*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+37, .5*(WINDOW_WIDTH), 10, "^>S.S.2-Step", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )
	LABELWHITE( 0, CREDITS_Y+142, .5*(WINDOW_WIDTH), 10, "^>S.S.Domestic Eningeer", .2, ITEM_ALIGN_CENTER, .8*(WINDOW_WIDTH), 8 )

#define CREDITS_Z	CREDITS_Y+279

// Buttons //
	BUTTON( 6, WINDOW_HEIGHT-24, .50*(WINDOW_WIDTH-24), 18, "BACK", .3, 14, close credits_no_quarter2 ; open options_nq )
	BUTTON( 6+.51*(WINDOW_WIDTH-24)+6, WINDOW_HEIGHT-24, .50*(WINDOW_WIDTH-24), 18, "PAGE 1", .3, 14, close credits_no_quarter2 ; open credits_no_quarter1 )
}

