Commit graph

165 commits

Author SHA1 Message Date
Bill Currie
1af4fe4b79 make (in_)bind's output a little more intuitive and support num lock and
scroll lock in x11.
2001-08-20 02:06:55 +00:00
Bill Currie
cd338f47f2 haha, oops. got x and y translations reversed 2001-08-20 01:09:33 +00:00
Ragnvald Maartmann-Moe IV
1c9918fe48 Commit inexplicably lost lines of code. Stops certain unwanted crashes. 2001-08-17 23:20:08 +00:00
Bill Currie
b61999750b fix shift changing the key name 2001-08-17 19:47:51 +00:00
Ragnvald Maartmann-Moe IV
5536883f71 Convert joy_sensitivity to joy_amp and joy_pre_amp, and support in_amp, in_pre_amp. 2001-08-17 08:35:26 +00:00
Ragnvald Maartmann-Moe IV
36395e1681 Minor comment updates, Imt->IMT in a few function names, and accel->amp for input amplification (once known as sensitivity). 2001-08-17 07:26:01 +00:00
Zephaniah E. Hull
80696badc7 kgt->imt, and imt now displays the current IMT. 2001-08-17 07:06:01 +00:00
Bill Currie
d96f0962ab fix for new input crap 2001-08-17 04:58:10 +00:00
Adam Olsen
f0c200120c yup, more 2001-08-17 03:43:28 +00:00
Ragnvald Maartmann-Moe IV
13f394b161 Damn -Werrors to hell. 2001-08-17 02:18:06 +00:00
Bill Currie
86be79d1c7 forgot to convert unbind's keyname 2001-08-17 01:55:54 +00:00
Bill Currie
bb2079a6d7 make the conversion case insensitive 2001-08-17 01:54:03 +00:00
Adam Olsen
62813111a0 yet more IE stuff 2001-08-16 23:34:49 +00:00
Bill Currie
f840a44981 gcc 3.0 related fixes 2001-08-16 23:24:39 +00:00
Ragnvald Maartmann-Moe IV
4ca1499c51 Whitespace. Don't you wish it would all just go away? 2001-08-16 23:14:46 +00:00
Bill Currie
373792ff69 `fix' for new input system
still broken functionally :/
2001-08-16 22:49:53 +00:00
Adam Olsen
92729ff6b2 More changes to input events 2001-08-16 22:27:22 +00:00
Adam Olsen
916b503f14 Some basic stuff for input events. Not yet used. 2001-08-16 21:08:17 +00:00
Bill Currie
1c12dd804c ok, old configs /should/ work again, though I'm having problems with F10
not quitting (mind you, I'm not connected)
2001-08-16 20:42:57 +00:00
Bill Currie
b0cb351fba bind and unbind wrappers for in_bind and in_unbind. old configs/mods are
still currently broken because I need to translate key names still.
2001-08-16 19:10:35 +00:00
Bill Currie
98b7a9fdd5 part way there :/ I'll leave vid_wgl and vid_mgl alone for now (probably move
that code to in_win.c)
2001-08-16 18:25:17 +00:00
Bill Currie
999c6a3b93 mek eet verk! 2001-08-16 17:52:35 +00:00
Bill Currie
12eff5eb65 x11 seems ok (hard to say: nothing's bound:/)
rename bind and unbind to in_bind and in_unbind
2001-08-16 16:41:40 +00:00
Zephaniah E. Hull
7cf0fd1b3b Fix a few bugs. 2001-08-16 11:43:17 +00:00
Zephaniah E. Hull
20adccc9e4 A few things, first is that I removed the (rather broken) serial
networking support.

Second, I moves keys.c from qw and nq to libs/video/targets when I did
the next thing.

Existing user configs which do binds, sledge hammer. Sledge hammer,
existing user configs which do binds. *WHACK* *WHACK* *WHACK*

See, much nicer now.

Someone should document it, and fix all targets which don't use SDL for
input. (I honestly don't expect svgalib and the like to ever be fixed.)
2001-08-16 09:19:36 +00:00
Ragnvald Maartmann-Moe IV
0c7f011f4b whitespace. 2001-08-16 06:58:55 +00:00
Adam Olsen
4d92467e7c Make SDL support vid_fullscreen toggling too 2001-08-16 03:36:40 +00:00
Zephaniah E. Hull
8f7918d4ad Fix the other keypad keys for SDL input.
Ditch sensitivity as a name, we now have in_mouse_accel,
in_mouse_filter, and in_mouse_pre_accel.
2001-08-15 23:04:54 +00:00
Bill Currie
a22fd5a172 sdl 1.1.5 fixes 2001-08-15 21:29:18 +00:00
Bill Currie
b33b9fc58a remove a redundant call to JOY_Command 2001-08-14 22:10:55 +00:00
Bill Currie
dd16a1c4d5 call the IE init ans shutdown functions. still need to rework the rest of the
intput system to use it.
2001-08-14 00:03:03 +00:00
Ragnvald Maartmann-Moe IV
ca4d4791c9 Fix a severe braino, and get less excessively parenthetical in one spot. 2001-08-10 03:07:34 +00:00
Bill Currie
753928bd39 /me grumbles about some versions of gcc 2001-08-10 02:50:05 +00:00
Bill Currie
a2ef36e7ba get the scaling on v_blend right for the change from 0-255 to 0-1 2001-08-10 02:42:34 +00:00
Ragnvald Maartmann-Moe IV
b868a09661 Kill off gl_view.c and sw_view.c. Renderer merge is more or less complete now. Software and gl renderers now calculate color shifts the same way, and sw looks a bit different now. Powerups don't shift enough in sw right now, IMO. 2001-08-10 00:28:57 +00:00
Bill Currie
ac9dace768 add focus loss/gain events and fix a silly bug in IE_Set_Focus 2001-08-09 23:43:13 +00:00
Bill Currie
bc34529a80 code for the input event system 2001-08-09 23:16:54 +00:00
Bill Currie
06946d6ab4 memset doesn't use bits 8+ 2001-08-08 23:32:09 +00:00
Bill Currie
3047a6a4ba this seems to fix the flickering dlights problem. surface visibility was
calculated too late for light marking.
2001-08-08 22:20:57 +00:00
Ragnvald Maartmann-Moe IV
a4ea8d088a Header sort. 2001-08-07 21:35:54 +00:00
Bill Currie
0cba1b0f62 pre-calculate blended alias frame verteces and don't bother doing any
blended calculations for single pose frames/models
2001-08-07 21:18:49 +00:00
Bill Currie
a81828fe38 port over gl's lighting improvements. only gives ~4.6% improvement on my c600
but that's better than nothing. (34.41 to 36.00)
2001-08-07 17:29:21 +00:00
Bill Currie
c64c31b2e9 white space 2001-08-07 17:27:28 +00:00
Zephaniah E. Hull
6a59ac6c51 The end of in_dga_mouseaccel, the birth of in_pre_sensitivity.
As the ONLY ways that in_dga_mouseaccel differed from sensitivity was
that it worked before m_filter, and that it was DGA only, it had to go.

Now in_pre_sensitivity works with all targets and is applied just before
m_filter.
2001-08-06 05:01:31 +00:00
Bill Currie
9ac148dd69 freaking out by one error :/ I'm suprised previous runs worked at all, but
with this correction I am finally seeing the expected speed boost (12% on my
c450 using my null GL lib).
2001-08-06 04:13:41 +00:00
Zephaniah E. Hull
ebb03c1c65 Fixed the sdl and sgl targets to work a bit better. 2001-08-06 00:16:48 +00:00
Bill Currie
ece21540f7 almost working. just need to figure out why vis info isn't doing the right
thing (I suspect a bug in my deconpression)
2001-08-05 23:17:55 +00:00
Bill Currie
899d8385a9 fix a subtle bug with the lava hall to e3 in start 2001-08-05 06:10:27 +00:00
Bill Currie
dcc6a76313 make SURF_LIGHTBOTHSIDES work and fix a bug in Mod_PointInLeaf that was
preventing grenades from lighting up surfaces when using the vis lighting
2001-08-05 05:59:15 +00:00
Bill Currie
8883bbb369 some lighting fixes. not quite there yet 2001-08-05 05:07:49 +00:00