Skip to content

OGRECave/language-ogre-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7bd6b68 · Aug 5, 2024

History

54 Commits
Feb 15, 2018
Aug 5, 2024
Aug 5, 2024
Feb 25, 2015
Feb 25, 2015
Mar 4, 2021
Oct 8, 2019
Apr 25, 2018
Aug 5, 2024
Jul 6, 2018
Feb 25, 2015
Nov 8, 2020

Repository files navigation

Ogre Scripts support

Syntax highlighting for Ogre Scripts in Atom and VSCode.

Based on the Sublime Plugin. Extended for particle scripts.

Supports symbol outline and colour picking for .material files on VSCode.

Ogre1 Materials

Ogre2 Materials

Structure

  • ogre-common: grammar present in all ogre script files
    • ogre-material: material specific grammar
    • ogre-particle: particle specific grammar
    • ogre-compositor: compositor specific grammar
    • ogre-overlay: overlay specific grammar
    • ogre-fontdef: fontdef specific grammar

TODO

  • refactor the plugin to work on tokens. Currently it tries to verify property values, which causes code duplication and does not cope with variables ($foo)
  • split more of ogre-common into script specific files to reduce false positives