About Store Forum Documentation Contact



Post Reply 
Ms.pos.set(0,0) Where'd it go?
Author Message
Dandruff Offline
Member

Post: #1
Ms.pos.set(0,0) Where'd it go?
I can't seem to find this function from updating the sdk today. Is it removed? I would like to set the cursor in the middle of the screen. Is there another way to do this?
(This post was last modified: 01-21-2011 05:33 AM by Dandruff.)
01-21-2011 05:32 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #2
RE: Ms.pos.set(0,0) Where'd it go?
Code:
Ms.pos().set(0, 0);

It was renamed (first line in post): http://www.esenthel.com/community/showth...1#pid19961
01-21-2011 07:52 AM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #3
RE: Ms.pos.set(0,0) Where'd it go?
Wow, intellisence screwed up, deleted the ncb and now i see it. Thanks.
01-21-2011 08:31 AM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #4
RE: Ms.pos.set(0,0) Where'd it go?
Okay, i have an error:

'EE::Vec2::set' : 2 overloads have no legal conversion for 'this' pointer

Function declaration-I didn't change anything
Code:
Vec2& set (Flt x, Flt y) {T.x=x; T.y=y; return T;}

Function call
Code:
Ms.pos().set(0,0);
(This post was last modified: 01-23-2011 04:23 AM by Dandruff.)
01-23-2011 04:22 AM
Find all posts by this user Quote this message in a reply
Driklyn Offline
Member

Post: #5
RE: Ms.pos.set(0,0) Where'd it go?
I remembered someone posting about this a few weeks ago, so I did a search and found this post. It has your answer.
(This post was last modified: 01-23-2011 05:14 AM by Driklyn.)
01-23-2011 05:13 AM
Find all posts by this user Quote this message in a reply
Dandruff Offline
Member

Post: #6
RE: Ms.pos.set(0,0) Where'd it go?
Thanks again
01-23-2011 05:23 AM
Find all posts by this user Quote this message in a reply
Post Reply