# -*- coding: utf-8 -*-

## Copyright 2001-2003, Danger, Inc.  All Rights Reserved.
## This file is subject to the Danger, Inc. Sample Code License,
## which is provided in the file SAMPLE_CODE_LICENSE.
## Copies are also available from http://developer.danger.com/

package "com.danger.rocks"

interface "{source}com/danger/rocks/Resources.java"
events "{source}com/danger/rocks/Events.java"


string ID_APP_NAME		"Rock & Rocket"
string ID_APP_CLASS		"com.danger.rocks.rocks"
string ID_APP_FLAGS		""
@ IF {os_version} = {3.0}
string ID_CHOOSER_CATEGORY "games"
@ ENDIF

bitmap ID_LARGE_ICON		"{base}ID_LargeIcon.png"
bitmap ID_SMALL_ICON		"{base}ID_SmallIcon.png"
bitmap ID_SPLASH_SCREEN		"{base}ID_SplashScreen.png"

@ IF {os_version} = {1.1, 1.1e, 1.3, 2.0, 2.1, 2.3, 2.4}
	bitmap ID_SPLASH_NO_TEXT	"{base}Splash_Rocks.png"
@ ELSE
	# 2.5 and beyond
	bitmap ID_SPLASH_NO_TEXT	"{base}splash_rocks_alpha.png"
@ ENDIF

string ID_LOCALE			"fr_FR"


sequence ID_soundtrack		"{localeDir}/assets/spacerock2L.rmf"
sound ID_Blow				"{localeDir}/assets/blow_ima.wav"
sound ID_Torp				"{localeDir}/assets/torp_ima.wav"
sound ID_Thrust				"{localeDir}/assets/thrust_ima.wav"
sound ID_newlife			"{localeDir}/assets/newlife.wav"


bitmap ID_ship_f01		"{base}ID_ship_f01.png"
bitmap ID_ship_f02		"{base}ID_ship_f02.png"
bitmap ID_ship_f03		"{base}ID_ship_f03.png"
bitmap ID_ship_f04		"{base}ID_ship_f04.png"
bitmap ID_ship_f05		"{base}ID_ship_f05.png"
bitmap ID_ship_f06		"{base}ID_ship_f06.png"
bitmap ID_ship_f07		"{base}ID_ship_f07.png"
bitmap ID_ship_f08		"{base}ID_ship_f08.png"
bitmap ID_ship_f09		"{base}ID_ship_f09.png"
bitmap ID_ship_f10		"{base}ID_ship_f10.png"
bitmap ID_ship_f11		"{base}ID_ship_f11.png"
bitmap ID_ship_f12		"{base}ID_ship_f12.png"
bitmap ID_ship_f13		"{base}ID_ship_f13.png"
bitmap ID_ship_f14		"{base}ID_ship_f14.png"
bitmap ID_ship_f15		"{base}ID_ship_f15.png"
bitmap ID_ship_f16		"{base}ID_ship_f16.png"
bitmap ID_ship_f17		"{base}ID_ship_f17.png"
bitmap ID_ship_f18		"{base}ID_ship_f18.png"
bitmap ID_ship_f19		"{base}ID_ship_f19.png"
bitmap ID_ship_f20		"{base}ID_ship_f20.png"
bitmap ID_ship_f21		"{base}ID_ship_f21.png"
bitmap ID_ship_f22		"{base}ID_ship_f22.png"
bitmap ID_ship_f23		"{base}ID_ship_f23.png"
bitmap ID_ship_f24		"{base}ID_ship_f24.png"

bitmap ID_antagonist_f01		"{base}ID_antagonist_f01.png"
bitmap ID_antagonist_f02		"{base}ID_antagonist_f02.png"
bitmap ID_antagonist_f03		"{base}ID_antagonist_f03.png"
bitmap ID_antagonist_f04		"{base}ID_antagonist_f04.png"
bitmap ID_antagonist_f05		"{base}ID_antagonist_f05.png"
bitmap ID_antagonist_f06		"{base}ID_antagonist_f06.png"

bitmap ID_antagonist2_f01		"{base}ID_antagonist2_f01.png"
bitmap ID_antagonist2_f02		"{base}ID_antagonist2_f02.png"
bitmap ID_antagonist2_f03		"{base}ID_antagonist2_f03.png"
bitmap ID_antagonist2_f04		"{base}ID_antagonist2_f04.png"
bitmap ID_antagonist2_f05		"{base}ID_antagonist2_f05.png"
bitmap ID_antagonist2_f06		"{base}ID_antagonist2_f06.png"

