forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Adhoc matching, new constants

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
uberjack



Joined: 17 Jul 2007
Posts: 34
Location: California, USA

PostPosted: Fri Nov 07, 2008 7:57 pm    Post subject: Adhoc matching, new constants Reply with quote

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
View user's profile Send private message Visit poster's website
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Sat Nov 08, 2008 1:26 am    Post subject: Reply with quote

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
View user's profile Send private message
uberjack



Joined: 17 Jul 2007
Posts: 34
Location: California, USA

PostPosted: Sat Nov 08, 2008 2:09 pm    Post subject: Reply with quote

That's exactly what I needed, thank you
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group