The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 17, 2019, 10:54:33 pm
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Key mappings?
« previous next »
Pages: [1] Print
Author Topic: Key mappings?  (Read 3222 times)
Decker
Guest


Email
Key mappings?
« on: November 08, 2002, 02:37:36 pm »

Can anyone tell me how you set up the key mappings? Thanks. UQM looks fantastic so far. I'm very impressed.

LOL! I was looking through the source and saw this...

SET_GAME_STATE (PLAYER_HAVING_SEX, 0);

...

if (!PHRASE_ENABLED (what_happens_if_i_touch_this)
   && !PHRASE_ENABLED (are_you_sure_this_is_ok)
   && !PHRASE_ENABLED (boy_they_never_taught))
 Response (not_much_more_to_say, FriendlyExit);
else
{
 if (PHRASE_ENABLED (what_happens_if_i_touch_this))
   Response (what_happens_if_i_touch_this, Sex);
 if (PHRASE_ENABLED (are_you_sure_this_is_ok))
   Response (are_you_sure_this_is_ok, Sex);
 if (PHRASE_ENABLED (boy_they_never_taught))
   Response (boy_they_never_taught, Sex);
}

This game kicks sooo much ass, even the source code cracks me up!

-Capt. Decker
Logged
Mika
Core Team
*Many bubbles*
*****
Offline Offline

Gender: Male
Posts: 121



View Profile WWW
Re: Key mappings?
« Reply #1 on: November 09, 2002, 07:33:42 am »

We haven't implemented keyboard configuration yet, but if you know C enough for playing around it yourself, look at src/sc2code/libs/input/sdl/input.c. Though that file is more or less messy and needs to be partly rewritten at some point.
« Last Edit: November 09, 2002, 07:35:58 am by admin » Logged
Floris
Guest


Email
Re: Key mappings?
« Reply #2 on: December 06, 2002, 05:36:13 am »

Actually, I changed the mapping in setup.c, not libs/sdl/input.c

See my post in another thread on this ..
Logged
Zeroarmy
Frungy champion
**
Offline Offline

Posts: 96


I love YaBB 1G - SP1!


View Profile
Re: Key mappings?
« Reply #3 on: December 06, 2002, 06:46:14 am »

heh. Yeah that's what the Syreen commander says. It's even funnier with the voice and pictures.  Grin
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!