Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 05 Feb 2005
Offline Last Active Oct 02 2013 09:07 AM

Posts I've Made

In Topic: Cant pass a multidimensional array of objects into a function

13 August 2013 - 11:26 AM

Its probably not "best practices", but when I am doing projects like this I don't actually keep everything self contained I keep a big master class with all of my data members and just pass a reference to my functions that need to access any of my games data.

In Topic: Pressing F10 pause main loop?

13 June 2013 - 02:45 PM

That was my reply, yes it should be while!

In Topic: Pressing F10 pause main loop?

13 June 2013 - 02:26 PM

Its going to deal with your message pump, you need to do a message peek instead of waiting for a message, any chance you could post your current windows message pump?


edit here is a decent message pump:

        //look for a message
            //check that we arent quitting
            if(msg.message==WM_QUIT) break;
            //translate message
            //dispatch message
        Program_Running();  //This is where you want to do all of your applications logic.

In Topic: Simple MORPG project planning

11 April 2013 - 09:26 AM

2 small things:


All NPC dialog should be stored fully within the client and referenced with an ID or something along those lines.

Unless you are planning on having constantly changing server controlled NPC dialog, even then you could just update the client with a server message containing the replaced dialog.


Figure out your packet structures etc before hand, having seperate teams working on client and server can be a huge nightmare if you are not working on the same concrete information.

In Topic: Can Directx do 2D graphics?

27 February 2013 - 02:25 PM

I agree with Khaiy if your goal is to learn SDL start with SDL =)

The raw directx api can be a bit hairy for someone learning.