Mercurial > fife-parpg
comparison engine/core/view/camera.h @ 200:084004e91d62
the function getAttached() in FIFE::Camera was returning a FIFE::Instance* but the function return value was a bool. Changed the function so now its prototype is correct.
author | vtchill@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 13 Mar 2009 02:27:14 +0000 |
parents | 90005975cdbb |
children | 44919eb74c40 |
comparison
equal
deleted
inserted
replaced
199:4ea1e0b56a07 | 200:084004e91d62 |
---|---|
160 */ | 160 */ |
161 void detach(); | 161 void detach(); |
162 | 162 |
163 /** Returns instance where camera is attached. NULL if not attached | 163 /** Returns instance where camera is attached. NULL if not attached |
164 */ | 164 */ |
165 bool getAttached() const { return m_attachedto; } | 165 Instance* getAttached() const { return m_attachedto; } |
166 | 166 |
167 /** Sets the viewport for camera | 167 /** Sets the viewport for camera |
168 * viewport is rectangle inside the view where camera renders | 168 * viewport is rectangle inside the view where camera renders |
169 * @param viewport area for camera render | 169 * @param viewport area for camera render |
170 */ | 170 */ |