Commit Graph
11827 Commits
Author SHA1 Message Date
Glenn Maynard f482a4fbaf remove unneeded custom type 2004-09-10 21:51:11 +00:00
Glenn Maynard 30ff50f48a missing header 2004-09-10 21:17:07 +00:00
Glenn Maynard 846c8d7e34 fix warnings? 2004-09-10 08:43:40 +00:00
Glenn Maynard 284e33edd7 Intel 82845G -> OpenGL 2004-09-10 08:26:01 +00:00
Glenn Maynard 60e1cc4ada fix warnings 2004-09-10 08:19:48 +00:00
Ryan Dortmans 50f73c902c Removed redundant variable initialisation. 2004-09-10 06:56:14 +00:00
Glenn Maynard 9fcb3c6bfc fix sample not starting when selecting fast 2004-09-10 03:37:33 +00:00
Glenn Maynard 07f328e240 for real 2004-09-10 03:09:05 +00:00
Glenn Maynard cca6dcbad1 last_cursor_pos -> write_cursor_pos 2004-09-10 02:57:47 +00:00
Charles Lohr 2324859389 Fix: Include RageUtil.h. It is necessiary for ARRAYSIZE. 2004-09-10 02:12:40 +00:00
Glenn Maynard 0e9a8755c6 ignore unreasonable prefetches 2004-09-10 02:11:24 +00:00
Glenn Maynard ecc5493c88 don't bother checking for minor underruns if we have a major underrun 2004-09-10 01:49:39 +00:00
Glenn Maynard 7c60eeb61b error check
fix spurious underrun warnings
2004-09-10 01:07:19 +00:00
Glenn Maynard dc0542aafa fix debug output 2004-09-10 00:08:17 +00:00
Glenn Maynard 8f4f0e5c13 implement analog input centering 2004-09-09 23:53:15 +00:00
Renaud Lepage 776c1609e3 Put back Xbox centering options - needed to resize the screen manually 2004-09-09 23:10:34 +00:00
Renaud Lepage 72e0a4d11c Second Minor update : got rid of test files. Also, upgraded to VS .net 2003 2004-09-09 23:00:02 +00:00
Renaud Lepage 8f63e149d2 Fix : Xbox code - typing error. 2004-09-09 22:57:13 +00:00
Renaud Lepage c5a4a2cd61 Minor updates (debug feature furtherly disabled in the Retail build instructions) 2004-09-09 22:48:13 +00:00
Charles Lohr 50d6615193 Fix: " and ' from modified stepmania code. 2004-09-09 22:42:54 +00:00
Glenn Maynard e95bcc42f2 remove old xbox centering stuff 2004-09-09 22:23:30 +00:00
Glenn Maynard 649b3df153 handle IET_LEVEL_CHANGED 2004-09-09 22:21:50 +00:00
Glenn Maynard 4e5077ef84 cleanup, handle IET_LEVEL_CHANGED 2004-09-09 22:14:33 +00:00
Glenn Maynard b0c6686574 cleanup 2004-09-09 22:13:10 +00:00
Glenn Maynard b6aace4a89 handle analog sticks; remove xbox resizing stuff that doesn't belong in input drivers 2004-09-09 22:12:10 +00:00
Glenn Maynard a643146a54 Okay, the SDL input driver changing display preferences finally got to
me, so I'm cleaning it up.

Add "level" parameter to DeviceInput, indicating the degree the axis
or button is depressed.  If it's < 0, it's not an analog input; otherwise,
IET_LEVEL_CHANGED events will come in when the level changes.

Add secondary stick axis inputs, so there's a correct place to put them.

Handle these inputs in ScreenCenterImage.  Inputs mapped to gameplay
inputs are always a primary input; otherwise, the first stick is translate
and the secondary is scale.  Input is analog when possible; holding shift
reverses the map, so keyboard input works roughly the same as before.

Do away with the special Xbox-specific centering code; use the standard
centering matrix.  If this doesn't work, any special cases to fix it should be
hidden away in RageDisplay_D3D.

The input maps are likely to work on the Xbox as is, since the SDL driver
maps axes in order, but I can't test it.

This won't work with PS2 converters, since #1: those things map the
secondary axis to seemingly random places (on mine, JOY_Z_UP,
JOY_Z_DOWN, JOY_ROT_Z_UP, JOY_ROT_Z_DOWN), and #2: they
don't identify themselves uniquely.  Unless there's a pattern in how they're
mapping that I can't see (since I don't have many converters), this just
can't be done reliably.  (No big deal; PCs have keyboards.)
2004-09-09 22:10:21 +00:00
Renaud Lepage 5355a5934b Simplified the Xbox exit code : now it only reboots to the default dashboard of the current BIOS. 2004-09-09 21:50:09 +00:00
Glenn Maynard 84baa7fb22 support centering matrix in d3d 2004-09-09 20:25:21 +00:00
Renaud Lepage dd9f317d52 Code cleanup : Xbox does not need LoadingScreen_Null. 2004-09-09 18:40:10 +00:00
Renaud Lepage 8eb5814421 Code cleanup : bad button names were used in the Xbox section. 2004-09-09 18:39:17 +00:00
Glenn Maynard a3e10dee2b no, really, remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:34:28 +00:00
Glenn Maynard 6c28f869b1 remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:33:09 +00:00
Glenn Maynard 771ebbe17b remove ugly "JoytechInput" stuff that was never actually implemented 2004-09-09 18:31:53 +00:00
Glenn Maynard aee0166436 remove COMPAT_KEYSYMS 2004-09-09 17:58:52 +00:00
Glenn Maynard 399533708e fix Windows compile 2004-09-09 17:57:45 +00:00
Glenn Maynard ce4656bc51 update 2004-09-09 17:48:26 +00:00
Glenn Maynard 09d9197e29 update 2004-09-09 17:48:25 +00:00
Glenn Maynard 120c09a9fb update 2004-09-09 17:34:57 +00:00
Ryan Dortmans f7fe3d007f Xbox: screen can only be resized when in the screen center screen. 2004-09-09 16:15:41 +00:00
Ryan Dortmans 1430f26179 Added Xbox implementation 2004-09-09 16:14:21 +00:00
Ryan Dortmans bad5992937 Better Xbox implementation. 2004-09-09 16:12:00 +00:00
Steve Checkoway 44174a8fa7 Unused function. 2004-09-09 08:51:07 +00:00
Ryan Dortmans cd579141b5 Made controller mapping possible in Xbox 2004-09-09 08:50:16 +00:00
Charles Lohr 2dac0c1523 Fix: Crash when playing w/o marvelouses. And show AAA players in rainbow. 2004-09-09 05:32:00 +00:00
Glenn Maynard dff8a88542 update 2004-09-09 04:28:48 +00:00
Glenn Maynard ba5b881acf quiet warning 2004-09-09 04:20:21 +00:00
Glenn Maynard 8989cc096d log TLS 2004-09-09 03:27:56 +00:00
Glenn Maynard 685c83543a cache tid in tls 2004-09-09 03:23:16 +00:00
Glenn Maynard b88146f3e6 tls check 2004-09-09 03:22:24 +00:00
Glenn Maynard 65b0be2513 cleanup 2004-09-09 03:09:39 +00:00