I actually built a similar naming system for media with SDL, so it looked something like:
class->loadMedia("Name of Media");
Of course, I made a function to call it by an ID (int) as well; the code should be easily translatable...
#define LVIDEO_MAX_SURFACES 100
class LVideoManager
{
public ...
Search found 55 matches
- Sun Jul 22, 2007 8:33 am
- Forum: Beginners Help
- Topic: put texture an id?
- Replies: 1
- Views: 482
- Sun Mar 11, 2007 8:42 am
- Forum: Bug reports
- Topic: unable tu switch to 1.2 version
- Replies: 14
- Views: 1596
- Tue Mar 06, 2007 3:25 am
- Forum: Bug reports
- Topic: unable tu switch to 1.2 version
- Replies: 14
- Views: 1596
Jesus, I thought I was the only one.i have the same problem.
When i run the examples(with irr 1.2) opengl doesn't display textures =[.
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18233
- Fri Feb 09, 2007 6:50 am
- Forum: Beginners Help
- Topic: Array question (cpp)
- Replies: 4
- Views: 470
Code: Select all
#define TEST_INDEX 0
#define BLAH_INDEX 1
#define somethingElse 2
#define Text 3
int numIndex[Text] = 43;
- Sat Jan 13, 2007 1:58 pm
- Forum: Game Programming
- Topic: XML versus Plain text
- Replies: 5
- Views: 2489
XML is really more of an object-oriented aproach. Seeing as its a database it is somewhat pointless for small things that you could use other means of tracking, but others might disagree. It doesn't really matter in the end what database system you choose (XML, Plaintext, etc), as long as it writes ...
- Wed Jan 10, 2007 12:18 pm
- Forum: Off-topic
- Topic: College+Programming?
- Replies: 23
- Views: 3184
- Wed Jan 10, 2007 11:55 am
- Forum: Game Programming
- Topic: IrrEdit source released?
- Replies: 3
- Views: 2361
- Wed Jan 10, 2007 11:53 am
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
Argh, one last thing before I throw Irrlicht out the window, now that I've downgraded back to 1.1, it doesn't want to create the device, before device creation the console says...
Multittexturing active
Then its crashed with a Windows Error Report. What I'd really like to know out of all this is ...
Multittexturing active
Then its crashed with a Windows Error Report. What I'd really like to know out of all this is ...
- Wed Jan 10, 2007 11:26 am
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Wed Jan 10, 2007 9:15 am
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Mon Jan 08, 2007 4:19 pm
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Mon Jan 08, 2007 2:53 pm
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Mon Jan 08, 2007 1:13 pm
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Mon Jan 08, 2007 1:01 pm
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
- Mon Jan 08, 2007 12:20 pm
- Forum: Beginners Help
- Topic: White Textures
- Replies: 14
- Views: 2352
Alright well, I hate to "bump" topics but this is really frustrating now. I completely rewrote my wrapper, only to find out draw2DImage(ITexture *, ...) only draws a white image - when the image is clearly colored (png, 512x512).
The image loads fine acording to the console, and I can see where its ...
The image loads fine acording to the console, and I can see where its ...
