draw
LTH_diag | Sets the hook for drawing diagnostic information on screen. |
LTH_draw | Sets the hook for drawing on the screen in a layer below the HUD but above the environment. |
LT_draw_string | Draws a text string on the screen. |
LT_draw_window | Draws a window on the screen. |
LT_draw_width | Returns the current width of the screen. |
LT_draw_height | Returns the current height of the screen. |
LT_draw_bar | Draws a colored bar. |
LT_draw_number | Draws a number in a classic monospaced font. |
LT_draw_icon | Draws an icon. |
entity
LT_entity_player | Gets the current user's player entity. |
LT_entity_closest | Gets the entity closest to the location given. |
LT_entity_count | Returns the current number of entities in the entire game. |
LT_entity_get | Gets an arbitrary entity from a numerical index. |
LT_entity_scan | Finds all entities within a given radius. |
vector
LT_vec_to_screen | Converts a point in the game's environment space to a point on screen. |
rpg
LTH_damage | Sets the function that will modify results from all damage calculations. |
LTH_damage_final | Sets the function that will modify final results from all damage calculations. |
LTH_environment_damage | Sets the function that will modify results from environment damage. |
LT_entity_inflict | Attempts to inflict a condition on a character. |
LT_entity_has_condition | Checks to see if a character entity has a condition. |
file
LT_file_open_write | Opens a file for saving data. |
LT_file_close | Closes an open file handle. |
LT_file_open_read | Opens a file for reading saved data. |
LT_file_write_int | Writes a 32-bit integer to file. |
LT_file_read_int | Reads a 32-bit integer from file. |
LT_file_write_float | Writes a 32-bit floating point number to file. |
LT_file_read_float | Reads a 32-bit floating point number from file. |
LT_file_write_string | Writes a text character string to file. |
LT_file_read_string | Reads a text character from file. |
system
LTH_process | Adds a process function to be executed every game engine frame. |
LT_client | Returns true if the engine is running in either single player mode or as a client in multiplayer. |
LT_server | Returns true if the engine is either in single player mode or is running as a server. |
LT_player_count | Returns the number of players in the current game. |
LT_player_index | Returns the entity index for one of the players in the current game. |
LT_random | Gets the next random number from generator. |
world
LT_zone_ready | Returns true if the zone containing a location is ready, that it can be modified. |
LT_block_morph | Changes a block in the world to a different one. |
LT_block_get | Gets information about a single block in the world. |
LT_prop_create | Creates a prop in the world. |
LT_prop_destroy | Destroys a prop in the world. |
LT_prop_get | Gets information about a prop in the world. |
LT_prop_parameter | Changes the parameter on a prop. |