<?php
$BEAUT_PATH = realpath(".")."/Services/COPage/syntax_highlight/php";
if (!isset ($BEAUT_PATH)) return;
require_once("$BEAUT_PATH/Beautifier/HFile.php");
  class HFile_quake extends HFile{
   function HFile_quake(){
     $this->HFile();	
/*************************************/
// Beautifier Highlighting Configuration File 
// Quake2 Config
/*************************************/
// Flags

$this->nocase            	= "0";
$this->notrim            	= "0";
$this->perl              	= "0";

// Colours

$this->colours        	= array("blue", "purple", "gray", "brown", "blue", "purple", "gray");
$this->quotecolour       	= "blue";
$this->blockcommentcolour	= "green";
$this->linecommentcolour 	= "green";

// Indent Strings

$this->indent            	= array();
$this->unindent          	= array();

// String characters and delimiters

$this->stringchars       	= array();
$this->delimiters        	= array("-", "+", "=", "/", "\"", ",", ".", "%");
$this->escchar           	= "";

// Comment settings

$this->linecommenton     	= array("//");
$this->blockcommenton    	= array("");
$this->blockcommentoff   	= array("");

// Keywords (keyword mapping to colour number)

$this->keywords          	= array(
			"alias" => "1", 
			"bind" => "1", 
			"condump" => "1", 
			"connect" => "1", 
			"demomap" => "1", 
			"dir" => "1", 
			"download" => "1", 
			"drop" => "1", 
			"echo" => "1", 
			"error" => "1", 
			"exec" => "1", 
			"gamemap" => "1", 
			"give" => "1", 
			"gun_model" => "1", 
			"impulse" => "1", 
			"kick" => "1", 
			"link" => "1", 
			"load" => "1", 
			"map" => "1", 
			"play" => "1", 
			"rcon" => "1", 
			"rcon_address" => "1", 
			"rcon_password" => "1", 
			"record" => "1", 
			"save" => "1", 
			"say" => "1", 
			"say_team" => "1", 
			"serverrecord" => "1", 
			"set" => "1", 
			"setenv" => "1", 
			"setmaster" => "1", 
			"sky" => "1", 
			"sv" => "1", 
			"sv_maplist" => "1", 
			"timelimit" => "1", 
			"timerefresh" => "1", 
			"unbind" => "1", 
			"use" => "1", 
			"wave" => "1", 
			"allow_download" => "2", 
			"allow_download_maps" => "2", 
			"allow_download_models" => "2", 
			"allow_download_players" => "2", 
			"allow_download_sounds" => "2", 
			"cd_nocd" => "2", 
			"cheats" => "2", 
			"cl_autoskins" => "2", 
			"cl_blend" => "2", 
			"cl_entities" => "2", 
			"cl_footsteps" => "2", 
			"cl_gun" => "2", 
			"cl_lights" => "2", 
			"cl_nodelta" => "2", 
			"cl_noskins" => "2", 
			"cl_particles" => "2", 
			"cl_predict" => "2", 
			"cl_run" => "2", 
			"cl_showmiss" => "2", 
			"cl_shownet" => "2", 
			"cl_stats" => "2", 
			"cl_stereo" => "2", 
			"cl_testblend" => "2", 
			"cl_testentities" => "2", 
			"cl_testlights" => "2", 
			"cl_testparticles" => "2", 
			"cl_vwep" => "2", 
			"coop" => "2", 
			"deathmatch" => "2", 
			"debuggraph" => "2", 
			"dedicated" => "2", 
			"developer" => "2", 
			"filterban" => "2", 
			"fixedtime" => "2", 
			"flushmap" => "2", 
			"freelook" => "2", 
			"g_select_empty" => "2", 
			"gender_auto" => "2", 
			"gl_3dlabs_broken" => "2", 
			"gl_allow_software" => "2", 
			"gl_bitdepth" => "2", 
			"gl_clear" => "2", 
			"gl_cull" => "2", 
			"gl_dynamic" => "2", 
			"gl_ext_compiled_vertex_array" => "2", 
			"gl_ext_multitexture" => "2", 
			"gl_ext_palettedtexture" => "2", 
			"gl_ext_pointparameters_ext_swapinterval" => "2", 
			"gl_finish" => "2", 
			"gl_flashblend" => "2", 
			"gl_lightmap" => "2", 
			"gl_lockpvs" => "2", 
			"gl_log" => "2", 
			"gl_monolightmap" => "2", 
			"gl_nobind" => "2", 
			"gl_nosubimage" => "2", 
			"gl_playermip" => "2", 
			"gl_polyblend" => "2", 
			"gl_round_down" => "2", 
			"gl_saturatelightning" => "2", 
			"gl_shadows" => "2", 
			"gl_showtris" => "2", 
			"gl_skymip" => "2", 
			"gl_swapinterval" => "2", 
			"gl_vertex_arrays" => "2", 
			"gl_ztrick" => "2", 
			"in_joystick" => "2", 
			"in_mouse" => "2", 
			"joy_advanced" => "2", 
			"log_stats" => "2", 
			"lookspring" => "2", 
			"lookstrafe" => "2", 
			"m_filter" => "2", 
			"netgraph" => "2", 
			"paused" => "2", 
			"public" => "2", 
			"r_drawentities" => "2", 
			"r_dspeeds" => "2", 
			"r_fullbright" => "2", 
			"r_lerpmodels" => "2", 
			"r_nocull" => "2", 
			"r_norefresh" => "2", 
			"r_novis" => "2", 
			"r_speeds" => "2", 
			"s_initsound" => "2", 
			"s_loadas8bit" => "2", 
			"s_primary" => "2", 
			"s_show" => "2", 
			"s_textsound" => "2", 
			"s_wavonly" => "2", 
			"scr_drawall" => "2", 
			"scr_showpause" => "2", 
			"scr_showturtle" => "2", 
			"showclamp" => "2", 
			"showdrop" => "2", 
			"showpackets" => "2", 
			"showtrace" => "2", 
			"spectator" => "2", 
			"sv_enforcetime" => "2", 
			"sv_noreload" => "2", 
			"sw_allow_modex" => "2", 
			"sw_drawflat" => "2", 
			"sw_draworder" => "2", 
			"sw_polymodelstats" => "2", 
			"sw_reportedgeout" => "2", 
			"sw_reportsurfout" => "2", 
			"sw_stipplealpha" => "2", 
			"sw_surfcacheoverride" => "2", 
			"sw_waterwarp" => "2", 
			"timedemo" => "2", 
			"timegraph" => "2", 
			"vid_fullscreen" => "2", 
			"win_noalttab" => "2", 
			"ALT" => "3", 
			"AUX1" => "3", 
			"AUX10" => "3", 
			"AUX11" => "3", 
			"AUX12" => "3", 
			"AUX13" => "3", 
			"AUX14" => "3", 
			"AUX15" => "3", 
			"AUX16" => "3", 
			"AUX17" => "3", 
			"AUX18" => "3", 
			"AUX19" => "3", 
			"AUX2" => "3", 
			"AUX20" => "3", 
			"AUX21" => "3", 
			"AUX22" => "3", 
			"AUX23" => "3", 
			"AUX24" => "3", 
			"AUX25" => "3", 
			"AUX26" => "3", 
			"AUX27" => "3", 
			"AUX28" => "3", 
			"AUX29" => "3", 
			"AUX3" => "3", 
			"AUX30" => "3", 
			"AUX31" => "3", 
			"AUX32" => "3", 
			"AUX4" => "3", 
			"AUX5" => "3", 
			"AUX6" => "3", 
			"AUX7" => "3", 
			"AUX8" => "3", 
			"AUX9" => "3", 
			"BACKSPACE" => "3", 
			"CTRL" => "3", 
			"DEL" => "3", 
			"DOWNARROW" => "3", 
			"END" => "3", 
			"ENTER" => "3", 
			"F1" => "3", 
			"F10" => "3", 
			"F11" => "3", 
			"F12" => "3", 
			"F2" => "3", 
			"F3" => "3", 
			"F4" => "3", 
			"F5" => "3", 
			"F6" => "3", 
			"F7" => "3", 
			"F8" => "3", 
			"F9" => "3", 
			"HOME" => "3", 
			"INS" => "3", 
			"JOY1" => "3", 
			"JOY2" => "3", 
			"JOY3" => "3", 
			"JOY4" => "3", 
			"KP_5" => "3", 
			"KP_DEL" => "3", 
			"KP_DOWNARROW" => "3", 
			"KP_END" => "3", 
			"KP_ENTER" => "3", 
			"KP_HOME" => "3", 
			"KP_INS" => "3", 
			"KP_LEFTARROW" => "3", 
			"KP_MINUS" => "3", 
			"KP_PGDN" => "3", 
			"KP_PGUP" => "3", 
			"KP_PLUS" => "3", 
			"KP_RIGHTARROW" => "3", 
			"KP_SLASH" => "3", 
			"KP_UPARROW" => "3", 
			"LEFTARROW" => "3", 
			"MOUSE1" => "3", 
			"MOUSE2" => "3", 
			"MOUSE3" => "3", 
			"MWHEELDOWN" => "3", 
			"MWHEELUP" => "3", 
			"PAUSE" => "3", 
			"PGDN" => "3", 
			"PGUP" => "3", 
			"RIGHTARROW" => "3", 
			"SEMICOLON" => "3", 
			"SHIFT" => "3", 
			"SPACE" => "3", 
			"TAB" => "3", 
			"UPARROW" => "3", 
			"adr0" => "4", 
			"adr1" => "4", 
			"adr2" => "4", 
			"adr3" => "4", 
			"adr4" => "4", 
			"adr5" => "4", 
			"adr6" => "4", 
			"adr7" => "4", 
			"adr8" => "4", 
			"bob_pitch" => "4", 
			"bob_roll" => "4", 
			"bob_up" => "4", 
			"cd_loopcount" => "4", 
			"cd_looptrack" => "4", 
			"cl_anglespeedkey" => "4", 
			"cl_forwardspeed" => "4", 
			"cl_maxfps" => "4", 
			"cl_pitchspeed" => "4", 
			"cl_sidespeed" => "4", 
			"cl_stereo_separation" => "4", 
			"cl_timeout" => "4", 
			"cl_upspeed" => "4", 
			"cl_yawspeed" => "4", 
			"clientport" => "4", 
			"con_notifytime" => "4", 
			"crosshair" => "4", 
			"dumpuser" => "4", 
			"flood_msgs" => "4", 
			"flood_persecond" => "4", 
			"flood_waitdelay" => "4", 
			"fov" => "4", 
			"fraglimit" => "4", 
			"gl_mode" => "4", 
			"gl_modulate" => "4", 
			"gl_particle_att_a" => "4", 
			"gl_particle_att_b" => "4", 
			"gl_particle_att_c" => "4", 
			"gl_particle_max_size" => "4", 
			"gl_particle_min_size" => "4", 
			"gl_particle_size" => "4", 
			"gl_picmip" => "4", 
			"graphheight" => "4", 
			"graphscale" => "4", 
			"graphshift" => "4", 
			"gun_x" => "4", 
			"gun_y" => "4", 
			"gun_z" => "4", 
			"game" => "4", 
			"gamedate" => "4", 
			"gamedir" => "4", 
			"gamename" => "4", 
			"gender" => "4", 
			"gl_drawbuffer" => "4", 
			"gl_driver" => "4", 
			"gl_texturerealalphamode" => "4", 
			"gl_texturemode" => "4", 
			"gl_texturesolidmode" => "4", 
			"hand" => "4", 
			"host_speeds" => "4", 
			"hostname" => "4", 
			"hostport" => "4", 
			"intensity" => "4", 
			"ip" => "4", 
			"ip_clientport" => "4", 
			"ip_hostport" => "4", 
			"ipx_clientport" => "4", 
			"ipx_hostport" => "4", 
			"joy_name" => "4", 
			"joy_advancedupdate" => "4", 
			"joy_advaxisx" => "4", 
			"joy_advaxisy" => "4", 
			"joy_advaxisz" => "4", 
			"joy_advaxisr" => "4", 
			"joy_advaxisu" => "4", 
			"joy_advaxisv" => "4", 
			"joy_forwardsensitivity" => "4", 
			"joy_forwardthreshold" => "4", 
			"joy_pitchsensitivity" => "4", 
			"joy_pitchthreshold" => "4", 
			"joy_sidesensitivity" => "4", 
			"joy_sidethreshold" => "4", 
			"joy_upsensitivity" => "4", 
			"joy_upthreshold" => "4", 
			"joy_yawsensitivity" => "4", 
			"joy_yawthreshold" => "4", 
			"logfile" => "4", 
			"m_forward" => "4", 
			"m_pitch" => "4", 
			"m_side" => "4", 
			"m_yaw" => "4", 
			"mapame" => "4", 
			"maxclients" => "4", 
			"maxentities" => "4", 
			"maxspectators" => "4", 
			"msg" => "4", 
			"name" => "4", 
			"netserver" => "4", 
			"password" => "4", 
			"port" => "4", 
			"rate" => "4", 
			"run_pitch" => "4", 
			"run_roll" => "4", 
			"s_khz" => "4", 
			"s_mixahead" => "4", 
			"s_volume" => "4", 
			"scr_centertime" => "4", 
			"scr_conspeed" => "4", 
			"scr_printspeed" => "4", 
			"sensitivity" => "4", 
			"skill" => "4", 
			"skin" => "4", 
			"spectator_password" => "4", 
			"sv_airaccelerate" => "4", 
			"sv_gravity" => "4", 
			"sv_maxvelocity" => "4", 
			"sv_reconnect_limit" => "4", 
			"sw_clearcolor" => "4", 
			"sw_maxedges" => "4", 
			"sw_maxsurfs" => "4", 
			"sw_mipcap" => "4", 
			"sw_mipscale" => "4", 
			"sw_mode" => "4", 
			"timeout" => "4", 
			"timescale" => "4", 
			"v_centermove" => "4", 
			"v_centerspeed" => "4", 
			"vid_gamma" => "4", 
			"vid_ref" => "4", 
			"vid_xpos" => "4", 
			"vid_ypos" => "4", 
			"viewsize" => "4", 
			"zombietime" => "4", 
			"attack" => "5", 
			"back" => "5", 
			"forward" => "5", 
			"klook" => "5", 
			"left" => "5", 
			"lookdown" => "5", 
			"lookup" => "5", 
			"mlook" => "5", 
			"movedown" => "5", 
			"moveleft" => "5", 
			"moveright" => "5", 
			"moveup" => "5", 
			"right" => "5", 
			"speed" => "5", 
			"strafe" => "5", 
			"bindlist" => "6", 
			"centerview" => "6", 
			"changing" => "6", 
			"clear" => "6", 
			"cmdlist" => "6", 
			"cvarlist" => "6", 
			"disconnect" => "6", 
			"god" => "6", 
			"gun_next" => "6", 
			"gun_prev" => "6", 
			"heartbeat" => "6", 
			"imagelist" => "6", 
			"info" => "6", 
			"invdrop" => "6", 
			"inven" => "6", 
			"invnext" => "6", 
			"invnextp" => "6", 
			"invnextw" => "6", 
			"invprev" => "6", 
			"invprevp" => "6", 
			"invprevw" => "6", 
			"invuse" => "6", 
			"kill" => "6", 
			"killserver" => "6", 
			"loading" => "6", 
			"menu_addressbook" => "6", 
			"menu_credits" => "6", 
			"menu_dmoptions" => "6", 
			"menu_game" => "6", 
			"menu_joinserver" => "6", 
			"menu_keys" => "6", 
			"menu_loadgame" => "6", 
			"menu_main" => "6", 
			"menu_multiplayer" => "6", 
			"menu_options" => "6", 
			"menu_playerconfig" => "6", 
			"menu_quit" => "6", 
			"menu_savegame" => "6", 
			"menu_startserver" => "6", 
			"menu_video" => "6", 
			"messagemode" => "6", 
			"messagemode2" => "6", 
			"modelist" => "6", 
			"noclip" => "6", 
			"notarget" => "6", 
			"path" => "6", 
			"pause" => "6", 
			"pingservers" => "6", 
			"playerlist" => "6", 
			"players" => "6", 
			"precache" => "6", 
			"quit" => "6", 
			"reconnect" => "6", 
			"score" => "6", 
			"screenshot" => "6", 
			"serverinfo" => "6", 
			"serverstop" => "6", 
			"sizedown" => "6", 
			"sizeup" => "6", 
			"skins" => "6", 
			"snd_restart" => "6", 
			"soundinfo" => "6", 
			"soundlist" => "6", 
			"status" => "6", 
			"stop" => "6", 
			"stopsound" => "6", 
			"togglconsole" => "6", 
			"togglechat" => "6", 
			"unbindall" => "6", 
			"userinfo" => "6", 
			"vid_front" => "6", 
			"vid_restart" => "6", 
			"viewpos" => "6", 
			"wait" => "6", 
			"weaplast" => "6", 
			"weapnext" => "6", 
			"weapprev" => "6", 
			"z_stats" => "6", 
			"adrenaline" => "7", 
			"airstrike" => "7", 
			"all" => "7", 
			"ammo" => "7", 
			"ancient" => "7", 
			"armor" => "7", 
			"bandolier" => "7", 
			"bfg10k" => "7", 
			"blue" => "7", 
			"bullets" => "7", 
			"cd" => "7", 
			"cells" => "7", 
			"chaingun" => "7", 
			"combat" => "7", 
			"commander\'s" => "7", 
			"cube" => "7", 
			"damage" => "7", 
			"data" => "7", 
			"environment" => "7", 
			"grapple" => "7", 
			"grenade" => "7", 
			"grenades" => "7", 
			"head" => "7", 
			"health" => "7", 
			"hyperblaster" => "7", 
			"invulnerability" => "7", 
			"jacket" => "7", 
			"key" => "7", 
			"launcher" => "7", 
			"machinegun" => "7", 
			"marker" => "7", 
			"pack" => "7", 
			"pass" => "7", 
			"power" => "7", 
			"pyramid" => "7", 
			"quad" => "7", 
			"railgun" => "7", 
			"rebreather" => "7", 
			"red" => "7", 
			"rocket" => "7", 
			"rockets" => "7", 
			"screen" => "7", 
			"security" => "7", 
			"shard" => "7", 
			"shells" => "7", 
			"shield" => "7", 
			"shotgun" => "7", 
			"silencer" => "7", 
			"slugs" => "7", 
			"spinner" => "7", 
			"suit" => "7", 
			"super" => "7");

// Special extensions

// Each category can specify a PHP function that returns an altered
// version of the keyword.
        
        

$this->linkscripts    	= array(
			"1" => "donothing", 
			"2" => "donothing", 
			"3" => "donothing", 
			"4" => "donothing", 
			"5" => "donothing", 
			"6" => "donothing", 
			"7" => "donothing");
}


function donothing($keywordin)
{
	return $keywordin;
}

}?>
