title 
Vars | |
| file_path | The path to the title screen image |
|---|---|
| icon | The icon to use for the title screen |
| init_infos | A list of initialization information |
| init_stat_maptext | Holds the maptext that displays initialization information on the title screen |
| music_maptext | Holds the maptext that displays the playing music on the title screen |
| num_dots | Tracks the number of dots to display |
| previous_icon | The previous title screen icon (from the last round) |
| splash_turf | Reference to the turf in the lobby, which is where we hold the title screen |
| stats_faded | Tracks when stats have been faded out for everyone |
| total_init_time | The total time taken to initialize the game |
Procs | |
| add_init_text | Adds an entry to the initialization information list |
| fade_init_text | Simply fades out the initialization text |
| remove_init_text | Removes the passed category from the initialization information list |
| update_init_text | Updates the displayed initialization text according to all initialization information |
| update_music_text | Updates the text displayed on the title screen for lobby music |
Var Details
file_path 
The path to the title screen image
icon 
The icon to use for the title screen
init_infos 
A list of initialization information
init_stat_maptext 
Holds the maptext that displays initialization information on the title screen
music_maptext 
Holds the maptext that displays the playing music on the title screen
num_dots 
Tracks the number of dots to display
previous_icon 
The previous title screen icon (from the last round)
splash_turf 
Reference to the turf in the lobby, which is where we hold the title screen
stats_faded 
Tracks when stats have been faded out for everyone
total_init_time 
The total time taken to initialize the game
Proc Details
add_init_text
Adds an entry to the initialization information list
- init_category: The category of the initialization information - this must be a unique key, such as a typepath. Tt's not displayed to the player, so don't worry about making it pretty.
- name: The name of the initialization information. This is displayed to the player.
- stage: The "stage" of the initialization information, such as "loading" / "complete" / "failed".
- seconds: The number of seconds this initialization information took. Optional.
- override: If TRUE, this will overwrite any existing entry with the same init_category. Othewise, it will try to update the existing entry's state and time.
- major_update: Indicates this init text is a major update, which will update a "dot" animation.
fade_init_text
Simply fades out the initialization text
remove_init_text
Removes the passed category from the initialization information list
update_init_text
Updates the displayed initialization text according to all initialization information
update_music_text
Updates the text displayed on the title screen for lobby music