bitmap ID_thrust_f01		"{base}ID_thrust_f01.png"
bitmap ID_thrust_f02		"{base}ID_thrust_f02.png"
bitmap ID_thrust_f03		"{base}ID_thrust_f03.png"
bitmap ID_thrust_f04		"{base}ID_thrust_f04.png"
bitmap ID_thrust_f05		"{base}ID_thrust_f05.png"
bitmap ID_thrust_f06		"{base}ID_thrust_f06.png"
bitmap ID_thrust_f07		"{base}ID_thrust_f07.png"
bitmap ID_thrust_f08		"{base}ID_thrust_f08.png"
bitmap ID_thrust_f09		"{base}ID_thrust_f09.png"
bitmap ID_thrust_f10		"{base}ID_thrust_f10.png"
bitmap ID_thrust_f11		"{base}ID_thrust_f11.png"
bitmap ID_thrust_f12		"{base}ID_thrust_f12.png"
bitmap ID_thrust_f13		"{base}ID_thrust_f13.png"
bitmap ID_thrust_f14		"{base}ID_thrust_f14.png"
bitmap ID_thrust_f15		"{base}ID_thrust_f15.png"
bitmap ID_thrust_f16		"{base}ID_thrust_f16.png"
bitmap ID_thrust_f17		"{base}ID_thrust_f17.png"
bitmap ID_thrust_f18		"{base}ID_thrust_f18.png"
bitmap ID_thrust_f19		"{base}ID_thrust_f19.png"
bitmap ID_thrust_f20		"{base}ID_thrust_f20.png"
bitmap ID_thrust_f21		"{base}ID_thrust_f21.png"
bitmap ID_thrust_f22		"{base}ID_thrust_f22.png"
bitmap ID_thrust_f23		"{base}ID_thrust_f23.png"
bitmap ID_thrust_f24		"{base}ID_thrust_f24.png"

bitmap ID_rock_f01		"{base}ID_rock_f01.png"
bitmap ID_rock_f02		"{base}ID_rock_f02.png"
bitmap ID_rock_f03		"{base}ID_rock_f03.png"
bitmap ID_rock_f04		"{base}ID_rock_f04.png"
bitmap ID_rock_f05		"{base}ID_rock_f05.png"
bitmap ID_rock_f06		"{base}ID_rock_f06.png"
bitmap ID_rock_f07		"{base}ID_rock_f07.png"
bitmap ID_rock_f08		"{base}ID_rock_f08.png"
bitmap ID_rock_f09		"{base}ID_rock_f09.png"
bitmap ID_rock_f10		"{base}ID_rock_f10.png"
bitmap ID_rock_f11		"{base}ID_rock_f11.png"
bitmap ID_rock_f12		"{base}ID_rock_f12.png"
bitmap ID_rock_f13		"{base}ID_rock_f13.png"
bitmap ID_rock_f14		"{base}ID_rock_f14.png"
bitmap ID_rock_f15		"{base}ID_rock_f15.png"
bitmap ID_rock_f16		"{base}ID_rock_f16.png"
bitmap ID_rock_f17		"{base}ID_rock_f19.png"
bitmap ID_rock_f18		"{base}ID_rock_f218.png"
bitmap ID_rock_f19		"{base}ID_rock_f219.png"

bitmap kExplode_f01		"{base}kExplode_f01.png"
bitmap kExplode_f02		"{base}kExplode_f02.png"
bitmap kExplode_f03		"{base}kExplode_f03.png"
bitmap kExplode_f04		"{base}kExplode_f04.png"
bitmap kExplode_f05		"{base}kExplode_f05.png"
bitmap kExplode_f06		"{base}kExplode_f06.png"
bitmap kExplode_f07		"{base}kExplode_f07.png"
bitmap kExplode_f08		"{base}kExplode_f08.png"
bitmap kExplode_f09		"{base}kExplode_f09.png"
bitmap kExplode_f10		"{base}kExplode_f10.png"
bitmap kExplode_f11		"{base}kExplode_f11.png"
bitmap kExplode_f12		"{base}kExplode_f12.png"
bitmap kExplode_f13		"{base}kExplode_f13.png"
bitmap kExplode_f14		"{base}kExplode_f14.png"
bitmap kExplode_f15		"{base}kExplode_f15.png"
bitmap kExplode_f16		"{base}kExplode_f16.png"
bitmap kExplode_f17		"{base}kExplode_f17.png"
bitmap kExplode_f18		"{base}kExplode_f18.png"
bitmap kExplode_f19		"{base}kExplode_f19.png"

bitmap ID_display_corner_f01		"{base}ID_display_corner_f01.png"
bitmap ID_display_corner_f02		"{base}ID_display_corner_f02.png"
bitmap ID_display_corner_f03		"{base}ID_display_corner_f03.png"
bitmap ID_display_corner_f04		"{base}ID_display_corner_f04.png"

bitmap ID_star			"{base}ID_star.png"

bitmap ID_IntroPage		"{base}ID_IntroPage.png"
bitmap ID_announce		"{base}ID_announce.png"

bitmap ID_health_f01	"{base}ID_health_f01.png"
bitmap ID_health_f02	"{base}ID_health_f02.png"
bitmap ID_health_f03	"{base}ID_health_f03.png"
bitmap ID_health_f04	"{base}ID_health_f04.png"

# yes they are reversed
bitmap ID_lives_f01		"{base}ID_lives_f06.png"
bitmap ID_lives_f02		"{base}ID_lives_f05.png"
bitmap ID_lives_f03		"{base}ID_lives_f04.png"
bitmap ID_lives_f04		"{base}ID_lives_f03.png"
bitmap ID_lives_f05		"{base}ID_lives_f02.png"
bitmap ID_lives_f06		"{base}ID_lives_f01.png"

data compress ID_playfield1 2000		"{base}ID_playfield_f01.jpg"
data compress ID_playfield2 2000		"{base}ID_playfield_f02.jpg"
data compress ID_playfield3 2000		"{base}ID_playfield_f03.jpg"
data compress ID_playfield4 2000		"{base}ID_playfield_f04.jpg"
data compress ID_playfield6 2000		"{base}ID_playfield_f06.jpg"
data compress ID_playfield7 2000		"{base}ID_playfield_f07.jpg"
data compress ID_playfield8 2000		"{base}ID_playfield_f08.jpg"
data compress ID_playfield9 2000		"{base}ID_playfield_f09.jpg"
data compress ID_playfield10 2000		"{base}ID_playfield_f10.jpg"

#bitmap ID_playfield1	"{base}ID_playfield_f01.png"
#bitmap ID_playfield2	"{base}ID_playfield_f02.png"
#bitmap ID_playfield3	"{base}ID_playfield_f03.png"
#bitmap ID_playfield4	"{base}ID_playfield_f04.png"
#bitmap ID_playfield6	"{base}ID_playfield_f06.png"
#bitmap ID_playfield7	"{base}ID_playfield_f07.png"
#bitmap ID_playfield8	"{base}ID_playfield_f08.png"
#bitmap ID_playfield9	"{base}ID_playfield_f09.png"
#bitmap ID_playfield10	"{base}ID_playfield_f10.png"

string kRsrc_GameOverMan	"Game over, man"
string kRsrc_ResumeGame		"Continuer"
string kRsrc_SoundtrackOn	"Son activé"
string kRsrc_SoundtrackOff	"Son désactivé"
string kRsrc_NewGame		"Nouvelle partie"
string kRsrc_EndGame		"Terminer la partie"

string kRsrc_Score			"Score : ^0"
string kRsrc_HighScoreText	"Meilleur score : ^0"
string kRsrc_Paused			"EN PAUSE"
string kRsrc_PressBack		"Appuyez sur \uf007 pour continuer"

# level completion phrases
string kRsrc_done1		"Good work, cadet!"
string kRsrc_done2		"You go girl!"
string kRsrc_done3		"Rocket from the crypt, y'all."
string kRsrc_done4		"I am defender of the universe!"
string kRsrc_done5		"all your base are belong to us!!!"	# intentionally cryptic, don't change
string kRsrc_done6		"Soy un dios" 			# Spanish: I am a God
string kRsrc_done7		"Die, intergalactic scum!!!"
string kRsrc_done8		"Right on!"
string kRsrc_done9		"Yer goin' DOWN!!!"
string kRsrc_done10		"KALI MA! KALI MA!"
string kRsrc_done11		"Nice shootin!"
string kRsrc_done12		"Me smash rocks to bits!"
string kRsrc_done13		"Ausgezeichnet!"		# German: excellent
string kRsrc_done14		"Rock & Roll dude!"
string kRsrc_done15		"J'y suis, j'y reste"	# French: Here I am and here I stay
string kRsrc_done16		"Word to your mother!"
string kRsrc_done17		"Outta sight, man!"
string kRsrc_done18		"Righteous!"
string kRsrc_done19		"Embrasse-moi!"			# French: kiss me
string kRsrc_done20		"Veni, Vidi, Vici"		# Latin: Cesar I came, I saw and conquered
string kRsrc_done21		"Excellent!"
string kRsrc_done22		"Bucking for Captain I see."
string kRsrc_done23		"The chair is yours!"
string kRsrc_done24		"Gimme some sugar baby."


