mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-03 06:24:32 +00:00
Replace #pragma once with #ifndef/#define pairs (to avoid warnings on gcc 2.95)
This commit is contained in:
parent
f369fa48c8
commit
1fdae0c128
52 changed files with 184 additions and 60 deletions
|
@ -18,7 +18,8 @@ You should have received a copy of the GNU General Public License
|
|||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
#pragma once
|
||||
#ifndef RENDEROBJECT_INLINE_H
|
||||
#define RENDEROBJECT_INLINE_H
|
||||
|
||||
inline bool RenderObject::isOnScreen()
|
||||
{
|
||||
|
@ -70,3 +71,5 @@ Vector RenderObject::getFollowCameraPosition() const
|
|||
return pos;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue