Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Quick Question About Scancodes and Ascii Codes

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Fri Oct 24, 2008 7:22 am    Post subject: Quick Question About Scancodes and Ascii Codes Reply with quote

Is there an easy way to convert between the two, or am I stuck with a big old switch statement?
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Fri Oct 24, 2008 7:49 am    Post subject: Reply with quote

You do need a big old switch statement, but if you wrap it in a function, at least you only need to write it once.

Actually, heck, if you wrap it in a function, post it on the wiki, and other people will be able to mooch off your hard work benefit from your hard work too!

EDIT: Oh, hey! I forgot about the 'plot:last ascii' command. Does that do what you need?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Camdog




Joined: 08 Aug 2003
Posts: 606

PostPosted: Fri Oct 24, 2008 11:25 am    Post subject: Reply with quote

Close, but not quite. Big old switch statement it is! I'll stick it on the wiki when I'm finished throwing it together.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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