Hi,
I got a LNK2001 unresolved external error if using a rts camera from snipping codes from this forum. Should i use extern ("C") or something ?
Search found 56 matches
- Sat Dec 29, 2007 10:36 am
- Forum: Beginners Help
- Topic: unresolved external error using rts camera - snipping codes
- Replies: 1
- Views: 294
- Fri Dec 28, 2007 10:18 pm
- Forum: Beginners Help
- Topic: cannot instantiate abstract class error
- Replies: 1
- Views: 140
cannot instantiate abstract class error
Got a 'MyEventReceiver' : cannot instantiate abstract class error when paste following code: Before main: class MyEventReceiver : public IEventReceiver { public: virtual bool OnEvent(SEvent event) { if (event.KeyInput.Key == KEY_KEY_S && event.KeyInput.PressedDown) { cout << "PRESED S\n...
- Thu Nov 29, 2007 6:25 am
- Forum: Beginners Help
- Topic: What version of VC++ do you guys use?
- Replies: 19
- Views: 806
- Wed Nov 28, 2007 7:10 pm
- Forum: Beginners Help
- Topic: big model, small rendered
- Replies: 3
- Views: 192
- Wed Nov 28, 2007 6:58 pm
- Forum: Beginners Help
- Topic: big model, small rendered
- Replies: 3
- Views: 192
big model, small rendered
Hi,
I maked a 3ds model in 3ds max 2008. The model is very very big but when i load it to quake 3 (tutorial 2 too) the loaded object is very small.
how to repear it?
I maked a 3ds model in 3ds max 2008. The model is very very big but when i load it to quake 3 (tutorial 2 too) the loaded object is very small.
how to repear it?
- Sat Oct 27, 2007 2:22 pm
- Forum: Beginners Help
- Topic: Changing camera height
- Replies: 2
- Views: 128
Changing camera height
Hello, is it posible to change the fps camera height? I ask that because i used the code from the tutorials here and the camera is heigher then normal.The second thing is that i try to create crooshair. I make the cursor invisible and then i render a 2d image on its place: gui->getImage(driver->getT...
- Sat Jun 30, 2007 4:38 pm
- Forum: Beginners Help
- Topic: Problem with changing weapon
- Replies: 4
- Views: 399
- Fri Jun 29, 2007 9:23 pm
- Forum: Beginners Help
- Topic: Problem with changing weapon
- Replies: 4
- Views: 399
Problem with changing weapon
Hello In my eventretriever i have some code who change the weapon when push a '1' or '2' button. The problem is that if i press 1 and/of 2 button i see the same weapon and on center of screen a difrents black something. case KEY_KEY_1: { //show primary weapon IAnimatedMesh* mesh = smgr->getMesh(&quo...
- Wed Jun 27, 2007 8:52 pm
- Forum: Beginners Help
- Topic: Render FPS in a static text.
- Replies: 5
- Views: 810
alfabeta90 wrote:I do so:What must i do to show fps because font has no methos lik setText?Code: Select all
IGUIFont* font = device->getGUIEnvironment()->getFont("images/courier.bmp"); font->draw(buffer,rect<s32>(10,10,300,60),SColor(255,255,255,255));
- Wed Jun 27, 2007 4:00 pm
- Forum: Beginners Help
- Topic: Drawing text at end.
- Replies: 2
- Views: 235
- Wed Jun 27, 2007 3:20 pm
- Forum: Beginners Help
- Topic: Drawing text at end.
- Replies: 2
- Views: 235
Drawing text at end.
I render a black bitmap, map and a text. I run the program and i see only the black bitmap at first place and the map but no text. I think the text is behind the map. How may i change code to draw the text first? IGUIFont* font = device->getGUIEnvironment()->getFont("images/courier.bmp"); ...
- Tue Jun 26, 2007 4:59 pm
- Forum: Beginners Help
- Topic: Problem with key is pressed event
- Replies: 5
- Views: 590
- Tue Jun 26, 2007 4:36 pm
- Forum: Beginners Help
- Topic: Problem with key is pressed event
- Replies: 5
- Views: 590
- Tue Jun 26, 2007 4:00 pm
- Forum: Beginners Help
- Topic: Problem with key is pressed event
- Replies: 5
- Views: 590
Problem with key is pressed event
How to make a key is pressed event? I make this one but when i run the program, program crach out. IrrlichtDevice *device = 0; s32 cnt = 0; class MyEventReceiver : public IEventReceiver { public: virtual bool OnEvent(SEvent event) { s32 id = event.GUIEvent.Caller->getID(); IGUIEnvironment* env = dev...
- Tue Jun 26, 2007 1:48 pm
- Forum: Beginners Help
- Topic: Few questions about font
- Replies: 1
- Views: 324
Few questions about font
How to change the color of a gui static text. I was wondering if you could tell me how to make a new line in a gui static text. I tried /n and \n but ther come nothing.