blitzbasic.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * blitzbasic.php
00004  * --------------
00005  * Author: P�draig O`Connel (info@moonsword.info)
00006  * Copyright: (c) 2005 P�draig O`Connel (http://moonsword.info)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 16.10.2005
00009  *
00010  * BlitzBasic language file for GeSHi.
00011  *
00012  * It is a simple Basic dialect. Released for Games and Network Connections.
00013  * In this Language File are all functions included (2D BB and 3D BB)
00014  *
00015  *
00016  * CHANGES
00017  * -------
00018  * 2005/12/28 (1.0.1)
00019  *   -  Remove unnecessary style index for regexps
00020  * 2005/10/22 (1.0.0)
00021  *   -  First Release
00022  *
00023  * TODO (updated 2005/10/22)
00024  * -------------------------
00025  * * Sort out the Basic commands for splitting up.
00026  * * To set up the right colors.
00027  *      (the colors are ok, but not the correct ones)
00028  * * Split to BlitzBasic 2D and BlitzBasic 3D.
00029  *
00030  *************************************************************************************
00031  *
00032  *     This file is part of GeSHi.
00033  *
00034  *   GeSHi is free software; you can redistribute it and/or modify
00035  *   it under the terms of the GNU General Public License as published by
00036  *   the Free Software Foundation; either version 2 of the License, or
00037  *   (at your option) any later version.
00038  *
00039  *   GeSHi is distributed in the hope that it will be useful,
00040  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00041  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00042  *   GNU General Public License for more details.
00043  *
00044  *   You should have received a copy of the GNU General Public License
00045  *   along with GeSHi; if not, write to the Free Software
00046  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00047  *
00048  ************************************************************************************/
00049 
00050  $language_data = array (
00051   'LANG_NAME' => 'BlitzBasic',
00052   'COMMENT_SINGLE' => array(1 => ';'),
00053   'COMMENT_MULTI' => array(),
00054   'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00055   'QUOTEMARKS' => array('"'),
00056   'ESCAPE_CHAR' => '',
00057   'KEYWORDS' => array(
00058     1 => array(
00059      'If','EndIf','ElseIf','Else If','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
00060      'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float',
00061      'String','Before','Not'
00062     ),
00063     2 => array(
00064 
00065       // All Functions - 2D BB and 3D BB
00066           'Xor','WriteString','WriteShort','WritePixelFast','WritePixel','WriteLine','WriteInt','WriteFloat','WriteFile','WriteBytes',
00067           'WriteByte','Write','WaitTimer','WaitMouse','WaitKey','WaitJoy','VWait','Viewport',
00068           'Upper','UpdateGamma','UnlockBuffer','UDPTimeouts','UDPStreamPort','UDPStreamIP','UDPMsgPort','UDPMsgIP',
00069           'Trim','TotalVidMem','TileImage','TileBlock','TFormImage','TFormFilter','Text',
00070           'TCPTimeouts','TCPStreamPort','TCPStreamIP','Tan','SystemProperty','StringWidth','StringHeight','Str','StopNetGame',
00071           'StopChannel','StartNetGame','Sqr','SoundVolume','SoundPitch','SoundPan','Sin','Shr',
00072           'ShowPointer','Shl','Sgn','SetGfxDriver','SetGamma','SetFont','SetEnv','SetBuffer','SendUDPMsg','SendNetMsg',
00073           'SeekFile','SeedRnd','ScanLine','ScaleImage','SaveImage','SaveBuffer','Sar','RuntimeError','RSet',
00074           'RotateImage','RndSeed','Rnd','Right','ResumeChannel','Restore','ResizeImage','ResizeBank','Replace',
00075           'Repeat','RecvUDPMsg','RecvNetMsg','RectsOverlap','Rect','ReadString','ReadShort','ReadPixelFast','ReadPixel','ReadLine',
00076           'ReadInt','ReadFloat','ReadFile','ReadDir','ReadBytes','ReadByte','ReadAvail','Read','Rand','Print',
00077           'PokeShort','PokeInt','PokeFloat','PokeByte','Plot','PlaySound','PlayMusic','PlayCDTrack','Pi','PeekShort',
00078           'PeekInt','PeekFloat','PeekByte','PauseChannel','Oval','Origin','OpenTCPStream','OpenMovie','OpenFile',
00079           'Null','NextFile','New','NetPlayerName','NetPlayerLocal','NetMsgType','NetMsgTo','NetMsgFrom',
00080           'NetMsgData','MovieWidth','MoviePlaying','MovieHeight','MoveMouse','MouseZSpeed','MouseZ','MouseYSpeed','MouseY','MouseXSpeed',
00081           'MouseX','MouseHit','MouseDown','Mod','Millisecs','MidHandle','Mid','MaskImage','LSet','Lower',
00082           'LoopSound','Log10','Log','LockBuffer','Locate','Local','LoadSound','LoadImage','LoadFont','LoadBuffer',
00083           'LoadAnimImage','Line','Len','Left','KeyHit','KeyDown','JoyZDir','JoyZ','JoyYDir',
00084           'JoyYaw','JoyY','JoyXDir','JoyX','JoyVDir','JoyV','JoyUDir','JoyU','JoyType','JoyRoll',
00085           'JoyPitch','JoyHit','JoyHat','JoyDown','JoinNetGame','Instr','Insert','Input',
00086           'ImageYHandle','ImageXHandle','ImageWidth','ImagesOverlap','ImagesCollide','ImageRectOverlap','ImageRectCollide','ImageHeight','ImageBuffer','If',
00087           'HostNetGame','HostIP','HidePointer','Hex','HandleImage','GraphicsWidth','GraphicsHeight','GraphicsDepth','GraphicsBuffer','Graphics',
00088           'GrabImage','Global','GFXModeWidth','GFXModeHeight','GfxModeExists','GFXModeDepth','GfxDriverName','GetMouse',
00089           'GetKey','GetJoy','GetEnv','GetColor','GammaRed','GammaGreen','GammaBlue','Function','FrontBuffer','FreeTimer',
00090           'FreeSound','FreeImage','FreeFont','FreeBank','FontWidth','FontHeight','FlushMouse','FlushKeys',
00091           'FlushJoy','Floor','Flip','First','FileType','FileSize','FilePos','Field',
00092           'Exp','Exit','ExecFile','Eof','EndGraphics','Each','DrawMovie','DrawImageRect','DrawImage','DrawBlockRect','DrawBlock',
00093           'DottedIP','Dim','DeleteNetPlayer','DeleteFile','DeleteDir','Delete','Delay','Default','DebugLog','Data',
00094           'CurrentTime','CurrentDir','CurrentDate','CreateUDPStream','CreateTimer','CreateTCPServer','CreateNetPlayer','CreateImage','CreateDir','CreateBank',
00095           'CountHostIPs','CountGFXModes','CountGfxDrivers','Cos','CopyStream','CopyRect','CopyPixelFast','CopyPixel','CopyImage','CopyFile',
00096           'CopyBank','Const','CommandLine','ColorRed','ColorGreen','ColorBlue','Color','ClsColor','Cls','CloseUDPStream',
00097           'CloseTCPStream','CloseTCPServer','CloseMovie','CloseFile','CloseDir','Chr','ChannelVolume','ChannelPlaying','ChannelPitch','ChannelPan',
00098           'ChangeDir','Ceil','CallDLL','Bin','BankSize','BackBuffer','AvailVidMem','AutoMidHandle',
00099           'ATan2','ATan','ASin','Asc','After','ACos','AcceptTCPStream','Abs',
00100           // 3D Commands
00101           'Wireframe','Windowed3D','WBuffer','VertexZ','VertexY',
00102           'VertexX','VertexW','VertexV','VertexU','VertexTexCoords','VertexRed','VertexNZ','VertexNY','VertexNX','VertexNormal',
00103           'VertexGreen','VertexCoords','VertexColor','VertexBlue','VertexAlpha','VectorYaw','VectorPitch','UpdateWorld','UpdateNormals','TurnEntity',
00104           'TrisRendered','TriangleVertex','TranslateEntity','TFormVector','TFormPoint','TFormNormal','TFormedZ','TFormedY','TFormedX','TextureWidth',
00105           'TextureName','TextureHeight','TextureFilter','TextureCoords','TextureBuffer','TextureBlend','TerrainZ','TerrainY','TerrainX','TerrainSize',
00106           'TerrainShading','TerrainHeight','TerrainDetail','SpriteViewMode','ShowEntity','SetCubeFace','SetAnimTime','SetAnimKey','ScaleTexture','ScaleSprite',
00107           'ScaleMesh','ScaleEntity','RotateTexture','RotateSprite','RotateMesh','RotateEntity','ResetEntity','RenderWorld','ProjectedZ','ProjectedY',
00108           'ProjectedX','PositionTexture','PositionMesh','PositionEntity','PointEntity','PickedZ','PickedY','PickedX','PickedTriangle','PickedTime',
00109           'PickedSurface','PickedNZ','PickedNY','PickedNX','PickedEntity','PaintSurface','PaintMesh','PaintEntity','NameEntity','MoveEntity',
00110           'ModifyTerrain','MeshWidth','MeshHeight','MeshesIntersect','MeshDepth','MD2AnimTime','MD2AnimLength','MD2Animating','LoadTexture','LoadTerrain',
00111           'LoadSprite','LoadMesh','LoadMD2','LoaderMatrix','LoadBSP','LoadBrush','LoadAnimTexture','LoadAnimSeq','LoadAnimMesh','Load3DSound',
00112           'LinePick','LightRange','LightMesh','LightConeAngles','LightColor','HWMultiTex','HideEntity','HandleSprite','Graphics3D','GfxMode3DExists',
00113           'GfxMode3D','GfxDriverCaps3D','GfxDriver3D','GetSurfaceBrush','GetSurface','GetParent','GetMatElement','GetEntityType','GetEntityBrush','GetChild',
00114           'GetBrushTexture','FreeTexture','FreeEntity','FreeBrush','FlipMesh','FitMesh','FindSurface','FindChild','ExtractAnimSeq','EntityZ',
00115           'EntityYaw','EntityY','EntityX','EntityVisible','EntityType','EntityTexture','EntityShininess','EntityRoll','EntityRadius','EntityPitch',
00116           'EntityPickMode','EntityPick','EntityParent','EntityOrder','EntityName','EntityInView','EntityFX','EntityDistance','EntityColor','EntityCollided',
00117           'EntityBox','EntityBlend','EntityAutoFade','EntityAlpha','EmitSound','Dither','DeltaYaw','DeltaPitch','CreateTexture','CreateTerrain',
00118           'CreateSurface','CreateSprite','CreateSphere','CreatePlane','CreatePivot','CreateMirror','CreateMesh','CreateListener','CreateLight','CreateCylinder',
00119           'CreateCube','CreateCone','CreateCamera','CreateBrush','CountVertices','CountTriangles','CountSurfaces','CountGfxModes3D','CountCollisions','CountChildren',
00120           'CopyMesh','CopyEntity','CollisionZ','CollisionY','CollisionX','CollisionTriangle','CollisionTime','CollisionSurface','Collisions','CollisionNZ',
00121           'CollisionNY','CollisionNX','CollisionEntity','ClearWorld','ClearTextureFilters','ClearSurface','ClearCollisions','CaptureWorld','CameraZoom','CameraViewport',
00122           'CameraRange','CameraProjMode','CameraProject','CameraPick','CameraFogRange','CameraFogMode','CameraFogColor','CameraClsMode','CameraClsColor','BSPLighting',
00123           'BSPAmbientLight','BrushTexture','BrushShininess','BrushFX','BrushColor','BrushBlend','BrushAlpha','AntiAlias','AnimTime','AnimSeq',
00124           'AnimLength','Animating','AnimateMD2','Animate','AmbientLight','AlignToVector','AddVertex','AddTriangle','AddMesh','AddAnimSeq',
00125       )
00126     ),
00127   'SYMBOLS' => array(
00128      '(',')'
00129      ),
00130   'CASE_SENSITIVE' => array(
00131     GESHI_COMMENTS => false,
00132     1 => false,
00133     2 => false,
00134     ),
00135   'STYLES' => array(
00136     'KEYWORDS' => array(
00137       1 => 'color: #000066; font-weight: bold;',
00138        2 => 'color: #0000ff;'
00139       ),
00140     'COMMENTS' => array(
00141       1 => 'color: #D9D100; font-style: italic;',
00142       ),
00143     'ESCAPE_CHAR' => array(
00144       0 => 'color: #000099; font-weight: bold;'
00145       ),
00146     'BRACKETS' => array(
00147       0 => 'color: #000066;'
00148       ),
00149     'STRINGS' => array(
00150       0 => 'color: #009900;'
00151       ),
00152     'NUMBERS' => array(
00153       0 => 'color: #CC0000;'
00154       ),
00155     'METHODS' => array(
00156       1 => 'color: #006600;'
00157       ),
00158     'SYMBOLS' => array(
00159       0 => 'color: #000066;'
00160       ),
00161     'REGEXPS' => array(
00162       ),
00163     'SCRIPT' => array(
00164       0 => '',
00165       1 => '',
00166       )
00167     ),
00168   'URLS' => array(
00169           1 => ''
00170      ),
00171   'OOLANG' => false,
00172   'OBJECT_SPLITTERS' => array(
00173      1 => '\\'
00174      ),
00175   'REGEXPS' => array(
00176   ),
00177   'STRICT_MODE_APPLIES' => GESHI_NEVER,
00178   'SCRIPT_DELIMITERS' => array(),
00179   'HIGHLIGHT_STRICT_BLOCK' => array(
00180     0 => false,
00181     1 => false
00182   )
00183 );
00184 
00185 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8