| View previous topic :: View next topic |
| Author |
Message |
uberjack

Joined: 17 Jul 2007 Posts: 34 Location: California, USA
|
Posted: Fri Nov 07, 2008 7:57 pm Post subject: Adhoc matching, new constants |
|
|
Hello,
I'm trying to establish the relationship between the older adhoc matching constants and the newer ones (my old code will no longer compile). Can anyone please confirm if my guesses are correct?
#define MATCHING_JOINED PSP_ADHOC_MATCHING_EVENT_JOIN
#define MATCHING_DISCONNECT PSP_ADHOC_MATCHING_EVENT_LEFT
#define MATCHING_CANCELED PSP_ADHOC_MATCHING_EVENT_CANCEL
#define MATCHING_SELECTED PSP_ADHOC_MATCHING_EVENT_ACCEPT
#define MATCHING_ESTABLISHED PSP_ADHOC_MATCHING_EVENT_COMPLETE
#define MATCHING_REJECTED PSP_ADHOC_MATCHING_EVENT_REJECT
Thanks |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Sat Nov 08, 2008 1:26 am Post subject: |
|
|
this is what I have
#define MATCHING_JOINED 0x1 // Another PSP has joined
#define MATCHING_SELECTED 0x2 // Another PSP selected to match
#define MATCHING_REJECTED 0x4 // The request has been rejected
#define MATCHING_CANCELED 0x5 // The request has been cancelled
#define MATCHING_ESTABLISHED 0x7 // Both PSP's have agreed to connect, at this point Lumines
// closes the connection and creates a new one with just the
// two PSP's in it.
#define MATCHING_DISCONNECT 0xa // A PSP has quit, this does not include when the PSP crashes
works perfectly here _________________
Upgrade your PSP |
|
| Back to top |
|
 |
uberjack

Joined: 17 Jul 2007 Posts: 34 Location: California, USA
|
Posted: Sat Nov 08, 2008 2:09 pm Post subject: |
|
|
| That's exactly what I needed, thank you |
|
| Back to top |
|
 |
|