irrlib

irrlib Mercurial Source Tree


Root/Stable Version/1.2.6/IrrSprite.h

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
    Irrlicht Library Wrapper
    Created by:
        Nathan Adams
        Denzel Morris
    Copyright (C) 2007
 
    This software is licensed under the GNU/GPL.
    This software may not be used for commerical purposes.
*/
 
#ifndef IRRSPRITE_H
#define IRRSPRITE_H
 
/* We should include some basic functions */
#include <iostream>
/* include strings */
#include <strings.h>
 
/* We have to include Irrlichts libs */
#include <irrlicht.h>
 
//#include "IrrSphere.h"
#include "IrrColor.h"
//#include "Irr2D.h"
//#include "IrrSprite.h"
 
//Start class
class IrrSprite {
 
    private:
         
        irr::video::IVideoDriver* driver;
        irr::scene::ISceneManager* smgr;
    public:
        IrrSprite::IrrSprite();
        IrrSprite::~IrrSprite();
        void IrrSprite::SetDriver(irr::video::IVideoDriver* driver);
        void IrrSprite::SetSmgr(irr::scene::ISceneManager* smgr);
 
// I forgot a semicolon here....and it wasn't compling
//Thats 1 bad thing about OOP if there is an error you don't know where the @#$@# the problem is!
};
 
#endif
Source at commit ca2aafbed07a created 11 years 4 months ago.
By Nathan Adams, Migrating from google code

Archive Download this file

Branches

Tags

Page rendered in 0.77395s using 11 queries.