# game instructions
string kRsrc_Instr1		"COMMANDES"
string kRsrc_Instr2		" "

@ IF {os_version} = {1.1, 1.1e, 1.3, 2.0, 2.1, 2.3, 2.4}
	string kRsrc_Instr3		" Faites tourner \uf00a pour " +
		"tourner."
@ ELSE
	# 2.5 and beyond
	string kRsrc_Instr3		"EDIT:  Faites tourner \uf00a pour " +
		"tourner."
@ ENDIF

string kRsrc_Instr4		" Appuyez sur \uf00a pour tirer."
string kRsrc_Instr5		" "
string kRsrc_Instr6		" Appuyez sur \uf004 pour vous propulser"
string kRsrc_Instr7		"EDIT:  Appuyez sur \uf005 pour pauser."
string kRsrc_Instr8		" "
string kRsrc_Instr9		" APPUYEZ SUR \uf00a POUR COMMENCER"

# credits and copyrights
string kRsrc_Cred1		"\u00a9 2003-5 Danger, Inc"
string kRsrc_Cred2		" "
string kRsrc_Cred3		"Code - Steve Hales"
string kRsrc_Cred4		"Graphismes - Mike Hales"
string kRsrc_Cred5		"Audio - Peter Drescher"
string kRsrc_Cred6		"QA - Robert Stones, Sean"
string kRsrc_Cred7		"     Horton, Kelly Berger"
string kRsrc_Cred8		"Esprit - Le cyberpunk qui"
string kRsrc_Cred9		"         n'est plus dans la place"

# Antagonist speaking. should not change. Its suppose to be unitellible.
string kRsrc_AntSpk1		"fnord?" 
string kRsrc_AntSpk2		"zkoqq" 
string kRsrc_AntSpk3		"vok!" 
string kRsrc_AntSpk4		"plexar" 
string kRsrc_AntSpk5		"aok rfog" 
string kRsrc_AntSpk6		"ghmap zasty!" 
string kRsrc_AntSpk7		"sprog" 

# Hero speaking. Should not change much.
string kRsrc_HroSpk1		"Yarrg!"					# english - yarrg
string kRsrc_HroSpk2		"\u3084\u3089\u308c\u305f!" # japanese - Yararetta - I was killed
														#
														# Yararetta!!
														# I was killed!!
														# YA      0x3084
														# RA      0x3089
														# RE      0x308C
														# TA      0x305F

string kRsrc_HroSpk3		"Souffle!"					# french - blow
string kRsrc_HroSpk4		":("
string kRsrc_HroSpk5		"Wieder?"					# german - Again?
string kRsrc_HroSpk6		"Pourquoi moi?"				# french - why me?
string kRsrc_HroSpk7		"Ancora?"					# italian - why me?

dialog ID_END_GAME_CONFIRM
	title = "NEW: End Game?"

	centerUnderTitleBar
	
	image
		alignWithParentTop = 5
		alignWithParentLeft = 5
		bitmap = ID_ship_f05

	staticTextBox
		text = "NEW: Cadet, are you sure you want to end the game?"
		doesNotHaveBorder
		justifyLeft
		top = 5
		left = 30
		fillToRight = 5

	button
		title = "NEW: No"
		position = buttonBottom1
		shortcut = backButton
		initialFocus

	button
		position = buttonBottom2
		title = "NEW: Yes"
		event = EVENT_END_GAME

endDialog


#---------------------------------------------------------------------
#			Splash Screen
#---------------------------------------------------------------------

splashScreen ID_SPLASH_SCREEN_RESOURCE

	image
		bitmap = ID_SPLASH_NO_TEXT
		alignWithParentLeft = 0
		alignWithParentTop = 0

	staticTextBox
		text = ID_APP_NAME
		alignWithParentLeft = 2
		alignWithParentTop = 0
		fillToRight = 2
		transparent
		doesNotHaveBorder
		lineSpacing = -10
		id = ID_NAME_FIELD

	staticTextBox
		text = kRsrc_HighScoreText
		id = ID_HIGH_SCORE
		font = boldOutlineSysFont
		textColor = defaultSplashScreenTextColor
		textOutlineColor = defaultSplashScreenTextOutlineColor
		positionBelow = ID_NAME_FIELD : 0
		alignWithParentLeft = 4
		transparent
		fillToRight = 5
		invisible
		doesNotHaveBorder

endSplashScreen
