Search found 23 matches

by pszlachetka
Tue Sep 21, 2004 8:03 pm
Forum: Beginners Help
Topic: Pointer not working?!
Replies: 6
Views: 408

I put #include "CGame.h" into the CGameState.cpp, same error. :(
Any other ideas?

-Peter
by pszlachetka
Sun Sep 19, 2004 3:36 pm
Forum: Beginners Help
Topic: Pointer not working?!
Replies: 6
Views: 408

I put in a forward declaration of CGame ( e.g. class CGame; ) in the CGameState.h file, so that it knows that a class named CGame exists. It doesn't need to know how it work or anything, it just needs to know it exists. So I just have a pointer of CGame type, which should work. I cannot include CGam...
by pszlachetka
Sun Sep 19, 2004 1:56 pm
Forum: Beginners Help
Topic: Pointer not working?!
Replies: 6
Views: 408

Pointer not working?!

I'm trying to call a function in the CGame class to change the game state, and is says the function is undeclared. I changed the function being called just to do a test, and it still says it's undeclared. The pointer is clearly of the CGame type. Here's the exact error message: C:\Documents and Sett...
by pszlachetka
Sat Sep 18, 2004 2:02 am
Forum: Beginners Help
Topic: Program crashes at driver->getTexture()
Replies: 2
Views: 358

Ahh, your button suggestion fixed the increase in memory usage problem. But I still don't understand why I can't load the texture, I want to load the textures once, so I don't have to do this GS_driver->draw2DImage( GS_driver->getTexture( blah ), blah ); which works perfectly fine. What could possib...
by pszlachetka
Thu Sep 16, 2004 10:56 pm
Forum: Beginners Help
Topic: Program crashes at driver->getTexture()
Replies: 2
Views: 358

Program crashes at driver->getTexture()

I've got the BMP file in the correct place, and the GS_driver pointer IS initialized correctly before the function call because I checked, so what could be causing the crash? Oh, and the program also increases in memory usage like 3kb every 2 seconds for some reason. How can I solve this problem? Th...
by pszlachetka
Fri Sep 10, 2004 10:44 pm
Forum: Beginners Help
Topic: Programming crashing after loading texture!
Replies: 1
Views: 181

Programming crashing after loading texture!

Sorry. Me again. I think there's something wrong with my actual computer, cause the code compiles on another guy's machine flawlessly. It loaded the bmp and displayed it perfectly. However, the code is crashing on the driver->getTexture() line for me. I'd like for a few people to try to compile the ...
by pszlachetka
Fri Sep 10, 2004 7:52 pm
Forum: Beginners Help
Topic: createDevice() crashing program!
Replies: 8
Views: 914

Yes! It's about time this works! Thanks a lot for the help bal and DrBenito! What's wrong with the method I was doing anyways? I'm curious to find out why this had to frustrate me so much. :(

Thanks again!

-Peter
by pszlachetka
Fri Sep 10, 2004 2:22 am
Forum: Beginners Help
Topic: createDevice() crashing program!
Replies: 8
Views: 914

Tried that DrBenito, didn't work. Crashes exactly the same as before. I want to dynamically allocate this class, and I've seen another person's code do the exact same method flawlessly. Thanks for the suggestions though. Any others? This is a bastard.

-Peter
by pszlachetka
Wed Sep 08, 2004 9:42 pm
Forum: Beginners Help
Topic: createDevice() crashing program!
Replies: 8
Views: 914

When I do that, I get this compile-time error: C:\Documents and Settings\Owner\Desktop\POLISH PONG\CGame.cpp In member function `void CGame::CGame_Init()': 26 C:\Documents and Settings\Owner\Desktop\POLISH PONG\CGame.cpp cannot convert `CMyEventRec**' to `irr::IEventReceiver*' for argument `6' to `i...
by pszlachetka
Wed Sep 08, 2004 7:32 pm
Forum: Beginners Help
Topic: createDevice() crashing program!
Replies: 8
Views: 914

createDevice() crashing program!

Segmenation fault at the createDevice() function. Apparently my event receiver isn't good enough for it ;) CGame.h #ifndef CGame_H_ #define CGame_H_ //Include Irrlicht header file and use its namespaces #include <irrlicht.h> using namespace irr; using namespace core; using namespace scene; using nam...
by pszlachetka
Mon Sep 06, 2004 11:33 pm
Forum: Beginners Help
Topic: Strange run-time crash. Need help :(
Replies: 7
Views: 669

The problem is in the event receiver. If I change event receiver argument in the createDevice() function to 0, instead of my class that I've made, it works fine (except I don't have an event receiver ). But that still doesn't explain why it works for another guy, but not me. Here's the relevant sour...
by pszlachetka
Mon Sep 06, 2004 9:28 pm
Forum: Beginners Help
Topic: Strange run-time crash. Need help :(
Replies: 7
Views: 669

How do I know if the DirectX8 driver crashes too?

-Peter
by pszlachetka
Mon Sep 06, 2004 8:40 pm
Forum: Beginners Help
Topic: Strange run-time crash. Need help :(
Replies: 7
Views: 669

------------------ System Information ------------------ Time of this report: 9/6/2004, 16:39:28 Machine name: PETER Operating System: Windows XP Home Edition (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_rtm.040803-2158) Language: English (Regional Setting: English) System Manufacturer: HP Pavili...
by pszlachetka
Mon Sep 06, 2004 8:26 pm
Forum: Beginners Help
Topic: Strange run-time crash. Need help :(
Replies: 7
Views: 669

Whoops, my bad, I thought I was signed in.

-Peter
by pszlachetka
Sun Sep 05, 2004 12:04 am
Forum: Off-topic
Topic: Who is everybody?
Replies: 358
Views: 497870

Name: Peter Szlachetka Age: 17 Languages : C++ Location: GA, USA Been working with C++ for about 8 months now. Discovered Irrlicht just recently. Taking a computer science course in high school right now, and we're learning gay old JAVA, but oh well. Made two games before using one of those "ki...