Search:
Type: Posts; User: NLscotty
Search:
Search took 0.03 seconds.
-
August 19th, 2012, 07:20 AM
Hello,
I'm coding my own little game, which has 3 threads, the GUI thread, game logic thread and the packet recv thread. I'm coding this in C#. I believe the best thing I could do is to somehow...
-
August 17th, 2012, 03:43 PM
Hello,
I'm writing a small tool which connects to a server. It recieves packets and when it does, it has do something. So when a packet is recieved my tool should do something, how should I do...
-
July 11th, 2012, 04:21 AM
Hello,
I'm trying to write a debug functions for my application so I can see all the values I like to.
My goal is it looks like this:
void Debug(std::message, ...)
So that I can call it...
-
http://msdn.microsoft.com/en-us/library/s3f49ktz%28v=vs.80%29.aspx
Is perhaps intresting for you.
-
int playGame()
{
int count =0; int x = (rand()%10)+1; int y; // you could use this: int x = 0 , y = 0 , z= 2;
for(int i = 0; i < 3; i++)
{
cout << "Guess the number 1-10: ";
cin >>...
-
March 19th, 2012, 03:07 AM
Hello,
I've made a game design in classes. The games should look like this in the final stage. http://mmohuts.com/wp-content/gallery/maplestory/maplestory-jumping.jpg I now it wil never be so...
-
March 18th, 2012, 10:15 AM
Ok, I'll change this. I'll first redesign my ideas. I think I know a better solution instead of the singletons.
I've checked ur website and it seems you know something about games? And it seems...
-
March 17th, 2012, 09:53 AM
It's for a little game. A class for a character, one for the monsters, one for the map and one for the Server connection. They are not dependent on each other. Or I could create all these instances...
-
March 17th, 2012, 08:03 AM
Thanks D_Drmmr, this looks indeed better. But if I've got 3 or 4 classes which should exists always the duration of the program, could I not make it like I did? Or is your way always better?
grz
-
March 16th, 2012, 07:42 PM
O gosh, let's say it's late.
Is this design good?
-
March 16th, 2012, 07:25 PM
Hello,
I'm using a singelton class ( is this coded correctly?), and from the main class, im trying to initiliaze my Direct2D class, only I do get this error:
error C2143: syntax error : missing...
-
March 8th, 2012, 12:29 PM
Hello,
I would like to understand styles better. I mean the styles from a control or a window or what so ever.
DWORD dw = 5;
That makes sense bevause dw has the value 5, but this.
DWORD...
-
March 5th, 2012, 03:23 AM
You tried running as admin?
-
February 14th, 2012, 12:41 PM
Would this fit?
std::pair<int a , std::pair < int b, int c >>
-
February 8th, 2012, 04:15 AM
For some weird reason, process and thread id's are 64bit in the kernel and 32bit in the documented windows api on x64
Process and thread is are 64 bit in kernel and only 32 bit in the...
-
January 30th, 2012, 03:21 PM
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633545%28v=vs.85%29.aspx
And for the second para use HWND_TOPMOST
-
January 27th, 2012, 03:01 PM
why is it not possible to do it in the constructor with 'new'?
-
January 26th, 2012, 02:25 PM
Omg, so stupid. Thanks a lot :)
-
January 26th, 2012, 01:30 PM
Oki, ill post some more code
class WinTraits
{
public:
WinTraits();
//,,,,,,,,,,,,,,,
//,,,,,,,,,,,,,,,
-
January 26th, 2012, 10:34 AM
I never use const infront of it. I use it as the first example and it doesn NOT work. That's what is so weird, or there is a reason I don't know yet.
-
January 26th, 2012, 09:33 AM
Hello,
I'm using std::make_pair, to fill a std::pair. I only get some error and I can't find out why.
std::pair <LONG,LONG> ControlSize;
ControlSize = std::make_pair(rc.right -...
-
January 21st, 2012, 03:30 AM
Sorry, I was not clear about hundred. I will add also functions for loading Icons etcetc. I did take a look at Qt and MFC to. Qt has even more members.
But still, if I want to have a QIcon class....
-
January 20th, 2012, 05:34 PM
For me a few hundered are quite a lot. And in that case I'll have all kind of Icon functions in my WinTraits class, isn't that wierd?
[CODE]
class wintraits..
...
private:
WinIcon* wIcon;...
-
January 15th, 2012, 05:35 PM
Thanks this realy helped me in thinking. Also thanks to other posters of course.
In real life terms you could say: a Windows Icon is part of the Control/Dialog, same for the background and...
-
January 15th, 2012, 05:01 AM
Hello,
I have a question about my win32 class again, but this is not about stuff inside it. More about how I should work with class designs.
I create for instance a Dialog, it will go like...
|
Click Here to Expand Forum to Full Width
|