Irrlicht User Keywords for Visual Studio

A forum to store posts deemed exceptionally wise and useful
Post Reply
killthesand
Posts: 42
Joined: Sat Sep 29, 2007 3:33 am
Contact:

Irrlicht User Keywords for Visual Studio

Post by killthesand »

I thought it might be useful to make all of Irrlicht's data types to show up in a different color in Visual Studio.

It's very easy to do this. Take the list below and copy it into a file called usertype.dat. Put the file in Visual Studio's Common IDE folder. On my computer this is found at

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

When you restart Visual Studio all of these words will turn blue. (or to whatever color you assign)

Code: Select all

u8
s8
c8
u16
s16
u32
s32
f32
f64
aabbox3d
aabbox3df
aabbox3di
array
CMatrix4
matrix4
CMeshBuffer
SMeshBuffer
SMeshBufferLightMap
SMeshBufferTangents
dimension2d
dimension2df
dimension2di
IAnimatedMesh
IAnimatedMeshMD2
IAnimatedMeshMD3
IAnimatedMeshSceneNode
IAnimationEndCallBack
IAttributeExchangingObject
IAttributes
IBillboardSceneNode
IBoneSceneNode	
ICameraSceneNode
ICursorControl
IDummyTransformationSceneNode
IEventReceiver
IFileList
IFileReadCallBack
IFileSystem
IGPUProgrammingServices
IGUIButton
IGUICheckBox
IGUIColorSelectDialog
IGUIComboBox
IGUIContextMenu
IGUIEditBox
IGUIElement
IGUIElementFactory
IGUIEnvironment
IGUIFileOpenDialog
IGUIFont
IGUIFontBitmap
IGUIImage
IGUIInOutFader
IGUIListBox
IGUIMeshViewer
IGUIScrollBar
IGUISkin
IGUISpinBox
IGUISpriteBank
IGUIStaticText
IGUITab
IGUITabControl
IGUIToolBar
IGUIWindow
IImage
IImageLoader
IImageWriter
IIrrXMLReader
IrrXMLReader
IrrXMLReaderUTF16
IrrXMLReaderUTF32
ILightSceneNode
ILogger
IMaterialRenderer
IMaterialRendererServices
IMesh
IMeshBuffer
IMeshCache
IMeshLoader
IMeshManipulator
IMeshSceneNode
IMeshWriter	
IMetaTriangleSelector
IOSOperator
IParticleAffector
IParticleAnimatedMeshSceneNodeEmitter
IParticleAttractionAffector
IParticleBoxEmitter
IParticleCylinderEmitter
IParticleEmitter
IParticleFadeOutAffector
IParticleGravityAffector
IParticleMeshEmitter
IParticleRingEmitter
IParticleRotationAffector
IParticleSphereEmitter
IParticleSystemSceneNode
IQ3LevelMesh
IReadFile
IReferenceCounted
irrAllocator
irrAllocatorFast
IrrlichtDevice
ISceneCollisionManager
ISceneManager
ISceneNode
ISceneNodeAnimator
ISceneNodeAnimatorCollisionResponse	
ISceneNodeAnimatorFactory
ISceneNodeFactory	
ISceneUserDataSerializer
IShaderConstantSetCallBack
IShaderManager
IShadowVolumeSceneNode
ISkinnedMesh
SJoint
SPositionKey
SRotationKey
SScaleKey
ITerrainSceneNode
ITextSceneNode
ITexture
ITimer
ITriangleSelector
IVideoDriver
IVideoModeList
IWriteFile
IXMLBase
IXMLWriter
line2d
line2df
line2di
line3d
line3df
line3di
list
ConstIterator
Iterator
map
AccessClass
ParentFirstIterator
ParentLastIterator
plane3d
plane3df
plane3di
position2d
position2df
position2di
quaternion
rect
S3DVertex
S3DVertex2TCoords
S3DVertexTangents
SAnimatedMesh
SAttributeReadWriteOptions
SBlendFunc
SColor
SColorf
SColorHSL
SEvent
SGUIEvent
SKeyInput
SLogEvent
SMouseInput
SUserEvent
SExposedVideoData
SGUISprite
SGUISpriteFrame	
SIrrlichtCreationParameters
SKeyMap
SLight
SMaterial
SMaterialLayer
SMD3AnimationInfo	
SMD3Face
SMD3Header
SMD3Mesh
SMD3MeshBuffer
SMD3MeshHeader
SMD3QuaterionTag	
SMD3QuaterionTagList
SMD3TexCoord
SMD3Vertex
SMesh
SModifierFunction	
SParticle
SShader
SSharedMeshBuffer	
SSkinMeshBuffer
string
stringc
stringw
SVarGroup
SVarGroupList
SVariable
SViewFrustum
triangle3d
triangle3df
triangle3di
vector2d
vector2df
vector2di
vector3d
vector3df
vector3di
Let me know if there are any data types that should be added or removed from the list.
shadowslair
Posts: 758
Joined: Mon Mar 31, 2008 3:32 pm
Location: Bulgaria

Post by shadowslair »

For those (like me), who don`t have such a .DAT file, simply create one using Notepad or whatever, paste all the keywords, save as UserType.dat, and everything should work fine.
"Although we walk on the ground and step in the mud... our dreams and endeavors reach the immense skies..."
MasterGod
Posts: 2061
Joined: Fri May 25, 2007 8:06 pm
Location: Israel
Contact:

Post by MasterGod »

Hey that's pretty cool, I think I'll be using that :) .
Thanks.

P.S
Image

Cool 8)
Image
Dev State: Abandoned (For now..)
Requirements Analysis Doc: ~87%
UML: ~0.5%
twilight17
Posts: 362
Joined: Sun Dec 16, 2007 9:25 pm

Post by twilight17 »

Sweet! Thanks :!:
Post this userbar I made on other websites to show your support for Irrlicht!
Image
http://img147.imageshack.us/img147/1261 ... wernq4.png
Castaa
Posts: 39
Joined: Mon Jul 07, 2008 7:38 pm
Location: San Francisco
Contact:

Post by Castaa »

Thanks for the tip.
My game: Star Sonata
Star Sonata is a massively multiplayer space game.
Post Reply