Ben Anderson
167e5aebc0
Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.)
2005-03-15 00:30:26 +00:00
Ben Anderson
0db665d4d6
Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory.
2005-03-14 06:44:38 +00:00
Glenn Maynard
547c086ac8
cleanup
2004-11-30 09:03:46 +00:00
Chris Danford
722941a646
add monkey scripting input driver for longevity testing
2004-10-16 15:04:10 +00:00
Glenn Maynard
33a04b79de
beginning GPL->X11 license transition
...
The conventions I'm using are to put the entire copyright notice at the bottom
of each file, and to put the summary of the source file's use at the top of the
header.
Putting the license text in each file avoids confusion, and is normal practice
for many projects. Putting it at the bottom gets it out of the way; it's a
ton of clutter to put at the top.
The description is in the header. People who don't know what a class is for,
or how to use it, are probably looking at the header to see the interface,
not the implementation, so let's put the description in there. Keep it brief
(one line); any substantial implementation notes should go in the source file.
2004-05-06 00:42:06 +00:00
Chris Danford
278cb4c3f1
runs on Xbox
2003-07-22 07:47:27 +00:00
Glenn Maynard
480fa64436
clean up dependencies
2003-06-29 07:02:03 +00:00
Glenn Maynard
81fbead16b
split this up
...
Fix losing keyboard input when changing graphics settings (this happened
with the old code, too).
2003-06-18 05:43:12 +00:00
Chris Danford
4d182f85a4
add automatic mapping of joysticks
2003-05-28 02:35:05 +00:00
Glenn Maynard
98628c554b
(this is all handled in InputHandler_SDL)
2003-04-12 02:21:50 +00:00
Glenn Maynard
0c400d3567
fix constants
...
(I don't have a joystick with hats to actually test this, though.)
2003-03-07 04:08:40 +00:00
Glenn Maynard
ba744f1eae
error handling
2003-02-23 06:26:33 +00:00
Glenn Maynard
657b16cce2
ugh, joystick fix
2003-02-16 20:15:33 +00:00
Glenn Maynard
42cfd6f98c
stdafx -> global
2003-02-16 04:01:45 +00:00
Glenn Maynard
bc833631e2
add InputHandler abstraction
2003-02-16 02:25:22 +00:00
Glenn Maynard
7578257a17
Use SDL events for keyboard and joystick input. It's simpler.
...
It's also the "preferred" way of doing it, according to the SDL
docs, so maybe it'll work better.
This will reliably queue events, so we can handle coin events during
loads.
It'll queue events a little too reliably; we might want to flush some events
when we load screens.
2003-02-16 01:35:48 +00:00
Glenn Maynard
93632078c5
split InputDevice into a separate file (so RageInput.h can be edited
...
without recompiling everything)
2003-02-15 18:49:18 +00:00
Glenn Maynard
72b67368b5
simplify: all devices have the maximum number of buttons, access
...
them in the same way
2003-02-15 18:28:39 +00:00
Glenn Maynard
8447976237
simplify
2003-02-15 06:44:53 +00:00
Glenn Maynard
a39bf03926
hide pump_t inside RageINput
2003-02-15 06:00:33 +00:00
Glenn Maynard
788d3dd2ff
fix hats
2003-02-14 04:18:52 +00:00
Chris Danford
3ddadbe82f
New ScreenEditMenu
2003-01-30 07:18:33 +00:00
Glenn Maynard
8e49b34d30
extra newline
2003-01-24 02:16:43 +00:00
Glenn Maynard
877e488663
use info
2003-01-24 01:34:42 +00:00
Glenn Maynard
ca54debc48
add comment
2003-01-17 20:19:34 +00:00
Chris Danford
3ff91dffb0
NEW FEATURE: AutoSync status now shown during gameplay with icon
...
NEW FEATURE: added autogen icon to select music
NEW FEATURE: toggle for easter eggs in Machine Options
NEW FEATURE: marvelous step timing togglable in Machine Options
NEW FEATURE: Grade AAAA (all marvelous)
CHANGE: Only show ScreenHowToPlay if at least one player chose easy
2003-01-11 08:55:21 +00:00
Chris Danford
d5bb8a3ada
Fixed silly joystick axis bug.
2003-01-09 07:51:49 +00:00
Chris Danford
22bb938dd2
Fixed silly joystick axis bug.
2003-01-09 07:46:45 +00:00
Glenn Maynard
6a9aa77b58
fix ToChar
2003-01-06 01:13:37 +00:00
Glenn Maynard
dbc2872fd0
cleanup
2002-12-21 08:46:17 +00:00
Glenn Maynard
e0e0c8623e
remove now-unnecessary share hack from Pump code
2002-11-29 22:06:51 +00:00
Glenn Maynard
264027fea3
Old Pump hack not needed; this crash doesn't happen with the
...
old DI interface the SDL uses.
2002-11-29 21:57:47 +00:00
Chris Danford
4a588230e1
DirectInput replaced with SDL's input routines. Keyboard works, but joystick and pump are untested.
2002-11-29 20:37:12 +00:00
Chris Danford
628dea9da7
OpenGL checkin. Movie textures, texture stretch, texture dither, and 16 bit textures are broken.
2002-11-11 04:53:31 +00:00
Glenn Maynard
7e9905995d
some more s/GetSize/size/ and other minor STLisms
2002-10-31 03:16:02 +00:00
Glenn Maynard
cc0735ecd7
quiet warning in ddk header
2002-10-11 17:52:02 +00:00
Chris Danford
8871b4346a
Checked in DDK files - DDK no longer needed
2002-10-06 19:13:08 +00:00
Jared Roberts
dba6d11a07
fix "u" and "o" swappage in RageInput
2002-09-16 22:20:28 +00:00
Glenn Maynard
36034dd5e1
GAAAH.
...
undo commit caused by annoying windows CVS client.
2002-09-15 03:13:21 +00:00
Glenn Maynard
ba7efdb319
fix DWIPath loading for songs that have a normal layout;
...
some DWI's have relative paths that don't begin with ".\
Song.cpp
2002-09-15 02:58:33 +00:00
Chris Danford
66aa27df02
Spig's NoteSkin cleanup
2002-09-10 01:43:37 +00:00
Chris Danford
0422a8558f
fix stupid compile error
2002-09-09 05:50:32 +00:00
Glenn Maynard
68b41e7a75
button implementation, etc.
2002-09-08 06:13:47 +00:00
Glenn Maynard
a0a27e7de3
remove some dupe code; show less dinput in the class;
...
add constants for Z/ZROT/HAT (unimplemented)
2002-09-08 02:49:07 +00:00
Chris Danford
1c90b8236f
added MAX-style options navigation and moved more constants into theme metrics
2002-09-04 03:49:08 +00:00
Chris Danford
7922f5bbc7
Updated AnnoucerManager::GetPathTo to act like ThemeManager. More theme and Ez2 cleanup.
2002-08-27 23:31:41 +00:00
Glenn Maynard
4b9404c5c2
(more of the same)
2002-08-26 05:04:54 +00:00
Glenn Maynard
e22fdeefcd
Make the callbacks static members, so they can access private members.
...
Make m_pJoystick and GetDirectInput private.
Don't bail out on Update if the joystick fails, since we still have more
devices. Just log--handle error conditions on our own.
Reduce Windows types in the interface; eventually it'll need to be
clean.
Remove unused Get*Device functions.
2002-08-26 05:01:25 +00:00
Glenn Maynard
8658b101cc
Don't export PumpButtonNames; compact the header a bit.
2002-08-26 04:46:16 +00:00
Glenn Maynard
9ef1b27c4a
Lock the Pump pad device while enumerating DI8 devices, to work around
...
a DI8 bug.
2002-08-24 02:26:39 +00:00