view 06/msg.xml @ 13:2925b0e246c6 default tip

Fix a lot of things, and add a TODO.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 17 Feb 2012 12:54:08 +0100
parents f82309a9465e
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../html.xsl"?>
<?xml-stylesheet type="text/css" href="../style.css"?>
<opcodes xmlns="urn:opcodes:description">
	<title>MSG opcodes</title>

	<op>
		<num>0</num>
		<name></name>
		<desc></desc>
	</op>

	<op>
		<num>1</num>
		<name>enter</name>
		<params>
			<param type="s" name="side">0 is left, 1 is right.</param>
			<param type="s" name="effect"/>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>2</num>
		<name>change_face</name>
		<params>
			<param type="s" name="side"/>
			<param type="s" name="sprite"/>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>3</num>
		<name>display</name>
		<params>
			<param type="s" name="side"/>
			<param type="s" name="line">0 is top, 1 is bottom.</param>
			<param type="z" name="text">Only one line.</param>
		</params>
		<desc>Displays a line of text.</desc>
	</op>

	<op>
		<num>4</num>
		<name>pause</name>
		<params>
			<param type="S" name="duration" unit="frames"/>
		</params>
		<desc>Wait for the user to provide an input, or timeout.</desc>
	</op>

	<op>
		<num>5</num>
		<name>switch</name>
		<params>
			<param type="s" name="side"/>
			<param type="s" values="0 to 5">Animation to use (0=?; 1=appear; 2=unused (leave too?); 3=front; 4=back; 5=leave)</param>
		</params>
		<desc>Makes one of the two girls come to or leave the screen.</desc>
	</op>

	<op>
		<num>6</num>
		<name>appear_enemy</name>
		<desc>Makes the enemy sprite come in the game area.</desc>
	</op>

	<op>
		<num>7</num>
		<name>music</name>
		<params>
			<param type="S" name="music_id"/>
		</params>
		<desc>Plays the selected music.</desc>
	</op>

	<op>
		<num>8</num>
		<name>display2</name>
		<params>
			<param type="s" name="side"/>
			<param type="s" name="line">0 is top, 1 is bottom.</param>
			<param type="z" name="text">Only one line.</param>
		</params>
		<desc>Displays a line of text on a character. Always used to introduce her.</desc>
	</op>

	<op>
		<num>9</num>
		<name>show_scores</name>
		<params>
			<param type="S">Unused?</param>
		</params>
		<desc>Display the score panel.</desc>
	</op>

	<op>
		<num>10</num>
		<name>freeze</name>
		<desc>Disable the input and fige the pause.</desc>
	</op>

	<op>
		<num>11</num>
		<name>next_level</name>
		<desc>Close the score panel and launch the next level.</desc>
	</op>

	<op>
		<num>12</num>
		<name></name>
		<desc></desc>
	</op>

	<op>
		<num>13</num>
		<name>allow_skip</name>
		<params>
			<param type="S">boolean</param>
		</params>
		<desc>If 0 disallow, if 1 allow.</desc>
	</op>

	<op>
		<num>14</num>
		<name></name>
		<desc></desc>
	</op>
</opcodes>