adLDAP library upgraded to 3.3.1
[dokuwiki.git] / inc / geshi / gml.php
blobda3d3a8e8c344087086bfa004fb0a55f3c110feb
1 <?php
2 /*************************************************************************************
3 * gml.php
4 * --------
5 * Author: Jos� Jorge Enr�quez (jenriquez@users.sourceforge.net)
6 * Copyright: (c) 2005 Jos� Jorge Enr�quez Rodr�guez (http://www.zonamakers.com)
7 * Release Version: 1.0.8.4
8 * Date Started: 2005/06/21
10 * GML language file for GeSHi.
12 * GML (Game Maker Language) is a script language that is built-in into Game Maker,
13 * a game creation program, more info about Game Maker can be found at
14 * http://www.gamemaker.nl/
15 * All GML keywords were extracted from the Game Maker HTML Help file using a PHP
16 * script (one section at a time). I love PHP for saving me that bunch of work :P!.
17 * I think all GML functions have been indexed here, but I'm not sure about it, so
18 * please let me know of any issue you may find.
20 * CHANGES
21 * -------
22 * 2005/11/11
23 * - Changed 'CASE_KEYWORDS' fom 'GESHI_CAPS_LOWER' to 'GESHI_CAPS_NO_CHANGE',
24 * so that MCI_command appears correctly (the only GML function using capitals).
25 * - Changed 'CASE_SENSITIVE' options, 'GESHI_COMMENTS' from true to false and all
26 * of the others from false to true.
27 * - Deleted repeated entries.
28 * - div and mod are language keywords, moved (from symbols) to the appropiate section (1).
29 * - Moved self, other, all, noone and global identifiers to language keywords section 1.
30 * - Edited this file lines to a maximum width of 100 characters (as stated in
31 * the GeSHi docs). Well, not strictly to 100 but around it.
32 * - Corrected some minor issues (the vk_f1...vk_f12 keys and similar).
33 * - Deleted the KEYWORDS=>5 and KEYWORDS=>6 sections (actually, they were empty).
34 * I was planning of using those for the GML functions available only in the
35 * registered version of the program, but not anymore.
37 * 2005/06/26 (1.0.3)
38 * - First Release.
40 * TODO (updated 2005/11/11)
41 * -------------------------
42 * - Test it for a while and make the appropiate corrections.
44 *************************************************************************************
46 * This file is part of GeSHi.
48 * GeSHi is free software; you can redistribute it and/or modify
49 * it under the terms of the GNU General Public License as published by
50 * the Free Software Foundation; either version 2 of the License, or
51 * (at your option) any later version.
53 * GeSHi is distributed in the hope that it will be useful,
54 * but WITHOUT ANY WARRANTY; without even the implied warranty of
55 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
56 * GNU General Public License for more details.
58 * You should have received a copy of the GNU General Public License
59 * along with GeSHi; if not, write to the Free Software
60 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
62 ************************************************************************************/
64 $language_data = array (
65 'LANG_NAME' => 'GML',
66 'COMMENT_SINGLE' => array(1 => '//'),
67 'COMMENT_MULTI' => array('/*' => '*/'),
68 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
69 'QUOTEMARKS' => array("'"),
70 'ESCAPE_CHAR' => '\\',
71 'KEYWORDS' => array(
72 // language keywords
73 1 => array(
74 'break', 'continue', 'do', 'until', 'if', 'else',
75 'exit', 'for', 'repeat', 'return', 'switch',
76 'case', 'default', 'var', 'while', 'with', 'div', 'mod',
77 // GML Language overview
78 'self', 'other', 'all', 'noone', 'global',
80 // modifiers and built-in variables
81 2 => array(
82 // Game play
83 'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed',
84 'friction','gravity','gravity_direction',
85 'path_index','path_position','path_positionprevious','path_speed','path_orientation',
86 'path_endaction',
87 'object_index','id','mask_index','solid','persistent','instance_count','instance_id',
88 'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday',
89 'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position',
90 'timeline_speed',
91 'room','room_first','room_last','room_width','room_height','room_caption','room_persistent',
92 'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives',
93 'caption_health',
94 'event_type','event_number','event_object','event_action',
95 'error_occurred','error_last',
96 // User interaction
97 'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string',
98 'mouse_x','mouse_y','mouse_button','mouse_lastbutton',
99 // Game Graphics
100 'sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset',
101 'image_number','image_index','image_speed','image_xscale','image_yscale','image_angle',
102 'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom',
103 'background_color','background_showcolor','background_visible','background_foreground',
104 'background_index','background_x','background_y','background_width','background_height',
105 'background_htiled','background_vtiled','background_xscale','background_yscale',
106 'background_hspeed','background_vspeed','background_blend','background_alpha',
107 'background','left, top, width, height','depth','visible','xscale','yscale','blend','alpha',
108 'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport',
109 'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed',
110 'view_vspeed','view_object',
111 'transition_kind',
112 // Files, registry and executing programs
113 'game_id','working_directory','temp_directory',
114 'secure_mode',
115 // Creating particles
116 'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number',
117 'force','dist','kind','additive', 'parttype1', 'parttype2'
119 // functions
120 3 => array(
121 // Computing things
122 'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln',
123 'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad',
124 'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x',
125 'lengthdir_y','is_real','is_string',
126 'chr','ord','real','string','string_format','string_length','string_pos','string_copy',
127 'string_char_at','string_delete','string_insert','string_replace','string_replace_all',
128 'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits',
129 'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text',
130 'date_current_datetime','date_current_date','date_current_time','date_create_datetime',
131 'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time',
132 'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour',
133 'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week',
134 'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday',
135 'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year',
136 'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span',
137 'date_hour_span','date_minute_span','date_second_span','date_compare_datetime',
138 'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string',
139 'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year',
140 'date_is_today',
141 // Game play
142 'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped',
143 'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all',
144 'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all',
145 'distance_to_point','distance_to_object','position_empty','position_meeting',
146 'path_start','path_end',
147 'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object',
148 'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path',
149 'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all',
150 'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle',
151 'mp_grid_add_instances','mp_grid_path','mp_grid_draw',
152 'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line',
153 'instance_find','instance_exists','instance_number','instance_position','instance_nearest',
154 'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy',
155 'instance_change','position_destroy','position_change',
156 'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region',
157 'instance_activate_all','instance_activate_object','instance_activate_region',
158 'sleep',
159 'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next',
160 'game_end','game_restart','game_save','game_load',
161 'event_perform', 'event_perform_object','event_user','event_inherited',
162 'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get',
163 'variable_global_array_get','variable_global_array2_get','variable_local_get',
164 'variable_local_array_get','variable_local_array2_get','variable_global_set',
165 'variable_global_array_set','variable_global_array2_set','variable_local_set',
166 'variable_local_array_set','variable_local_array2_set','set_program_priority',
167 // User interaction
168 'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check',
169 'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct',
170 'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release',
171 'keyboard_clear','io_clear','io_handle','keyboard_wait',
172 'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear',
173 'mouse_wait',
174 'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov',
175 'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos',
176 'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov',
177 // Game Graphics
178 'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background',
179 'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext',
180 'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general',
181 'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext',
182 'draw_background_part_ext','draw_background_general',
183 'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect',
184 'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path',
185 'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha',
186 'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue',
187 'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel',
188 'screen_save','screen_save_part',
189 'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width',
190 'string_height','string_width_ext','string_height_ext','draw_text_transformed',
191 'draw_text_ext_transformed','draw_text_color','draw_text_ext_color',
192 'draw_text_transformed_color','draw_text_ext_transformed_color',
193 'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color',
194 'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin',
195 'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture',
196 'background_get_texture','texture_preload','texture_set_priority',
197 'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture',
198 'draw_vertex_texture_color','texture_set_interpolation',
199 'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext',
200 'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height',
201 'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel',
202 'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled',
203 'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext',
204 'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part',
205 'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top',
206 'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale',
207 'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position',
208 'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale',
209 'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete',
210 'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth',
211 'display_get_width','display_get_height','display_get_colordepth','display_get_frequency',
212 'display_set_size','display_set_colordepth','display_set_frequency','display_set_all',
213 'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
214 'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen',
215 'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons',
216 'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable',
217 'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor',
218 'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale',
219 'window_set_position','window_set_size','window_set_rectangle','window_center','window_default',
220 'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x',
221 'window_mouse_get_y','window_mouse_set',
222 'window_set_region_size','window_get_region_width','window_get_region_height',
223 'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set',
224 'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set',
225 'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync',
226 // Sound and music)
227 'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume',
228 'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory',
229 'sound_effect_set','sound_effect_chorus','sound_effect_echo', 'sound_effect_flanger',
230 'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer',
231 'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance',
232 'sound_3d_set_sound_cone',
233 'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length',
234 'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume',
235 'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command',
236 // Splash screens, highscores, and other pop-ups
237 'show_text','show_image','show_video','show_info','load_info',
238 'show_message','show_message_ext','show_question','get_integer','get_string',
239 'message_background','message_alpha','message_button','message_text_font','message_button_font',
240 'message_input_font','message_mouse_color','message_input_color','message_caption',
241 'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename',
242 'get_save_filename','get_directory','get_directory_alt','show_error',
243 'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font',
244 'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear',
245 'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore',
246 // Resources
247 'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height',
248 'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset',
249 'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top',
250 'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise',
251 'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard',
252 'sound_restore',
253 'background_exists','background_get_name','background_get_width','background_get_height',
254 'background_get_transparent','background_get_smooth','background_get_preload',
255 'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic',
256 'font_get_first','font_get_last',
257 'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed',
258 'path_get_precision','path_get_number','path_get_point_x','path_get_point_y',
259 'path_get_point_speed','path_get_x','path_get_y','path_get_speed',
260 'script_exists','script_get_name','script_get_text',
261 'timeline_exists','timeline_get_name',
262 'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible',
263 'object_get_depth','object_get_persistent','object_get_mask','object_get_parent',
264 'object_is_ancestor',
265 'room_exists','room_get_name',
266 // Changing resources
267 'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise',
268 'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace',
269 'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface',
270 'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite',
271 'sound_add','sound_replace','sound_delete',
272 'background_duplicate','background_assign','background_add','background_replace',
273 'background_create_color','background_create_gradient','background_create_from_screen',
274 'background_create_from_surface','background_delete','background_set_alpha_from_background',
275 'font_add','font_add_sprite','font_replace_sprite','font_delete',
276 'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate',
277 'path_assign','path_append','path_add_point','path_insert_point','path_change_point',
278 'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate',
279 'path_scale','path_shift',
280 'execute_string','execute_file','script_execute',
281 'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear',
282 'object_set_sprite','object_set_solid','object_set_visible','object_set_depth',
283 'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete',
284 'object_event_add','object_event_clear',
285 'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code',
286 'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled',
287 'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear',
288 'room_tile_add','room_tile_add_ext','room_tile_clear',
289 // Files, registry and executing programs
290 'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close',
291 'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string',
292 'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete',
293 'file_rename','file_copy','directory_exists','directory_create','file_find_first',
294 'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path',
295 'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open',
296 'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek',
297 'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string',
298 'environment_get_variable',
299 'registry_write_string','registry_write_real','registry_read_string','registry_read_real',
300 'registry_exists','registry_write_string_ext','registry_write_real_ext',
301 'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root',
302 'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real',
303 'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete',
304 'execute_program','execute_shell',
305 // Data structures
306 'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty',
307 'ds_stack_push','ds_stack_pop','ds_stack_top',
308 'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty',
309 'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail',
310 'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add',
311 'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value',
312 'ds_list_sort',
313 'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add',
314 'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous',
315 'ds_map_find_next','ds_map_find_first','ds_map_find_last',
316 'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size',
317 'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority',
318 'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min',
319 'ds_priority_delete_max','ds_priority_find_max',
320 'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height',
321 'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region',
322 'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk',
323 'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min',
324 'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max',
325 'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y',
326 'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y',
327 // Creating particles
328 'effect_create_below','effect_create_above','effect_clear',
329 'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape',
330 'part_type_sprite','part_type_size','part_type_scale',
331 'part_type_orientation','part_type_color1','part_type_color2','part_type_color3',
332 'part_type_color_mix','part_type_color_rgb','part_type_color_hsv',
333 'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life',
334 'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity',
335 'part_system_create','part_system_destroy','part_system_exists','part_system_clear',
336 'part_system_draw_order','part_system_depth','part_system_position',
337 'part_system_automatic_update','part_system_automatic_draw','part_system_update',
338 'part_system_drawit','part_particles_create','part_particles_create_color',
339 'part_particles_clear','part_particles_count',
340 'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
341 'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream',
342 'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all',
343 'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force',
344 'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all',
345 'part_destroyer_exists','part_destroyer_clear','part_destroyer_region',
346 'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all',
347 'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind',
348 'part_deflector_friction',
349 'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists',
350 'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind',
351 // Multiplayer games
352 'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial',
353 'mplay_connect_status','mplay_end','mplay_ipaddress',
354 'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join',
355 'mplay_session_mode','mplay_session_status','mplay_session_end',
356 'mplay_player_find','mplay_player_name','mplay_player_id',
357 'mplay_data_write','mplay_data_read','mplay_data_mode',
358 'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id',
359 'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count',
360 'mplay_message_clear',
361 // Using DLL's
362 'external_define','external_call','external_free','window_handle',
363 // 3D Graphics
364 'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective',
365 'd3d_set_depth',
366 'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end',
367 'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling',
368 'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall',
369 'd3d_draw_floor',
370 'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho',
371 'd3d_set_projection_perspective',
372 'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling',
373 'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
374 'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling',
375 'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z',
376 'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty',
377 'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top',
378 'd3d_transform_stack_discard',
379 'd3d_set_fog',
380 'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point',
381 'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture',
382 'd3d_vertex_normal_texture_color',
383 'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load',
384 'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color',
385 'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal',
386 'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
387 'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block',
388 'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor'
390 // constants
391 4 => array(
392 'true', 'false', 'pi',
393 'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw',
394 'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button',
395 'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release',
396 'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up',
397 'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button',
398 'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release',
399 'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right',
400 'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2',
401 'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6',
402 'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right',
403 'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2',
404 'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6',
405 'ev_joystick2_button7','ev_joystick2_button8',
406 'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end',
407 'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1',
408 'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9',
409 'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal',
410 'ev_step_begin','ev_step_end',
411 'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space',
412 'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete',
413 'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen',
414 'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12',
415 'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6',
416 'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract',
417 'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt',
418 'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray',
419 'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow',
420 'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom',
421 'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip',
422 'pr_trianglefan',
423 'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse',
424 'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit',
425 'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all',
426 'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer',
427 'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive',
428 'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star',
429 'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark',
430 'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow',
431 'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line',
432 'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic',
433 'ps_deflect_horizontal', 'ps_deflect_vertical',
434 'ps_change_motion','ps_change_shape','ps_change_all'
437 'SYMBOLS' => array(
438 '(', ')', '{', '}', '[', ']',
439 '&&', '||', '^^', '&', '|', '^',
440 '<', '<=', '==', '!=', '>', '>=', '=',
441 '<<', '>>',
442 '+=', '-=', '*=', '/=',
443 '+', '-', '*', '/',
444 '!', '~', ',', ';'
446 'CASE_SENSITIVE' => array(
447 GESHI_COMMENTS => false,
448 1 => true,
449 2 => true,
450 3 => true,
451 4 => true,
453 'STYLES' => array(
454 'KEYWORDS' => array(
455 1 => 'font-weight: bold; color: #000000;',
456 2 => 'font-weight: bold; color: #000000;',
457 3 => 'color: navy;',
458 4 => 'color: #663300;',
460 'COMMENTS' => array(
461 1 => 'font-style: italic; color: green;',
462 'MULTI' => 'font-style: italic; color: green;'
464 'ESCAPE_CHAR' => array(
465 0 => 'color: #000099; font-weight: bold;'
467 'BRACKETS' => array(
468 0 => 'color: #000000;' //'color: #66cc66;'
470 'STRINGS' => array(
471 0 => 'color: #ff0000;'
473 'NUMBERS' => array(
474 0 => 'color: #cc66cc;'
476 'METHODS' => array(
477 1 => 'color: #202020;'
479 'SYMBOLS' => array(
480 0 => 'color: #66cc66; font-weight: bold;'
482 'REGEXPS' => array(
484 'SCRIPT' => array(
487 'URLS' => array(
488 1 => '',
489 2 => '',
490 3 => '',
491 4 => ''
493 'OOLANG' => true,
494 'OBJECT_SPLITTERS' => array(
495 1 => '.'
497 'REGEXPS' => array(
499 'STRICT_MODE_APPLIES' => GESHI_NEVER,
500 'SCRIPT_DELIMITERS' => array(
502 'HIGHLIGHT_STRICT_BLOCK' => array(