minor gitignore additions
[summerhack] / demoscript
1 # 3dengfx demosystem script v1.2
2 # ------------------------------
3 # format: <time> <command> <part_name> [args]
4 # If time has an 's' suffix it's seconds, otherwise milliseconds.
5 # For a list of available commands, see the bottom of this file.
6
7 # end of titles-start of galaxy flash
8 0s              fx flash 36200 400
9
10 # end of galaxy fade-out
11 0s fx fade 56s 2s <0,0,0,0> 0 <0,0,0,1> 0
12
13 # start of temple fade-in
14 0s fx fade 58s 2s <0,0,0,1> 0 <0,0,0,0> 0
15
16 #end of temple fade-out
17 0s fx fade 87s 2s <0,0,0,0> 0 <0,0,0,1> 0
18
19 # -- demo sequence --
20 0s              rename_part distort zdistort
21 0s              start_part      pipes
22 36200   end_part        pipes
23 36200   start_part      space
24 58s             end_part        space
25 58s             start_part      temple
26
27 65s             start_part      zdistort
28 65s             set_rtarget     temple  t0
29 71283   set_rtarget     temple  fb
30 71283   end_part        zdistort
31
32 89s             end_part        temple
33 89200   end
34 #--------------------
35
36 # -----------------
37 # command reference
38 # -----------------
39 #
40 # start_part <part>
41 #               starts the specified demo-part.
42 #
43 # end_part <part>
44 #               ends the specified demo-part.
45 #
46 # rename_part <part> <new name>
47 #               renames a part.
48 #               Note: overlapping parts are executed in lexicographical order.
49 #
50 # set_clear <part> true/false
51 #               sets whether the specified part should clear the framebuffer
52 #               before starting its graphics update.
53 #
54 # set_rtarget <part> <target>
55 #               changes the render target of the specified part.
56 #               <target> must be either fb (for framebuffer) or the name of a
57 #               texture register (t0, t1, t2, t3).
58 #
59 # fx <effect> <time> <duration> <effect specific arguments> ...
60 #               schedules the specified post-processing effect for execution at
61 #               the specified time, for the specified duration.
62 #               Note: effects may overlapped, in which case are executed in the order
63 #               that they are encountered in the demoscript.
64 #
65 # end
66 #               ends the demo...
67 #
68 # ---------------------------------
69 # Post-Processing Effects Reference
70 # ---------------------------------
71 #
72 # neg <start> <duration>
73 #               inverse video for the specified time interval.
74 #
75 # flash <peak-time> <duration> [color]
76 #               screen flash, color is optional, default is white.
77 #               Note: the flash is sinusoidal, with the peak occuring at the specified time.
78 #
79 # fade <start> <duration> [color1] [tex1] [color2] [tex2]
80 #       crossfade from color/tex 1 to color/tex 2
81 #
82 # overlay <start> <duration> <texture> [shader]
83 #               --- SUBJECT TO CHANGE ---