File: special_flags.html

package info (click to toggle)
agistudio 1.2.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,600 kB
  • ctags: 1,506
  • sloc: cpp: 16,676; makefile: 53
file content (67 lines) | stat: -rw-r--r-- 2,956 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<HTML>
<HEAD>
<TITLE>Special flags</TITLE></HEAD>
<BODY>
<h1>Special flags</h1>
Some flags have special meaning to the interpreter:<p>
<pre>
Flag Define name in template game Meaning (when set)
---------------------------------------------------------------------------
                                  This indicates that ego's baseline (the
 0   ego_on_water                 bottom row of pixels) is completely on
                                  water (pixels with a priority of 3)

 1   ego_hidden                   Ego is completely hidden by something
                                  else on screen

 2   input_received               Input has been received from the player

                                  All or part of ego's baseline (the bottom
 3   ego_touching_signal_line     row of pixels) is touching a signal line
                                  (pixels with a priority of 2)

                                  The input received from the player has
 4   input_parsed                 been parsed (the said command has
                                  returned true at some point)

 5   new_room                     This is the the first cycle in a new room

 6   game_restarted               This is the first cycle since the game
                                  has been restarted

 7   script_buffer_blocked        Prevents the interpreter from writing to
                                  the script buffer

 8   joystick_sensitivity_set     Indicates that v15 specifies the joystick
                                  sensitivity

 9   sound_on                     The sound is on

 10  trace_enabled                Trace mode is enabled

 11  first_logic0_cycle           This is the first time logic 0 has been
                                  executed

 12  game_restored                This is the first cycle since a game has
                                  been restored

                                  The player is allowed to select an
                                  inventory item in the inventory screen.
 13  inventory_select_enabled     When the item has been selected, v25
                                  (selected_inventory_item) is set to the
                                  number of the item selected (or 255 if
                                  ESC is pressed).

 14  menu_enabled                 The menu is enabled

                                  Windows created by print and similar
                                  commands remain on screen until the
                                  close.window command is used. If this
 15  windows_remain               flag is not set, the windows remain on
                                  screen until the user presses a key or
                                  for the time specified by v21
                                  (window_close_time).
</pre>
<B>See also</B><p>
<a href="special_variables.html">Special variables</a><p>
</BODY></HTML>