Skip to main content
History: CodeBlocks Ogre SDK Tips
View published page
Source of version: 3
(current)
%prevogre% {maketoc} !!Setting up context sensitive Help You need a nightly build of Code::Blocks dated 24 July 2006 or later. Run Code::Blocks. {img src="img/wiki_up/CBEnvSet.png" alt="CBEnvSet.png"} Go into Environment Settings. {img src="img/wiki_up/CBBlankHelpFiles.png" alt="CBBlankHelpFiles.png"} Scroll down the icon list on the left side and select Help files. {img src="img/wiki_up/CBAddHelp.png" alt="CBAddHelp.png"} Select Add which opens up a dialogue for entering the name of the Help. Type in Ogre SDK Help. {img src="img/wiki_up/CBHelpFileDialogue.png" alt="CBHelpFileDialogue.png"} Select Ok and a file dialogue will open where you select the file OgreAPIReference.chm in the OgreSDK subdirectory /docs/api. Select Open. {img src="img/wiki_up/CBHelpFileSettings.png" alt="CBHelpFileSettings.png"} Select the checkbox that says This is the default Help file. Select Ok. Code::Blocks is now configured to use the Ogre SDK API help file when you press F1. {img src="img/wiki_up/CBHelpContext.png" alt="CBHelpContext.png"} Left click on a word in your source that you want to lookup in the Ogre SDK Help. No need to highlight the word, just make sure the caret is somewhere in the word and then press F1. In this example we want to find out what AnimationState is. {img src="img/wiki_up/CBTopicsFound.png" alt="CBTopicsFound.png"} A Topics Found Dialogue window will be displayed if there is more than one match found in the help. In this example the constructor and destructor are listed. Left double click the one you want and viola you can now readup on what the API has to say. {img src="img/wiki_up/CBOgreAPIHelp.png" alt="CBOgreAPIHelp.png"} !!Syntax Highlighting of Ogre Scripts Code::Blocks has built in support for syntax highlighting of Material, Program, and Compositor scripts. You can also load glsl, hlsl, and Cg source and get syntax highlighting. {img src="img/wiki_up/CBOgreMaterial.png" alt="CBOgreMaterial.png"}{img src="img/wiki_up/CBOgreCompositor.png" alt="CBOgreCompositor.png"} {img src="img/wiki_up/CBGLSL.png" alt="CBGLSL.png"}
Search by Tags
Search Wiki by Freetags
Latest Changes
Projects using OGRE
Building Your Projects With CMake
Compiled API Reference
Overlay Editor
Introduction - JaJDoo Shader Guide - Basics
RT Shader System
RapidXML Dotscene Loader
One Function Ogre
One Function Ogre
...more
Search
Find
Online Users
263 online users
OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username
Password
CapsLock is on.
Remember me (for 1 year)
Log in