Egoboo Community Forum

The Legend of Egoboo Sporks of Yore
It is currently Fri Aug 22, 2014 3:55 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Sun Jun 26, 2011 11:37 am 
Offline
Squirrel Knight (Administrator)
Squirrel Knight (Administrator)
User avatar

Joined: Wed Jul 23, 2008 1:27 am
Posts: 3787
Location: Norway
Wait for the next release. This problem has been fixed in the repository but the code is not completely stable for a release yet. We are working on it, but progress is slow. :)

_________________
http://egoboo.sourceforge.net
Image

"Always trust a grinning fox. Trust me."


Top
 Profile  
 
PostPosted: Mon Jun 27, 2011 6:10 pm 
Offline
Acid Blob (New member)
Acid Blob (New member)

Joined: Sun Jun 26, 2011 12:37 am
Posts: 2
Ok, I will wait. I'm happy to hear it will be fixed.


Top
 Profile  
 
PostPosted: Fri Mar 02, 2012 8:47 pm 
Offline
Acid Blob (New member)
Acid Blob (New member)

Joined: Fri Mar 02, 2012 8:43 pm
Posts: 1
Casting as integers works.
So instead of a patch, change the two lines 2055 and 2056 from game.c :
Code:
joy_pos.x = ( control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_RIGHT ) - control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_LEFT ) );
joy_pos.y = ( control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_DOWN ) - control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_UP ) );


To this :
Code:
joy_pos.x = ( (int)control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_RIGHT ) - (int)control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_LEFT ) );
joy_pos.y = ( (int)control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_DOWN ) - (int)control_is_pressed( INPUT_DEVICE_KEYBOARD,  CONTROL_UP ) );


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Get Egoboo at SourceForge.net. Fast, secure and Free Open Source software downloads