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
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: CodeBlocks Ogre SDK Tips
View 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
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
Critter AI
Mogre Add-ons
MOGRE
Mogre MyGUI wrapper
MOGRE Editable Terrain Manager
...more
Search
Find
Advanced
Search Help
Online Users
21 online users