Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / dbInput clears text on screen

Author
Message
vocebello
19
Years of Service
User Offline
Joined: 30th Dec 2004
Location: Toronto, Canada
Posted: 21st Mar 2009 19:54 Edited at: 21st Mar 2009 19:56
Is there any way for me to resolve this issue?

I have statistics being displayed on the screen using the dbText function, and I want to incorporate a chat system for the users to communicate.

When the user presses the ` button (41 with scan code), a dbInput command is called and the user can enter their message.

My problem is that when it's called, the rest of the text on screen disappears until the user sends his/her message. Is there any way for me to bypass this issue, as it is a pretty major inconvenience.

edit: for that matter, the users controls are also hindered while the dbinput command is active. =(

[ freelance DarkGDK coder ]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 22nd Mar 2009 00:13
There is an alternative function. Look in the manual

vocebello
19
Years of Service
User Offline
Joined: 30th Dec 2004
Location: Toronto, Canada
Posted: 22nd Mar 2009 00:20
Thanks for a useless post!

It would have been much more useful if you told me where to look in the manual, but that would be making it too easy for me, right?

Thanks!

[ freelance DarkGDK coder ]
Bruce Dudeson
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 22nd Mar 2009 00:31
char * dbEntry(void);
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 22nd Mar 2009 00:39 Edited at: 22nd Mar 2009 00:39
dbEntry() and dbClearEntryBuffer(), but they will require a bit of processing to get good results, however as these are non-blocking functions they are ideal.

AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 22nd Mar 2009 01:49 Edited at: 22nd Mar 2009 01:51
Quote: "Thanks for a useless post!"


No problem this is a useless topic. It has been posted many times, and also it not hard to look at the section called input in the manual

vocebello
19
Years of Service
User Offline
Joined: 30th Dec 2004
Location: Toronto, Canada
Posted: 22nd Mar 2009 21:06
Thanks for pointing me in the right direction guys, I still haven't got it to work, but I'll figure it out now that I know where to look. I'll post my source code up once I get it working in case anyone else has this same problem

AlexI, you're a useless member, everyone on the forums is here to ask for help, and give help. If you can't respond with a helpful answer, don't bother responding at all.

[ freelance DarkGDK coder ]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 22nd Mar 2009 22:16 Edited at: 22nd Mar 2009 22:17
I am pointing out that you haven't learnt to use the search facility and cant be assed to read the documentation. You previously also opened up 3 threads about the same topic of which I told you on the second thread to keep it all in one. But you decided to ignore that.

Your also saying i'm useless when you stole myne and andrewt's code and called it your 3d engine.

vocebello
19
Years of Service
User Offline
Joined: 30th Dec 2004
Location: Toronto, Canada
Posted: 22nd Mar 2009 22:30
You're thinking of the wrong person, AlexI. I haven't stolen anyone's code, and this is the first reply you've made in ANY of my threads.

You're ignorance is pitiful.

[ freelance DarkGDK coder ]
AlexI
19
Years of Service
User Offline
Joined: 31st Dec 2004
Location: UK
Posted: 22nd Mar 2009 23:47
Oh dear There's 2 of you who keep doing things like this. Sorry, but half of that is correct still.

Quote: "I am pointing out that you haven't learnt to use the search facility and cant be assed to read the documentation"


Login to post a reply

Server time is: 2024-11-25 16:28:42
Your offset time is: 2024-11-25 16:28:42